fountain-life-service-clients 3.32.0__tar.gz → 3.34.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.32.0 → fountain_life_service_clients-3.34.0}/PKG-INFO +1 -1
- {fountain_life_service_clients-3.32.0 → fountain_life_service_clients-3.34.0}/fountain_life_service_clients/genomics_service.py +21 -0
- {fountain_life_service_clients-3.32.0 → fountain_life_service_clients-3.34.0}/pyproject.toml +1 -1
- {fountain_life_service_clients-3.32.0 → fountain_life_service_clients-3.34.0}/README.md +0 -0
- {fountain_life_service_clients-3.32.0 → fountain_life_service_clients-3.34.0}/fountain_life_service_clients/__init__.py +0 -0
- {fountain_life_service_clients-3.32.0 → fountain_life_service_clients-3.34.0}/fountain_life_service_clients/_base_client.py +0 -0
- {fountain_life_service_clients-3.32.0 → fountain_life_service_clients-3.34.0}/fountain_life_service_clients/account_service.py +0 -0
- {fountain_life_service_clients-3.32.0 → fountain_life_service_clients-3.34.0}/fountain_life_service_clients/account_service_policy_attributes.py +0 -0
- {fountain_life_service_clients-3.32.0 → fountain_life_service_clients-3.34.0}/fountain_life_service_clients/agents_api_service.py +0 -0
- {fountain_life_service_clients-3.32.0 → fountain_life_service_clients-3.34.0}/fountain_life_service_clients/ai_template_service.py +0 -0
- {fountain_life_service_clients-3.32.0 → fountain_life_service_clients-3.34.0}/fountain_life_service_clients/claimed_domains_service.py +0 -0
- {fountain_life_service_clients-3.32.0 → fountain_life_service_clients-3.34.0}/fountain_life_service_clients/cohorts_service.py +0 -0
- {fountain_life_service_clients-3.32.0 → fountain_life_service_clients-3.34.0}/fountain_life_service_clients/ehr_ingestion_wearables_api.py +0 -0
- {fountain_life_service_clients-3.32.0 → fountain_life_service_clients-3.34.0}/fountain_life_service_clients/ehr_service.py +0 -0
- {fountain_life_service_clients-3.32.0 → fountain_life_service_clients-3.34.0}/fountain_life_service_clients/email_service_email.py +0 -0
- {fountain_life_service_clients-3.32.0 → fountain_life_service_clients-3.34.0}/fountain_life_service_clients/email_service_sms.py +0 -0
- {fountain_life_service_clients-3.32.0 → fountain_life_service_clients-3.34.0}/fountain_life_service_clients/fhir_post_processor_service.py +0 -0
- {fountain_life_service_clients-3.32.0 → fountain_life_service_clients-3.34.0}/fountain_life_service_clients/fhir_search_service.py +0 -0
- {fountain_life_service_clients-3.32.0 → fountain_life_service_clients-3.34.0}/fountain_life_service_clients/file_service.py +0 -0
- {fountain_life_service_clients-3.32.0 → fountain_life_service_clients-3.34.0}/fountain_life_service_clients/invitation_service.py +0 -0
- {fountain_life_service_clients-3.32.0 → fountain_life_service_clients-3.34.0}/fountain_life_service_clients/medical_results_service_results.py +0 -0
- {fountain_life_service_clients-3.32.0 → fountain_life_service_clients-3.34.0}/fountain_life_service_clients/member_notification_service.py +0 -0
- {fountain_life_service_clients-3.32.0 → fountain_life_service_clients-3.34.0}/fountain_life_service_clients/member_operations_service_members.py +0 -0
- {fountain_life_service_clients-3.32.0 → fountain_life_service_clients-3.34.0}/fountain_life_service_clients/member_scheduling_service_scheduling_prompts.py +0 -0
- {fountain_life_service_clients-3.32.0 → fountain_life_service_clients-3.34.0}/fountain_life_service_clients/oauth_apps_service.py +0 -0
- {fountain_life_service_clients-3.32.0 → fountain_life_service_clients-3.34.0}/fountain_life_service_clients/patient_service.py +0 -0
- {fountain_life_service_clients-3.32.0 → fountain_life_service_clients-3.34.0}/fountain_life_service_clients/rules_service.py +0 -0
- {fountain_life_service_clients-3.32.0 → fountain_life_service_clients-3.34.0}/fountain_life_service_clients/scheduler_service.py +0 -0
- {fountain_life_service_clients-3.32.0 → fountain_life_service_clients-3.34.0}/fountain_life_service_clients/survey_service.py +0 -0
- {fountain_life_service_clients-3.32.0 → fountain_life_service_clients-3.34.0}/fountain_life_service_clients/user_service.py +0 -0
@@ -9,6 +9,7 @@ from typing import (
|
|
9
9
|
Unpack,
|
10
10
|
cast,
|
11
11
|
)
|
12
|
+
from urllib.parse import quote
|
12
13
|
|
13
14
|
from fountain_life_service_clients._base_client import (
|
14
15
|
AlphaConfig,
|
@@ -16,6 +17,19 @@ from fountain_life_service_clients._base_client import (
|
|
16
17
|
BaseClient,
|
17
18
|
)
|
18
19
|
|
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
|
+
|
19
33
|
SearchVariantsRequest = TypedDict(
|
20
34
|
"SearchVariantsRequest",
|
21
35
|
{
|
@@ -193,6 +207,13 @@ class GenomicsServiceClient(BaseClient):
|
|
193
207
|
kwargs = {"target": "lambda://genomics-service:deployed", **(cfg or {})}
|
194
208
|
super().__init__(**kwargs)
|
195
209
|
|
210
|
+
async def get_variant_set(self, id: str):
|
211
|
+
"""Get a variant set by id"""
|
212
|
+
res = await self.client.request(
|
213
|
+
path=f"/v1/genomics/variantsets/{quote(id)}", method="GET"
|
214
|
+
)
|
215
|
+
return cast(AlphaResponse[GetVariantSetResponse], res)
|
216
|
+
|
196
217
|
async def search_variants(self, body: SearchVariantsRequest):
|
197
218
|
"""Search for variants"""
|
198
219
|
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
|