fountain-life-service-clients 3.35.0__py3-none-any.whl → 3.35.2__py3-none-any.whl
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/agents_api_service.py +37 -0
- fountain_life_service_clients/genomics_service.py +4 -52
- {fountain_life_service_clients-3.35.0.dist-info → fountain_life_service_clients-3.35.2.dist-info}/METADATA +1 -1
- {fountain_life_service_clients-3.35.0.dist-info → fountain_life_service_clients-3.35.2.dist-info}/RECORD +5 -5
- {fountain_life_service_clients-3.35.0.dist-info → fountain_life_service_clients-3.35.2.dist-info}/WHEEL +0 -0
@@ -18,6 +18,7 @@ class InvokeBasicAgentResponse(TypedDict):
|
|
18
18
|
|
19
19
|
|
20
20
|
class InvokeHealthSummaryAgentRequest(TypedDict):
|
21
|
+
version: Literal["v1", "v2"]
|
21
22
|
subject_id: str
|
22
23
|
project_id: str
|
23
24
|
mutate: NotRequired[bool]
|
@@ -89,6 +90,24 @@ class InvokeActionPlanNudgeResponse(TypedDict):
|
|
89
90
|
nudge: Dict[str, Any]
|
90
91
|
|
91
92
|
|
93
|
+
class InvokeActionPlanRequest(TypedDict):
|
94
|
+
subject_id: str
|
95
|
+
project_id: str
|
96
|
+
|
97
|
+
|
98
|
+
class InvokeActionPlanResponse(TypedDict):
|
99
|
+
task_id: str
|
100
|
+
|
101
|
+
|
102
|
+
class InvokeTemplateRequest(TypedDict):
|
103
|
+
subject_id: str
|
104
|
+
project_id: str
|
105
|
+
|
106
|
+
|
107
|
+
class InvokeTemplateResponse(TypedDict):
|
108
|
+
task_id: str
|
109
|
+
|
110
|
+
|
92
111
|
class GetAgentTokenResponse(TypedDict):
|
93
112
|
AccessKeyId: str
|
94
113
|
SecretAccessKey: str
|
@@ -180,6 +199,24 @@ class AgentsApiServiceClient(BaseClient):
|
|
180
199
|
)
|
181
200
|
return cast(AlphaResponse[InvokeActionPlanNudgeResponse], res)
|
182
201
|
|
202
|
+
async def invoke_action_plan(self, body: InvokeActionPlanRequest):
|
203
|
+
"""Invoke the action plan agent"""
|
204
|
+
res = await self.client.request(
|
205
|
+
path="/v1/private/agents-v2/action-plan/invoke",
|
206
|
+
method="POST",
|
207
|
+
body=cast(dict, body),
|
208
|
+
)
|
209
|
+
return cast(AlphaResponse[InvokeActionPlanResponse], res)
|
210
|
+
|
211
|
+
async def invoke_template(self, body: InvokeTemplateRequest):
|
212
|
+
"""Invoke the template agent"""
|
213
|
+
res = await self.client.request(
|
214
|
+
path="/v1/private/agents-v2/template/invoke",
|
215
|
+
method="POST",
|
216
|
+
body=cast(dict, body),
|
217
|
+
)
|
218
|
+
return cast(AlphaResponse[InvokeTemplateResponse], res)
|
219
|
+
|
183
220
|
async def get_agent_token(self):
|
184
221
|
"""Get an agent token for the current user"""
|
185
222
|
res = await self.client.request(path="/v1/agents-v2/token", method="GET")
|
@@ -27,66 +27,18 @@ SearchVariantsRequest = TypedDict(
|
|
27
27
|
"aminoAcidChange": NotRequired[Union[str, List[str]]],
|
28
28
|
"drugAssociations": NotRequired[bool],
|
29
29
|
"hasJaxKnowledge": NotRequired[bool],
|
30
|
-
"transcript_in_jaxckb": NotRequired[bool],
|
31
|
-
"cosmic_sample_count": NotRequired[float],
|
32
30
|
"class": NotRequired[Union[str, List[str]]],
|
33
31
|
"group": NotRequired[Union[str, List[str]]],
|
34
32
|
"impact": NotRequired[Union[str, List[str]]],
|
35
33
|
"biotype": NotRequired[Union[str, List[str]]],
|
36
|
-
"
|
34
|
+
"rsid": NotRequired[Union[str, List[str]]],
|
37
35
|
"chromosome": NotRequired[Union[str, List[str]]],
|
38
|
-
"clinvar_allele_id": NotRequired[Union[str, List[str]]],
|
39
|
-
"clinvar_disease": NotRequired[Union[str, List[str]]],
|
40
|
-
"clinvar_review": NotRequired[Union[str, List[str]]],
|
41
|
-
"clinvar_significance": NotRequired[Union[str, List[str]]],
|
42
|
-
"clinvar_submission": NotRequired[Union[str, List[str]]],
|
43
|
-
"transcript_gene": NotRequired[Union[str, List[str]]],
|
44
|
-
"transcript_gene_id": NotRequired[Union[str, List[str]]],
|
45
|
-
"transcript_classification": NotRequired[Union[str, List[str]]],
|
46
|
-
"transcript_group": NotRequired[Union[str, List[str]]],
|
47
|
-
"transcript_impact": NotRequired[Union[str, List[str]]],
|
48
|
-
"transcript_id": NotRequired[Union[str, List[str]]],
|
49
|
-
"transcript_biotype": NotRequired[Union[str, List[str]]],
|
50
|
-
"transcript_exon_intron_rank": NotRequired[Union[str, List[str]]],
|
51
|
-
"transcript_hgvs_amino_acid_change": NotRequired[Union[str, List[str]]],
|
52
|
-
"transcript_nucleotide_change": NotRequired[Union[str, List[str]]],
|
53
|
-
"transcript_jax_protein_effect": NotRequired[Union[str, List[str]]],
|
54
|
-
"transcript_jax_knowledge": NotRequired[Union[str, List[str]]],
|
55
|
-
"cosmic_id": NotRequired[Union[str, List[str]]],
|
56
|
-
"cosmic_mutation_status": NotRequired[Union[str, List[str]]],
|
57
|
-
"cosmic_histology": NotRequired[Union[str, List[str]]],
|
58
|
-
"cosmic_tumor_site": NotRequired[Union[str, List[str]]],
|
59
|
-
"dbnsfp_fathmm_pred": NotRequired[Union[str, List[str]]],
|
60
|
-
"dbnsfp_mutationtaster_pred": NotRequired[Union[str, List[str]]],
|
61
|
-
"dbnsfp_sift_pred": NotRequired[Union[str, List[str]]],
|
62
|
-
"sample_zygosity": NotRequired[Union[str, List[str]]],
|
63
|
-
"sample_genotype": NotRequired[Union[str, List[str]]],
|
64
|
-
"sample_filter": NotRequired[Union[str, List[str]]],
|
65
|
-
"sample_vendsig": NotRequired[Union[str, List[str]]],
|
66
|
-
"sequence_type": NotRequired[Union[str, List[str]]],
|
67
36
|
"position": NotRequired[Union[str, List[str]]],
|
68
|
-
"clinvar_near_variant": NotRequired[Union[str, List[str]]],
|
69
|
-
"cosmic_near_variant": NotRequired[Union[str, List[str]]],
|
70
|
-
"minimum_allele_frequency": NotRequired[Union[str, List[str]]],
|
71
|
-
"maximum_allele_frequency": NotRequired[Union[str, List[str]]],
|
72
|
-
"population_allele_frequency": NotRequired[Union[str, List[str]]],
|
73
|
-
"exac_allele_frequency": NotRequired[Union[str, List[str]]],
|
74
|
-
"exac_homozygous": NotRequired[Union[str, List[str]]],
|
75
|
-
"dbnsfp_damaging_count": NotRequired[Union[str, List[str]]],
|
76
|
-
"dbnsfp_damaging_predictor": NotRequired[Union[str, List[str]]],
|
77
|
-
"dbnsfp_damaging_vote": NotRequired[Union[str, List[str]]],
|
78
|
-
"dbnsfp_fathmm_rankscore": NotRequired[Union[str, List[str]]],
|
79
|
-
"dbnsfp_mean_rankscore": NotRequired[Union[str, List[str]]],
|
80
|
-
"dbnsfp_mean_rankscore_predictor": NotRequired[Union[str, List[str]]],
|
81
|
-
"dbnsfp_mutationtaster_rankscore": NotRequired[Union[str, List[str]]],
|
82
|
-
"dbnsfp_sift_rankscore": NotRequired[Union[str, List[str]]],
|
83
|
-
"sample_allele_frequency": NotRequired[Union[str, List[str]]],
|
84
|
-
"sample_quality": NotRequired[Union[str, List[str]]],
|
85
|
-
"sample_read_depth": NotRequired[Union[str, List[str]]],
|
86
|
-
"sample_alternate_read_depth": NotRequired[Union[str, List[str]]],
|
87
|
-
"sample_reference_read_depth": NotRequired[Union[str, List[str]]],
|
88
37
|
"nextPageToken": NotRequired[str],
|
89
38
|
"pageSize": NotRequired[float],
|
39
|
+
"popAlleleFrequency": NotRequired[str],
|
40
|
+
"genesPair": NotRequired[str],
|
41
|
+
"clinvarSignificance": NotRequired[Union[str, List[str]]],
|
90
42
|
},
|
91
43
|
)
|
92
44
|
|
@@ -2,7 +2,7 @@ fountain_life_service_clients/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5N
|
|
2
2
|
fountain_life_service_clients/_base_client.py,sha256=19AeJmz3H0d4tRdJ-fBcIXhw78hPniyGDfclfr4LC9g,781
|
3
3
|
fountain_life_service_clients/account_service.py,sha256=LI1w20YRz19JpC-8CEdoCpix4zKWSVl6iJ15k0Xc5Vo,3665
|
4
4
|
fountain_life_service_clients/account_service_policy_attributes.py,sha256=yq8JyDtFVhP5QzYvnAyIZGBhRK9Ds8SrMcG6EazPjxs,1523
|
5
|
-
fountain_life_service_clients/agents_api_service.py,sha256=
|
5
|
+
fountain_life_service_clients/agents_api_service.py,sha256=qOaDGrBGngN7yrRF5TVWu82l6qiC--hKU2HauEMzhsY,6894
|
6
6
|
fountain_life_service_clients/ai_template_service.py,sha256=-yIi1B6C7klUu-r2OxuSamVVi8L_-YQ6M_FAaemfmmM,10667
|
7
7
|
fountain_life_service_clients/claimed_domains_service.py,sha256=qW-7jCdDcB7qz6u5sv9_TESwYPbjWYwSGNnqfcrvyeM,1659
|
8
8
|
fountain_life_service_clients/cohorts_service.py,sha256=B0atrAnVGFG2TWMMORyNlJK0ffKUfI084mISFXZjAtI,4633
|
@@ -14,7 +14,7 @@ fountain_life_service_clients/fhir_post_processor_service.py,sha256=4IsyyRoCIzSN
|
|
14
14
|
fountain_life_service_clients/fhir_search_service.py,sha256=O_y8YrOjvKj_Tfs5Pj4MM4X6RvV1E2s762lRH5U8ji8,6014
|
15
15
|
fountain_life_service_clients/file_service.py,sha256=CY36fpvCAi17npAKAWkFDDaNhwbvTC5hx-sGZmPfyBM,4046
|
16
16
|
fountain_life_service_clients/ga4gh_service.py,sha256=SSFdYM_oW2ZATUOaZT_xjp3jlEJt7rR_ai2US6HolgI,989
|
17
|
-
fountain_life_service_clients/genomics_service.py,sha256=
|
17
|
+
fountain_life_service_clients/genomics_service.py,sha256=Xx5rhgzjEJfdNA_g0Je4xDo26NKZQiIuNC88cUI-v-s,4225
|
18
18
|
fountain_life_service_clients/invitation_service.py,sha256=tKWgb-bGIwT4x3MWSLiVChQRaZURj43S6Uyrg3Lt7HA,2596
|
19
19
|
fountain_life_service_clients/medical_results_service_results.py,sha256=L0clTifU4LWWKgBsIzEfelmkaICxG1_q8sHyrdA5es4,4876
|
20
20
|
fountain_life_service_clients/member_notification_service.py,sha256=wRkgmUqAV59BV81c3Iwz7JxSTuOLagHrcJcXvMbdBco,1814
|
@@ -26,6 +26,6 @@ fountain_life_service_clients/rules_service.py,sha256=VxPYboYQmw--6Kn78RKu6_9as1
|
|
26
26
|
fountain_life_service_clients/scheduler_service.py,sha256=IkwRns_QHh6fx1IZWEXZ35DeRiW7OHaROM5wjWubZm4,4440
|
27
27
|
fountain_life_service_clients/survey_service.py,sha256=hxOl3gBDxEdjrsKcMCoPl9RxumQzRT-e4zTbEAA0Iq4,13343
|
28
28
|
fountain_life_service_clients/user_service.py,sha256=rM9xcF-VzdLp9aDOhg1UbecX2VPPMxH9PlgpNpGdC18,4253
|
29
|
-
fountain_life_service_clients-3.35.
|
30
|
-
fountain_life_service_clients-3.35.
|
31
|
-
fountain_life_service_clients-3.35.
|
29
|
+
fountain_life_service_clients-3.35.2.dist-info/METADATA,sha256=dBnVsW27Fe5XGBeHL-KT7Fr0QZ07wu-kqWUNi2hf6kk,1405
|
30
|
+
fountain_life_service_clients-3.35.2.dist-info/WHEEL,sha256=M5asmiAlL6HEcOq52Yi5mmk9KmTVjY2RDPtO4p9DMrc,88
|
31
|
+
fountain_life_service_clients-3.35.2.dist-info/RECORD,,
|
File without changes
|