File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 11"""Provide abstraction for a AnyVLM-to-AnyVar connection."""
22
33import abc
4- from collections .abc import Iterable
4+ from collections .abc import Iterable , Sequence
55
66from anyvar .utils .liftover_utils import ReferenceAssembly
77from anyvar .utils .types import VrsVariation
@@ -26,7 +26,7 @@ def put_allele_expressions(
2626 self ,
2727 expressions : Iterable [str ],
2828 assembly : ReferenceAssembly = ReferenceAssembly .GRCH38 ,
29- ) -> list [str | None ]:
29+ ) -> Sequence [str | None ]:
3030 """Submit allele expressions to an AnyVar instance and retrieve corresponding VRS IDs
3131
3232 :param expressions: variation expressions to register
Original file line number Diff line number Diff line change 11"""Provide abstraction for a VLM-to-AnyVar connection."""
22
33import logging
4- from collections .abc import Iterable
4+ from collections .abc import Iterable , Sequence
55from http import HTTPStatus
66
77import requests
@@ -37,7 +37,7 @@ def put_allele_expressions(
3737 self ,
3838 expressions : Iterable [str ],
3939 assembly : ReferenceAssembly = ReferenceAssembly .GRCH38 ,
40- ) -> list [str | None ]:
40+ ) -> Sequence [str | None ]:
4141 """Submit allele expressions to an AnyVar instance and retrieve corresponding VRS IDs
4242
4343 :param expressions: variation expressions to register
Original file line number Diff line number Diff line change 11"""Implement AnyVar client interface for direct Python-based access."""
22
33import logging
4- from collections .abc import Iterable
4+ from collections .abc import Iterable , Sequence
55
66from anyvar import AnyVar
77from anyvar .storage .base_storage import Storage
@@ -30,7 +30,7 @@ def put_allele_expressions(
3030 self ,
3131 expressions : Iterable [str ],
3232 assembly : ReferenceAssembly = ReferenceAssembly .GRCH38 ,
33- ) -> list [str | None ]:
33+ ) -> Sequence [str | None ]:
3434 """Submit allele expressions to an AnyVar instance and retrieve corresponding VRS IDs
3535
3636 :param expressions: variation expressions to register
You can’t perform that action at this time.
0 commit comments