-
Notifications
You must be signed in to change notification settings - Fork 6
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
Enable batched insert #50
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small docstring stuff
src/anyvar/extras/vcf.py
Outdated
:param Optional[str] vcf_out: The path for the output VCF file | ||
:param Optional[str] vrs_pickle_out: The path for the output VCF pickle file | ||
:param str assembly: The assembly used in `vcf_in` data |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I should make an issue in vrs-python for the paths to have type Path and not str
:param Optional[str] vcf_out: The path for the output VCF file | |
:param Optional[str] vrs_pickle_out: The path for the output VCF pickle file | |
:param str assembly: The assembly used in `vcf_in` data | |
:param vcf_out: The path for the output VCF file | |
:param vrs_pickle_out: The path for the output VCF pickle file | |
:param assembly: The assembly used in `vcf_in` data |
src/anyvar/storage/postgres.py
Outdated
:name: value for `vrs_id` field | ||
:value: value for `vrs_object` field |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
:name: value for `vrs_id` field | |
:value: value for `vrs_object` field | |
:param name: value for `vrs_id` field | |
:param value: value for `vrs_object` field |
def __init__(self, storage: PostgresObjectStore): | ||
"""Initialize context manager. | ||
|
||
:param storage: Postgres instance to manage. Should be taken from the active |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
:param storage: Postgres instance to manage. Should be taken from the active | |
:param storage: Postgres instance to manage. Should be taken from the active | |
:raises ValueError: If `storage` is not a `PostgresObjectStore` instance |
Close #37
Progress on #47