fountain-life-service-clients 3.34.2__tar.gz → 3.35.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {fountain_life_service_clients-3.34.2 → fountain_life_service_clients-3.35.0}/PKG-INFO +1 -1
- fountain_life_service_clients-3.35.0/fountain_life_service_clients/ga4gh_service.py +34 -0
- {fountain_life_service_clients-3.34.2 → fountain_life_service_clients-3.35.0}/fountain_life_service_clients/genomics_service.py +0 -21
- {fountain_life_service_clients-3.34.2 → fountain_life_service_clients-3.35.0}/pyproject.toml +1 -1
- {fountain_life_service_clients-3.34.2 → fountain_life_service_clients-3.35.0}/README.md +0 -0
- {fountain_life_service_clients-3.34.2 → fountain_life_service_clients-3.35.0}/fountain_life_service_clients/__init__.py +0 -0
- {fountain_life_service_clients-3.34.2 → fountain_life_service_clients-3.35.0}/fountain_life_service_clients/_base_client.py +0 -0
- {fountain_life_service_clients-3.34.2 → fountain_life_service_clients-3.35.0}/fountain_life_service_clients/account_service.py +0 -0
- {fountain_life_service_clients-3.34.2 → fountain_life_service_clients-3.35.0}/fountain_life_service_clients/account_service_policy_attributes.py +0 -0
- {fountain_life_service_clients-3.34.2 → fountain_life_service_clients-3.35.0}/fountain_life_service_clients/agents_api_service.py +0 -0
- {fountain_life_service_clients-3.34.2 → fountain_life_service_clients-3.35.0}/fountain_life_service_clients/ai_template_service.py +0 -0
- {fountain_life_service_clients-3.34.2 → fountain_life_service_clients-3.35.0}/fountain_life_service_clients/claimed_domains_service.py +0 -0
- {fountain_life_service_clients-3.34.2 → fountain_life_service_clients-3.35.0}/fountain_life_service_clients/cohorts_service.py +0 -0
- {fountain_life_service_clients-3.34.2 → fountain_life_service_clients-3.35.0}/fountain_life_service_clients/ehr_ingestion_wearables_api.py +0 -0
- {fountain_life_service_clients-3.34.2 → fountain_life_service_clients-3.35.0}/fountain_life_service_clients/ehr_service.py +0 -0
- {fountain_life_service_clients-3.34.2 → fountain_life_service_clients-3.35.0}/fountain_life_service_clients/email_service_email.py +0 -0
- {fountain_life_service_clients-3.34.2 → fountain_life_service_clients-3.35.0}/fountain_life_service_clients/email_service_sms.py +0 -0
- {fountain_life_service_clients-3.34.2 → fountain_life_service_clients-3.35.0}/fountain_life_service_clients/fhir_post_processor_service.py +0 -0
- {fountain_life_service_clients-3.34.2 → fountain_life_service_clients-3.35.0}/fountain_life_service_clients/fhir_search_service.py +0 -0
- {fountain_life_service_clients-3.34.2 → fountain_life_service_clients-3.35.0}/fountain_life_service_clients/file_service.py +0 -0
- {fountain_life_service_clients-3.34.2 → fountain_life_service_clients-3.35.0}/fountain_life_service_clients/invitation_service.py +0 -0
- {fountain_life_service_clients-3.34.2 → fountain_life_service_clients-3.35.0}/fountain_life_service_clients/medical_results_service_results.py +0 -0
- {fountain_life_service_clients-3.34.2 → fountain_life_service_clients-3.35.0}/fountain_life_service_clients/member_notification_service.py +0 -0
- {fountain_life_service_clients-3.34.2 → fountain_life_service_clients-3.35.0}/fountain_life_service_clients/member_operations_service_members.py +0 -0
- {fountain_life_service_clients-3.34.2 → fountain_life_service_clients-3.35.0}/fountain_life_service_clients/member_scheduling_service_scheduling_prompts.py +0 -0
- {fountain_life_service_clients-3.34.2 → fountain_life_service_clients-3.35.0}/fountain_life_service_clients/oauth_apps_service.py +0 -0
- {fountain_life_service_clients-3.34.2 → fountain_life_service_clients-3.35.0}/fountain_life_service_clients/patient_service.py +0 -0
- {fountain_life_service_clients-3.34.2 → fountain_life_service_clients-3.35.0}/fountain_life_service_clients/rules_service.py +0 -0
- {fountain_life_service_clients-3.34.2 → fountain_life_service_clients-3.35.0}/fountain_life_service_clients/scheduler_service.py +0 -0
- {fountain_life_service_clients-3.34.2 → fountain_life_service_clients-3.35.0}/fountain_life_service_clients/survey_service.py +0 -0
- {fountain_life_service_clients-3.34.2 → fountain_life_service_clients-3.35.0}/fountain_life_service_clients/user_service.py +0 -0
@@ -0,0 +1,34 @@
|
|
1
|
+
# This file was generated automatically. Do not edit it directly.
|
2
|
+
from typing import List, NotRequired, TypedDict, Unpack, cast
|
3
|
+
from urllib.parse import quote
|
4
|
+
|
5
|
+
from fountain_life_service_clients._base_client import (
|
6
|
+
AlphaConfig,
|
7
|
+
AlphaResponse,
|
8
|
+
BaseClient,
|
9
|
+
)
|
10
|
+
|
11
|
+
|
12
|
+
class Sample(TypedDict):
|
13
|
+
sampleId: str
|
14
|
+
patientId: NotRequired[str]
|
15
|
+
|
16
|
+
|
17
|
+
class GetVariantSetResponse(TypedDict):
|
18
|
+
id: str
|
19
|
+
datasetId: str
|
20
|
+
patientId: NotRequired[str]
|
21
|
+
samples: NotRequired[List[Sample]]
|
22
|
+
|
23
|
+
|
24
|
+
class Ga4ghServiceClient(BaseClient):
|
25
|
+
def __init__(self, **cfg: Unpack[AlphaConfig]):
|
26
|
+
kwargs = {"target": "lambda://ga4gh-service:deployed", **(cfg or {})}
|
27
|
+
super().__init__(**kwargs)
|
28
|
+
|
29
|
+
async def get_variant_set(self, account: str, id: str):
|
30
|
+
"""Get a variant set by id"""
|
31
|
+
res = await self.client.request(
|
32
|
+
path=f"/{quote(account)}/v1/variantsets/{quote(id)}", method="GET"
|
33
|
+
)
|
34
|
+
return cast(AlphaResponse[GetVariantSetResponse], res)
|
@@ -9,7 +9,6 @@ from typing import (
|
|
9
9
|
Unpack,
|
10
10
|
cast,
|
11
11
|
)
|
12
|
-
from urllib.parse import quote
|
13
12
|
|
14
13
|
from fountain_life_service_clients._base_client import (
|
15
14
|
AlphaConfig,
|
@@ -17,19 +16,6 @@ from fountain_life_service_clients._base_client import (
|
|
17
16
|
BaseClient,
|
18
17
|
)
|
19
18
|
|
20
|
-
|
21
|
-
class Sample(TypedDict):
|
22
|
-
sampleId: str
|
23
|
-
patientId: NotRequired[str]
|
24
|
-
|
25
|
-
|
26
|
-
class GetVariantSetResponse(TypedDict):
|
27
|
-
id: str
|
28
|
-
datasetId: str
|
29
|
-
patientId: NotRequired[str]
|
30
|
-
samples: NotRequired[List[Sample]]
|
31
|
-
|
32
|
-
|
33
19
|
SearchVariantsRequest = TypedDict(
|
34
20
|
"SearchVariantsRequest",
|
35
21
|
{
|
@@ -212,13 +198,6 @@ class GenomicsServiceClient(BaseClient):
|
|
212
198
|
kwargs = {"target": "lambda://genomics-service:deployed", **(cfg or {})}
|
213
199
|
super().__init__(**kwargs)
|
214
200
|
|
215
|
-
async def get_variant_set(self, id: str):
|
216
|
-
"""Get a variant set by id"""
|
217
|
-
res = await self.client.request(
|
218
|
-
path=f"/v1/genomics/variantsets/{quote(id)}", method="GET"
|
219
|
-
)
|
220
|
-
return cast(AlphaResponse[GetVariantSetResponse], res)
|
221
|
-
|
222
201
|
async def search_variants(self, body: SearchVariantsRequest):
|
223
202
|
"""Search for variants"""
|
224
203
|
res = await self.client.request(
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|