Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: use Pydantic to define CAF class #96

Draft
wants to merge 2 commits into
base: development
Choose a base branch
from

Conversation

jsstevenson
Copy link
Contributor

Originally, this PR was going to use the initial ga4gh.va_spec package that Kori just pushed a 0.1.0 release for -- but it sounds like we want to hold off on that, because it includes changes to the models not yet implemented in other sources like gnomAD. However, I think it'd still be wise to port the CAF object from a dict to a Pydantic class for the sake of less API chafe when we do make the move in the future (and so that my initial work on this doesn't totally go to waste).

Unfortunately, we still haven't gotten access to the new data on AnVIL used in the tests, so I haven't run them locally, but I... think they should pass? Can keep this in draft until then, though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant