phenoml 0.0.6__py3-none-any.whl → 0.0.8__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.
- phenoml/client.py +3 -0
- phenoml/core/client_wrapper.py +2 -2
- phenoml/summary/__init__.py +39 -0
- phenoml/summary/client.py +656 -0
- phenoml/summary/errors/__init__.py +11 -0
- phenoml/summary/errors/bad_request_error.py +10 -0
- phenoml/summary/errors/forbidden_error.py +10 -0
- phenoml/summary/errors/internal_server_error.py +10 -0
- phenoml/summary/errors/not_found_error.py +10 -0
- phenoml/summary/errors/unauthorized_error.py +10 -0
- phenoml/{workflows/workflows → summary}/raw_client.py +236 -312
- phenoml/summary/types/__init__.py +31 -0
- phenoml/summary/types/create_summary_request_fhir_resources.py +8 -0
- phenoml/summary/types/create_summary_request_mode.py +5 -0
- phenoml/summary/types/create_summary_response.py +29 -0
- phenoml/summary/types/create_summary_template_response.py +23 -0
- phenoml/summary/types/fhir_bundle.py +23 -0
- phenoml/summary/types/fhir_bundle_entry_item.py +20 -0
- phenoml/summary/types/fhir_resource.py +24 -0
- phenoml/summary/types/summary_delete_template_response.py +20 -0
- phenoml/summary/types/summary_get_template_response.py +21 -0
- phenoml/summary/types/summary_list_templates_response.py +21 -0
- phenoml/summary/types/summary_template.py +41 -0
- phenoml/summary/types/summary_update_template_response.py +22 -0
- phenoml/workflows/__init__.py +3 -8
- phenoml/workflows/client.py +517 -33
- phenoml/workflows/raw_client.py +1129 -32
- phenoml/workflows/types/__init__.py +10 -0
- phenoml/workflows/{workflows/types → types}/workflows_delete_response.py +1 -1
- phenoml/workflows/{workflows/types → types}/workflows_get_response.py +3 -3
- phenoml/workflows/{workflows/types → types}/workflows_update_response.py +3 -3
- {phenoml-0.0.6.dist-info → phenoml-0.0.8.dist-info}/METADATA +1 -1
- {phenoml-0.0.6.dist-info → phenoml-0.0.8.dist-info}/RECORD +37 -33
- phenoml/types/__init__.py +0 -21
- phenoml/types/cohort_response.py +0 -5
- phenoml/types/lang2fhir_and_create_response.py +0 -5
- phenoml/types/lang2fhir_and_search_response.py +0 -5
- phenoml/types/mcp_server_response.py +0 -5
- phenoml/types/mcp_server_tool_call_response.py +0 -5
- phenoml/types/mcp_server_tool_response.py +0 -5
- phenoml/types/search_concept.py +0 -5
- phenoml/workflows/mcp_server/__init__.py +0 -7
- phenoml/workflows/mcp_server/client.py +0 -274
- phenoml/workflows/mcp_server/raw_client.py +0 -226
- phenoml/workflows/mcp_server/tools/__init__.py +0 -4
- phenoml/workflows/mcp_server/tools/client.py +0 -287
- phenoml/workflows/mcp_server/tools/raw_client.py +0 -244
- phenoml/workflows/workflows/__init__.py +0 -19
- phenoml/workflows/workflows/client.py +0 -694
- phenoml/workflows/workflows/types/__init__.py +0 -17
- /phenoml/workflows/{workflows/types → types}/create_workflow_request_fhir_provider_id.py +0 -0
- /phenoml/workflows/{workflows/types → types}/update_workflow_request_fhir_provider_id.py +0 -0
- {phenoml-0.0.6.dist-info → phenoml-0.0.8.dist-info}/LICENSE +0 -0
- {phenoml-0.0.6.dist-info → phenoml-0.0.8.dist-info}/WHEEL +0 -0
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# isort: skip_file
|
|
4
4
|
|
|
5
|
+
from .create_workflow_request_fhir_provider_id import CreateWorkflowRequestFhirProviderId
|
|
5
6
|
from .create_workflow_response import CreateWorkflowResponse
|
|
6
7
|
from .decision_node_definition import DecisionNodeDefinition
|
|
7
8
|
from .execute_workflow_response import ExecuteWorkflowResponse
|
|
@@ -11,6 +12,7 @@ from .lang2fhir_search_definition import Lang2FhirSearchDefinition
|
|
|
11
12
|
from .list_workflows_response import ListWorkflowsResponse
|
|
12
13
|
from .step_operation import StepOperation
|
|
13
14
|
from .sub_workflow_definition import SubWorkflowDefinition
|
|
15
|
+
from .update_workflow_request_fhir_provider_id import UpdateWorkflowRequestFhirProviderId
|
|
14
16
|
from .workflow_config import WorkflowConfig
|
|
15
17
|
from .workflow_definition import WorkflowDefinition
|
|
16
18
|
from .workflow_graph import WorkflowGraph
|
|
@@ -20,8 +22,12 @@ from .workflow_step import WorkflowStep
|
|
|
20
22
|
from .workflow_step_summary import WorkflowStepSummary
|
|
21
23
|
from .workflow_step_summary_type import WorkflowStepSummaryType
|
|
22
24
|
from .workflow_step_type import WorkflowStepType
|
|
25
|
+
from .workflows_delete_response import WorkflowsDeleteResponse
|
|
26
|
+
from .workflows_get_response import WorkflowsGetResponse
|
|
27
|
+
from .workflows_update_response import WorkflowsUpdateResponse
|
|
23
28
|
|
|
24
29
|
__all__ = [
|
|
30
|
+
"CreateWorkflowRequestFhirProviderId",
|
|
25
31
|
"CreateWorkflowResponse",
|
|
26
32
|
"DecisionNodeDefinition",
|
|
27
33
|
"ExecuteWorkflowResponse",
|
|
@@ -31,6 +37,7 @@ __all__ = [
|
|
|
31
37
|
"ListWorkflowsResponse",
|
|
32
38
|
"StepOperation",
|
|
33
39
|
"SubWorkflowDefinition",
|
|
40
|
+
"UpdateWorkflowRequestFhirProviderId",
|
|
34
41
|
"WorkflowConfig",
|
|
35
42
|
"WorkflowDefinition",
|
|
36
43
|
"WorkflowGraph",
|
|
@@ -40,4 +47,7 @@ __all__ = [
|
|
|
40
47
|
"WorkflowStepSummary",
|
|
41
48
|
"WorkflowStepSummaryType",
|
|
42
49
|
"WorkflowStepType",
|
|
50
|
+
"WorkflowsDeleteResponse",
|
|
51
|
+
"WorkflowsGetResponse",
|
|
52
|
+
"WorkflowsUpdateResponse",
|
|
43
53
|
]
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
import typing
|
|
4
4
|
|
|
5
5
|
import pydantic
|
|
6
|
-
from
|
|
7
|
-
from
|
|
8
|
-
from
|
|
6
|
+
from ...core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
|
|
7
|
+
from .workflow_definition import WorkflowDefinition
|
|
8
|
+
from .workflow_response import WorkflowResponse
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
class WorkflowsGetResponse(UniversalBaseModel):
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
import typing
|
|
4
4
|
|
|
5
5
|
import pydantic
|
|
6
|
-
from
|
|
7
|
-
from
|
|
8
|
-
from
|
|
6
|
+
from ...core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
|
|
7
|
+
from .workflow_definition import WorkflowDefinition
|
|
8
|
+
from .workflow_response import WorkflowResponse
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
class WorkflowsUpdateResponse(UniversalBaseModel):
|
|
@@ -47,7 +47,7 @@ phenoml/authtoken/raw_client.py,sha256=85R3SJneFJ-fxGXzYOz_Se01pJ9bKXDTB_BP903PL
|
|
|
47
47
|
phenoml/authtoken/types/__init__.py,sha256=ruKn1OfqKNJmeB1h39vh7-8srePTRpWsqGQzCH9_vok,260
|
|
48
48
|
phenoml/authtoken/types/bad_request_error_body.py,sha256=9D69GH2JTNatHxwC7fDlFhTmRKIJ3jRojQP3MwmJ1KI,672
|
|
49
49
|
phenoml/authtoken/types/unauthorized_error_body.py,sha256=fqqAo2_kWj0nNwLjm1fd-2lQPu5QhPuJP0yB7yE8sRw,674
|
|
50
|
-
phenoml/client.py,sha256=
|
|
50
|
+
phenoml/client.py,sha256=ZFB3im-V4KaSdLAPF94s6nbfs-lOYyU7a4a6xelc6Go,7917
|
|
51
51
|
phenoml/cohort/__init__.py,sha256=T7swsjx17aidvorMPqyak0JeX13MT4itAEQvNHNOxuE,320
|
|
52
52
|
phenoml/cohort/client.py,sha256=4bA8cffE6EvLZVMveJ2_aGu90vtXUHYTfO0E9EQuN9U,3312
|
|
53
53
|
phenoml/cohort/errors/__init__.py,sha256=su56D86txLO0suHwq_Yixg4EaMbSyaB00cma1beOFGE,312
|
|
@@ -85,7 +85,7 @@ phenoml/construe/types/unauthorized_error_body.py,sha256=j7msnWr6ENYKxLVrfi2ZTg4
|
|
|
85
85
|
phenoml/construe/types/upload_request_format.py,sha256=5mJhMM7R7hn6gGQNDJT9lxPDsRpUkRzqNxtRU0Nnlls,158
|
|
86
86
|
phenoml/core/__init__.py,sha256=lTcqUPXcx4112yLDd70RAPeqq6tu3eFMe1pKOqkW9JQ,1562
|
|
87
87
|
phenoml/core/api_error.py,sha256=44vPoTyWN59gonCIZMdzw7M1uspygiLnr3GNFOoVL2Q,614
|
|
88
|
-
phenoml/core/client_wrapper.py,sha256=
|
|
88
|
+
phenoml/core/client_wrapper.py,sha256=6ZudxaQ9t8ZjaT09V0Ta4cVIVwiOwUgYuZYy70wOxvc,2811
|
|
89
89
|
phenoml/core/datetime_utils.py,sha256=nBys2IsYrhPdszxGKCNRPSOCwa-5DWOHG95FB8G9PKo,1047
|
|
90
90
|
phenoml/core/file.py,sha256=d4NNbX8XvXP32z8KpK2Xovv33nFfruIrpz0QWxlgpZk,2663
|
|
91
91
|
phenoml/core/force_multipart.py,sha256=awxh5MtcRYe74ehY8U76jzv6fYM_w_D3Rur7KQQzSDk,429
|
|
@@ -159,6 +159,28 @@ phenoml/lang2fhir/types/fhir_resource.py,sha256=EprHErQgwP_MkaCrul94OhkOWQcbvUjM
|
|
|
159
159
|
phenoml/lang2fhir/types/lang2fhir_upload_profile_response.py,sha256=X41WiVztePQtZOcNRzNsder-h3rQTj94Y622HQ1izP8,721
|
|
160
160
|
phenoml/lang2fhir/types/search_response.py,sha256=xM3jNTIl7XuxzCfvaYCzXiBryGXT4siH9UVCpbo0UgI,1019
|
|
161
161
|
phenoml/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
162
|
+
phenoml/summary/__init__.py,sha256=0CioBmGauOx0MxDnrqvq3xVwi1XqmCKtwe2XEDmGYfs,1066
|
|
163
|
+
phenoml/summary/client.py,sha256=2Q8SkqSHUgNl659voCUPT6UasbX27IxkaHq8vU0fiRA,18744
|
|
164
|
+
phenoml/summary/errors/__init__.py,sha256=Wnvf4XPELmAIZ-jVxx2t-dBNZ-X9PcDxPSL5EHqJr1Q,434
|
|
165
|
+
phenoml/summary/errors/bad_request_error.py,sha256=nv0bK4gtOnTon6a2NdVxJxHBje_O_7wIoRtXLZHovUQ,339
|
|
166
|
+
phenoml/summary/errors/forbidden_error.py,sha256=ek8-sffTy9gY3F0zyaSkcskDVvq9puXP_YvvB2BJYbA,338
|
|
167
|
+
phenoml/summary/errors/internal_server_error.py,sha256=biBHJfSP1_zWF5CJgxY4B8wrL1uC18RSccQ-BCKmYNs,343
|
|
168
|
+
phenoml/summary/errors/not_found_error.py,sha256=hQ1KdyGQJCBQqo6iLu2-szlKJdzaoV5odq_7kdXAEbc,337
|
|
169
|
+
phenoml/summary/errors/unauthorized_error.py,sha256=h8T6QhXuTo0GLL9MKfIM5p--wDqlB1-ZkMp3lY-aM3E,341
|
|
170
|
+
phenoml/summary/raw_client.py,sha256=ar7TGzWoGM0XE0d5pZQFdu67NJ-PwQp0Bx0rOEvrbLg,47420
|
|
171
|
+
phenoml/summary/types/__init__.py,sha256=Cef3yEm0KM3HM0lnBut2uTLNgAhX1yocxrwA1ubNCdI,1231
|
|
172
|
+
phenoml/summary/types/create_summary_request_fhir_resources.py,sha256=afdDyX3UPCFrEjynP8XL_w9ulDbgojw8nAFVgZAolvE,232
|
|
173
|
+
phenoml/summary/types/create_summary_request_mode.py,sha256=YvRzzEGxaewryCyqGvJvpoOInjuB5GU1_1Mv3f2UODg,172
|
|
174
|
+
phenoml/summary/types/create_summary_response.py,sha256=8I4AVApJSZCzjIKvZUCIIQ5jBhO2IQBZqVV1VXKzavU,862
|
|
175
|
+
phenoml/summary/types/create_summary_template_response.py,sha256=mOujukt5jMKpTYTovvUagDjdvRIO3LJB2P0lCBzr5yc,751
|
|
176
|
+
phenoml/summary/types/fhir_bundle.py,sha256=ZP4LkXXUs18FQJyCvL1cSdQTas0mKWIYao815eM7qoU,798
|
|
177
|
+
phenoml/summary/types/fhir_bundle_entry_item.py,sha256=nhXcR4Rb68PFL0-l4oMH6kCKaAgTC3k4BXD984ly4gU,604
|
|
178
|
+
phenoml/summary/types/fhir_resource.py,sha256=GUtFqdTEyGJCGA2AOlZPLrwK3JA1dix20TtqBAvqjuU,726
|
|
179
|
+
phenoml/summary/types/summary_delete_template_response.py,sha256=xmgY1Eh6HgVj8y2n2lob7-cmhvbesy4syOd3Dy38rAs,606
|
|
180
|
+
phenoml/summary/types/summary_get_template_response.py,sha256=u71jGARazI2XECeqmRGk4hjF5X7sD3zm5z8eFUsWl7g,662
|
|
181
|
+
phenoml/summary/types/summary_list_templates_response.py,sha256=go45lFGp3KktaZq4lCGN5KV6SYbaik5bNvn5NkTV6xI,678
|
|
182
|
+
phenoml/summary/types/summary_template.py,sha256=eCM6BVMZC4jxp7d2PoIfcluflAMXa07oZcXf0nzytXM,1269
|
|
183
|
+
phenoml/summary/types/summary_update_template_response.py,sha256=1i_2LELTdulyXLNaEaN10Phy9KZfmGUBQCcj_9eZZy4,706
|
|
162
184
|
phenoml/tools/__init__.py,sha256=tWbUCa1RVpte1Ov53WgLExOXvGT72Mol2JM1Ul3nj3M,989
|
|
163
185
|
phenoml/tools/client.py,sha256=bEyLqb871q0juD2KmTstnIb4x4LpmCv-72-rqpEC_kg,11571
|
|
164
186
|
phenoml/tools/errors/__init__.py,sha256=nIzg981R3USgSar0WuuVrpDVg-H5vIp2AceEzbhphGw,458
|
|
@@ -185,31 +207,18 @@ phenoml/tools/types/mcp_server_tool_call_response.py,sha256=jGiPdxbzn4gQb8sZhvPc
|
|
|
185
207
|
phenoml/tools/types/mcp_server_tool_response.py,sha256=lDIyzSX5XHVumIWxVFhNFyY08TBtRM0v8HlkEEaMjW4,950
|
|
186
208
|
phenoml/tools/types/mcp_server_tool_response_data.py,sha256=mGFHazpGukicAkB3sBpmLIOehA812gtP6LTVaHW4v3g,1585
|
|
187
209
|
phenoml/tools/types/search_concept.py,sha256=Y_Hbx6NOdk1m83jTMxeUBy-e5h8jt0tUjvi92J34zRE,1104
|
|
188
|
-
phenoml/types/__init__.py,sha256=ssCVy6fx_VglXf4T64lJ10awKdnoF7TAfuAIo4SWIH4,704
|
|
189
|
-
phenoml/types/cohort_response.py,sha256=6KH0cNV4aqW561FvP12PYn0ovXUQZKJTm7q3wM3EJY0,125
|
|
190
|
-
phenoml/types/lang2fhir_and_create_response.py,sha256=whJ7VYD1QKHa-bqDUCPvVgppeQQM0hzrKKFxMtXq4xE,137
|
|
191
|
-
phenoml/types/lang2fhir_and_search_response.py,sha256=4b_IfAmnID3DMAkXGj1Q4ivA51aIUo9WZqLMPbViVc4,137
|
|
192
|
-
phenoml/types/mcp_server_response.py,sha256=E7gqSYMai04WmwY-wKvdt13VetDNmnQAJcINVyKZdfA,128
|
|
193
|
-
phenoml/types/mcp_server_tool_call_response.py,sha256=Rqe2Tw_wuP9yKhuw4ogtldDqi8vFxO15V72cO9R4_0Y,136
|
|
194
|
-
phenoml/types/mcp_server_tool_response.py,sha256=rlPDzPIwaAk3VPn-SC5FrIutpXxY9QFwvh0SrkTWPUU,132
|
|
195
|
-
phenoml/types/search_concept.py,sha256=Vc46JVMQbhve23wGu0V66Lom1VT1Y47fEtyrGHD6eBU,124
|
|
196
210
|
phenoml/version.py,sha256=5HhaEGv3OL_Nw9_mC28UFdsvpQrZpjr14na7Pmw8pFY,74
|
|
197
|
-
phenoml/workflows/__init__.py,sha256=
|
|
198
|
-
phenoml/workflows/client.py,sha256=
|
|
211
|
+
phenoml/workflows/__init__.py,sha256=JTdDqPTJm8RJmANElAWwbSV5J9DB-CDZsMQhGItXYsw,1650
|
|
212
|
+
phenoml/workflows/client.py,sha256=8h5cqo2mIG6A-AXpyHJKs0p6Z4VtE_rLvfyMXkakbBM,21124
|
|
199
213
|
phenoml/workflows/errors/__init__.py,sha256=Wnvf4XPELmAIZ-jVxx2t-dBNZ-X9PcDxPSL5EHqJr1Q,434
|
|
200
214
|
phenoml/workflows/errors/bad_request_error.py,sha256=nv0bK4gtOnTon6a2NdVxJxHBje_O_7wIoRtXLZHovUQ,339
|
|
201
215
|
phenoml/workflows/errors/forbidden_error.py,sha256=ek8-sffTy9gY3F0zyaSkcskDVvq9puXP_YvvB2BJYbA,338
|
|
202
216
|
phenoml/workflows/errors/internal_server_error.py,sha256=biBHJfSP1_zWF5CJgxY4B8wrL1uC18RSccQ-BCKmYNs,343
|
|
203
217
|
phenoml/workflows/errors/not_found_error.py,sha256=hQ1KdyGQJCBQqo6iLu2-szlKJdzaoV5odq_7kdXAEbc,337
|
|
204
218
|
phenoml/workflows/errors/unauthorized_error.py,sha256=h8T6QhXuTo0GLL9MKfIM5p--wDqlB1-ZkMp3lY-aM3E,341
|
|
205
|
-
phenoml/workflows/
|
|
206
|
-
phenoml/workflows/
|
|
207
|
-
phenoml/workflows/
|
|
208
|
-
phenoml/workflows/mcp_server/tools/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
|
|
209
|
-
phenoml/workflows/mcp_server/tools/client.py,sha256=bvYLPxJWtH7bBS2uUnrpPZogMBc1oTFd3mVgRozBTLk,7467
|
|
210
|
-
phenoml/workflows/mcp_server/tools/raw_client.py,sha256=w_2DDoC31h92sSzEWGTpWuB1aD6sor-4mwHdcVBCRuM,9241
|
|
211
|
-
phenoml/workflows/raw_client.py,sha256=8Rq7d2aXu20KtwO7KVQ1VhhlHXVGoxN71KHxVHfC-7s,6511
|
|
212
|
-
phenoml/workflows/types/__init__.py,sha256=GjI__cYyi2jIPBI3zTZtgcAohbXXR45BEbUto3_sec8,1608
|
|
219
|
+
phenoml/workflows/raw_client.py,sha256=Ez03eL2Y5XdbknDmGxlpjQvu7cArLaASmbEFXbKKMSE,50906
|
|
220
|
+
phenoml/workflows/types/__init__.py,sha256=r-PfarQWCMwrW6DGEbMwE6VazQ4ghvHOUdVpgMgXqdk,2147
|
|
221
|
+
phenoml/workflows/types/create_workflow_request_fhir_provider_id.py,sha256=ZtSMhSQqLgYwoXaG4XPpJl76ckw56J7rxmwgB1yGa5Y,154
|
|
213
222
|
phenoml/workflows/types/create_workflow_response.py,sha256=eBJCWx-couYx3Ao0ZUSq88lr8AniXEEPfVCTJdsfsHI,1362
|
|
214
223
|
phenoml/workflows/types/decision_node_definition.py,sha256=Uf9u5LScqV69naOaTZ4jpR6QO15rQoEsI2Y57_qNISU,983
|
|
215
224
|
phenoml/workflows/types/execute_workflow_response.py,sha256=TOqqW1i_bTDtUMtsz0Mw38zEGF-Yaw0-S3m6pS82-OI,920
|
|
@@ -219,6 +228,7 @@ phenoml/workflows/types/lang2fhir_search_definition.py,sha256=J6xwznc333PSynluBT
|
|
|
219
228
|
phenoml/workflows/types/list_workflows_response.py,sha256=SaHER6yXiKDOkPHZ5Dua_LfGEDh7mE-UCbOrXUFE7Ss,1247
|
|
220
229
|
phenoml/workflows/types/step_operation.py,sha256=uNV-kjOHqd8cNsJZJ7U7gJaM6IxzJ-e1YVxFZw-aCDE,1050
|
|
221
230
|
phenoml/workflows/types/sub_workflow_definition.py,sha256=vEVtON5fyfJL5EcRf8msSJU7jxjWEKZl59JvwKi38mA,1001
|
|
231
|
+
phenoml/workflows/types/update_workflow_request_fhir_provider_id.py,sha256=1ZhHnCRvUUJBdHbuAkZcYdM0j200Fe4FQDFrli05tpM,154
|
|
222
232
|
phenoml/workflows/types/workflow_config.py,sha256=4Ip3b14EYe7YogswpqUOcAya7zudQevOOcWCWG7tlyQ,840
|
|
223
233
|
phenoml/workflows/types/workflow_definition.py,sha256=o_NST3DhhhzoKwwMFfEC7MAOQRVpcVggf4XH2TRFO08,1700
|
|
224
234
|
phenoml/workflows/types/workflow_graph.py,sha256=TFkS54k37kGpDut9HpKEbq4qca0EaS7FLcsdaS72wzk,693
|
|
@@ -228,17 +238,11 @@ phenoml/workflows/types/workflow_step.py,sha256=LHo0a0DuAnvDKGF2vhOeRL8EsSM00mS5
|
|
|
228
238
|
phenoml/workflows/types/workflow_step_summary.py,sha256=oZLmVTffY90oa_3tedHsz44j0Y2NoENKBfZfzCz0-ok,1284
|
|
229
239
|
phenoml/workflows/types/workflow_step_summary_type.py,sha256=jdHpqZwccCepA13IVLC7sWYPic3THkBRE2la3uYG4ug,196
|
|
230
240
|
phenoml/workflows/types/workflow_step_type.py,sha256=tq0nUyU5HZyji-QZFj21LbZjrBVrSdRaKDd5N0QDD_4,189
|
|
231
|
-
phenoml/workflows/
|
|
232
|
-
phenoml/workflows/
|
|
233
|
-
phenoml/workflows/
|
|
234
|
-
phenoml/workflows/workflows/types/__init__.py,sha256=dDs8lUtI5IobtjtNSAcXQEd37Q_SKKPhxPGTVi5fGr4,639
|
|
235
|
-
phenoml/workflows/workflows/types/create_workflow_request_fhir_provider_id.py,sha256=ZtSMhSQqLgYwoXaG4XPpJl76ckw56J7rxmwgB1yGa5Y,154
|
|
236
|
-
phenoml/workflows/workflows/types/update_workflow_request_fhir_provider_id.py,sha256=1ZhHnCRvUUJBdHbuAkZcYdM0j200Fe4FQDFrli05tpM,154
|
|
237
|
-
phenoml/workflows/workflows/types/workflows_delete_response.py,sha256=FjSRSKx5QDjDEAa6Z6lXs_WszD5sEwMP-1EknUK-jP8,601
|
|
238
|
-
phenoml/workflows/workflows/types/workflows_get_response.py,sha256=wUqEvSJQq_JAzJSsf4pnQ8TXPbM56omFjZgYK70I4FY,908
|
|
239
|
-
phenoml/workflows/workflows/types/workflows_update_response.py,sha256=TsVrdo3PeGzerWq9caMrhomXXJBVPhbtcyFQ_KPKO48,1063
|
|
241
|
+
phenoml/workflows/types/workflows_delete_response.py,sha256=izcubUOnSNOgThD9Ozo6Lcow88ivQxdL6Yho-7KvCcY,600
|
|
242
|
+
phenoml/workflows/types/workflows_get_response.py,sha256=gfNyUs14JSynprRwT-fuq4IDsGrPZmUSsK3WmgqIEi8,891
|
|
243
|
+
phenoml/workflows/types/workflows_update_response.py,sha256=FEvQpC9ZRk8dV1oaIAwV5bSDD2tkXZ5fG4mozRjibuQ,1046
|
|
240
244
|
phenoml/wrapper_client.py,sha256=JYTdhXgju4tOsata06wQY_ZbMsuMj3qaxkgvDzpY068,5022
|
|
241
|
-
phenoml-0.0.
|
|
242
|
-
phenoml-0.0.
|
|
243
|
-
phenoml-0.0.
|
|
244
|
-
phenoml-0.0.
|
|
245
|
+
phenoml-0.0.8.dist-info/LICENSE,sha256=Am1fNNveR2gcmOloSWQTsnUw2SQEF8HtowFqIvlagfk,1064
|
|
246
|
+
phenoml-0.0.8.dist-info/METADATA,sha256=_rm_FtMu-OFxS6oYzd06yahqlv0JBOpIViiY_yjYnfc,5330
|
|
247
|
+
phenoml-0.0.8.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
|
|
248
|
+
phenoml-0.0.8.dist-info/RECORD,,
|
phenoml/types/__init__.py
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
|
|
3
|
-
# isort: skip_file
|
|
4
|
-
|
|
5
|
-
from .cohort_response import CohortResponse
|
|
6
|
-
from .lang2fhir_and_create_response import Lang2FhirAndCreateResponse
|
|
7
|
-
from .lang2fhir_and_search_response import Lang2FhirAndSearchResponse
|
|
8
|
-
from .mcp_server_response import McpServerResponse
|
|
9
|
-
from .mcp_server_tool_call_response import McpServerToolCallResponse
|
|
10
|
-
from .mcp_server_tool_response import McpServerToolResponse
|
|
11
|
-
from .search_concept import SearchConcept
|
|
12
|
-
|
|
13
|
-
__all__ = [
|
|
14
|
-
"CohortResponse",
|
|
15
|
-
"Lang2FhirAndCreateResponse",
|
|
16
|
-
"Lang2FhirAndSearchResponse",
|
|
17
|
-
"McpServerResponse",
|
|
18
|
-
"McpServerToolCallResponse",
|
|
19
|
-
"McpServerToolResponse",
|
|
20
|
-
"SearchConcept",
|
|
21
|
-
]
|
phenoml/types/cohort_response.py
DELETED
phenoml/types/search_concept.py
DELETED
|
@@ -1,274 +0,0 @@
|
|
|
1
|
-
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
|
|
3
|
-
import typing
|
|
4
|
-
|
|
5
|
-
from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper
|
|
6
|
-
from ...core.request_options import RequestOptions
|
|
7
|
-
from .raw_client import AsyncRawMcpServerClient, RawMcpServerClient
|
|
8
|
-
from .tools.client import AsyncToolsClient, ToolsClient
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
class McpServerClient:
|
|
12
|
-
def __init__(self, *, client_wrapper: SyncClientWrapper):
|
|
13
|
-
self._raw_client = RawMcpServerClient(client_wrapper=client_wrapper)
|
|
14
|
-
self.tools = ToolsClient(client_wrapper=client_wrapper)
|
|
15
|
-
|
|
16
|
-
@property
|
|
17
|
-
def with_raw_response(self) -> RawMcpServerClient:
|
|
18
|
-
"""
|
|
19
|
-
Retrieves a raw implementation of this client that returns raw responses.
|
|
20
|
-
|
|
21
|
-
Returns
|
|
22
|
-
-------
|
|
23
|
-
RawMcpServerClient
|
|
24
|
-
"""
|
|
25
|
-
return self._raw_client
|
|
26
|
-
|
|
27
|
-
def create(self, *, request_options: typing.Optional[RequestOptions] = None) -> None:
|
|
28
|
-
"""
|
|
29
|
-
Parameters
|
|
30
|
-
----------
|
|
31
|
-
request_options : typing.Optional[RequestOptions]
|
|
32
|
-
Request-specific configuration.
|
|
33
|
-
|
|
34
|
-
Returns
|
|
35
|
-
-------
|
|
36
|
-
None
|
|
37
|
-
|
|
38
|
-
Examples
|
|
39
|
-
--------
|
|
40
|
-
from phenoml import phenoml
|
|
41
|
-
|
|
42
|
-
client = phenoml(
|
|
43
|
-
token="YOUR_TOKEN",
|
|
44
|
-
)
|
|
45
|
-
client.workflows.mcp_server.create()
|
|
46
|
-
"""
|
|
47
|
-
_response = self._raw_client.create(request_options=request_options)
|
|
48
|
-
return _response.data
|
|
49
|
-
|
|
50
|
-
def list(self, *, request_options: typing.Optional[RequestOptions] = None) -> None:
|
|
51
|
-
"""
|
|
52
|
-
Parameters
|
|
53
|
-
----------
|
|
54
|
-
request_options : typing.Optional[RequestOptions]
|
|
55
|
-
Request-specific configuration.
|
|
56
|
-
|
|
57
|
-
Returns
|
|
58
|
-
-------
|
|
59
|
-
None
|
|
60
|
-
|
|
61
|
-
Examples
|
|
62
|
-
--------
|
|
63
|
-
from phenoml import phenoml
|
|
64
|
-
|
|
65
|
-
client = phenoml(
|
|
66
|
-
token="YOUR_TOKEN",
|
|
67
|
-
)
|
|
68
|
-
client.workflows.mcp_server.list()
|
|
69
|
-
"""
|
|
70
|
-
_response = self._raw_client.list(request_options=request_options)
|
|
71
|
-
return _response.data
|
|
72
|
-
|
|
73
|
-
def get(self, mcp_server_id: str, *, request_options: typing.Optional[RequestOptions] = None) -> None:
|
|
74
|
-
"""
|
|
75
|
-
Parameters
|
|
76
|
-
----------
|
|
77
|
-
mcp_server_id : str
|
|
78
|
-
|
|
79
|
-
request_options : typing.Optional[RequestOptions]
|
|
80
|
-
Request-specific configuration.
|
|
81
|
-
|
|
82
|
-
Returns
|
|
83
|
-
-------
|
|
84
|
-
None
|
|
85
|
-
|
|
86
|
-
Examples
|
|
87
|
-
--------
|
|
88
|
-
from phenoml import phenoml
|
|
89
|
-
|
|
90
|
-
client = phenoml(
|
|
91
|
-
token="YOUR_TOKEN",
|
|
92
|
-
)
|
|
93
|
-
client.workflows.mcp_server.get(
|
|
94
|
-
mcp_server_id="mcp_server_id",
|
|
95
|
-
)
|
|
96
|
-
"""
|
|
97
|
-
_response = self._raw_client.get(mcp_server_id, request_options=request_options)
|
|
98
|
-
return _response.data
|
|
99
|
-
|
|
100
|
-
def delete(self, mcp_server_id: str, *, request_options: typing.Optional[RequestOptions] = None) -> None:
|
|
101
|
-
"""
|
|
102
|
-
Parameters
|
|
103
|
-
----------
|
|
104
|
-
mcp_server_id : str
|
|
105
|
-
|
|
106
|
-
request_options : typing.Optional[RequestOptions]
|
|
107
|
-
Request-specific configuration.
|
|
108
|
-
|
|
109
|
-
Returns
|
|
110
|
-
-------
|
|
111
|
-
None
|
|
112
|
-
|
|
113
|
-
Examples
|
|
114
|
-
--------
|
|
115
|
-
from phenoml import phenoml
|
|
116
|
-
|
|
117
|
-
client = phenoml(
|
|
118
|
-
token="YOUR_TOKEN",
|
|
119
|
-
)
|
|
120
|
-
client.workflows.mcp_server.delete(
|
|
121
|
-
mcp_server_id="mcp_server_id",
|
|
122
|
-
)
|
|
123
|
-
"""
|
|
124
|
-
_response = self._raw_client.delete(mcp_server_id, request_options=request_options)
|
|
125
|
-
return _response.data
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
class AsyncMcpServerClient:
|
|
129
|
-
def __init__(self, *, client_wrapper: AsyncClientWrapper):
|
|
130
|
-
self._raw_client = AsyncRawMcpServerClient(client_wrapper=client_wrapper)
|
|
131
|
-
self.tools = AsyncToolsClient(client_wrapper=client_wrapper)
|
|
132
|
-
|
|
133
|
-
@property
|
|
134
|
-
def with_raw_response(self) -> AsyncRawMcpServerClient:
|
|
135
|
-
"""
|
|
136
|
-
Retrieves a raw implementation of this client that returns raw responses.
|
|
137
|
-
|
|
138
|
-
Returns
|
|
139
|
-
-------
|
|
140
|
-
AsyncRawMcpServerClient
|
|
141
|
-
"""
|
|
142
|
-
return self._raw_client
|
|
143
|
-
|
|
144
|
-
async def create(self, *, request_options: typing.Optional[RequestOptions] = None) -> None:
|
|
145
|
-
"""
|
|
146
|
-
Parameters
|
|
147
|
-
----------
|
|
148
|
-
request_options : typing.Optional[RequestOptions]
|
|
149
|
-
Request-specific configuration.
|
|
150
|
-
|
|
151
|
-
Returns
|
|
152
|
-
-------
|
|
153
|
-
None
|
|
154
|
-
|
|
155
|
-
Examples
|
|
156
|
-
--------
|
|
157
|
-
import asyncio
|
|
158
|
-
|
|
159
|
-
from phenoml import Asyncphenoml
|
|
160
|
-
|
|
161
|
-
client = Asyncphenoml(
|
|
162
|
-
token="YOUR_TOKEN",
|
|
163
|
-
)
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
async def main() -> None:
|
|
167
|
-
await client.workflows.mcp_server.create()
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
asyncio.run(main())
|
|
171
|
-
"""
|
|
172
|
-
_response = await self._raw_client.create(request_options=request_options)
|
|
173
|
-
return _response.data
|
|
174
|
-
|
|
175
|
-
async def list(self, *, request_options: typing.Optional[RequestOptions] = None) -> None:
|
|
176
|
-
"""
|
|
177
|
-
Parameters
|
|
178
|
-
----------
|
|
179
|
-
request_options : typing.Optional[RequestOptions]
|
|
180
|
-
Request-specific configuration.
|
|
181
|
-
|
|
182
|
-
Returns
|
|
183
|
-
-------
|
|
184
|
-
None
|
|
185
|
-
|
|
186
|
-
Examples
|
|
187
|
-
--------
|
|
188
|
-
import asyncio
|
|
189
|
-
|
|
190
|
-
from phenoml import Asyncphenoml
|
|
191
|
-
|
|
192
|
-
client = Asyncphenoml(
|
|
193
|
-
token="YOUR_TOKEN",
|
|
194
|
-
)
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
async def main() -> None:
|
|
198
|
-
await client.workflows.mcp_server.list()
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
asyncio.run(main())
|
|
202
|
-
"""
|
|
203
|
-
_response = await self._raw_client.list(request_options=request_options)
|
|
204
|
-
return _response.data
|
|
205
|
-
|
|
206
|
-
async def get(self, mcp_server_id: str, *, request_options: typing.Optional[RequestOptions] = None) -> None:
|
|
207
|
-
"""
|
|
208
|
-
Parameters
|
|
209
|
-
----------
|
|
210
|
-
mcp_server_id : str
|
|
211
|
-
|
|
212
|
-
request_options : typing.Optional[RequestOptions]
|
|
213
|
-
Request-specific configuration.
|
|
214
|
-
|
|
215
|
-
Returns
|
|
216
|
-
-------
|
|
217
|
-
None
|
|
218
|
-
|
|
219
|
-
Examples
|
|
220
|
-
--------
|
|
221
|
-
import asyncio
|
|
222
|
-
|
|
223
|
-
from phenoml import Asyncphenoml
|
|
224
|
-
|
|
225
|
-
client = Asyncphenoml(
|
|
226
|
-
token="YOUR_TOKEN",
|
|
227
|
-
)
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
async def main() -> None:
|
|
231
|
-
await client.workflows.mcp_server.get(
|
|
232
|
-
mcp_server_id="mcp_server_id",
|
|
233
|
-
)
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
asyncio.run(main())
|
|
237
|
-
"""
|
|
238
|
-
_response = await self._raw_client.get(mcp_server_id, request_options=request_options)
|
|
239
|
-
return _response.data
|
|
240
|
-
|
|
241
|
-
async def delete(self, mcp_server_id: str, *, request_options: typing.Optional[RequestOptions] = None) -> None:
|
|
242
|
-
"""
|
|
243
|
-
Parameters
|
|
244
|
-
----------
|
|
245
|
-
mcp_server_id : str
|
|
246
|
-
|
|
247
|
-
request_options : typing.Optional[RequestOptions]
|
|
248
|
-
Request-specific configuration.
|
|
249
|
-
|
|
250
|
-
Returns
|
|
251
|
-
-------
|
|
252
|
-
None
|
|
253
|
-
|
|
254
|
-
Examples
|
|
255
|
-
--------
|
|
256
|
-
import asyncio
|
|
257
|
-
|
|
258
|
-
from phenoml import Asyncphenoml
|
|
259
|
-
|
|
260
|
-
client = Asyncphenoml(
|
|
261
|
-
token="YOUR_TOKEN",
|
|
262
|
-
)
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
async def main() -> None:
|
|
266
|
-
await client.workflows.mcp_server.delete(
|
|
267
|
-
mcp_server_id="mcp_server_id",
|
|
268
|
-
)
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
asyncio.run(main())
|
|
272
|
-
"""
|
|
273
|
-
_response = await self._raw_client.delete(mcp_server_id, request_options=request_options)
|
|
274
|
-
return _response.data
|