phenoml 0.0.6__py3-none-any.whl → 0.0.7__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/core/client_wrapper.py +2 -2
- 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.7.dist-info}/METADATA +1 -1
- {phenoml-0.0.6.dist-info → phenoml-0.0.7.dist-info}/RECORD +14 -32
- 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/raw_client.py +0 -1266
- 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.7.dist-info}/LICENSE +0 -0
- {phenoml-0.0.6.dist-info → phenoml-0.0.7.dist-info}/WHEEL +0 -0
phenoml/core/client_wrapper.py
CHANGED
|
@@ -22,10 +22,10 @@ class BaseClientWrapper:
|
|
|
22
22
|
|
|
23
23
|
def get_headers(self) -> typing.Dict[str, str]:
|
|
24
24
|
headers: typing.Dict[str, str] = {
|
|
25
|
-
"User-Agent": "phenoml/0.0.
|
|
25
|
+
"User-Agent": "phenoml/0.0.7",
|
|
26
26
|
"X-Fern-Language": "Python",
|
|
27
27
|
"X-Fern-SDK-Name": "phenoml",
|
|
28
|
-
"X-Fern-SDK-Version": "0.0.
|
|
28
|
+
"X-Fern-SDK-Version": "0.0.7",
|
|
29
29
|
**(self.get_custom_headers() or {}),
|
|
30
30
|
}
|
|
31
31
|
token = self._get_token()
|
phenoml/workflows/__init__.py
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
# isort: skip_file
|
|
4
4
|
|
|
5
5
|
from .types import (
|
|
6
|
+
CreateWorkflowRequestFhirProviderId,
|
|
6
7
|
CreateWorkflowResponse,
|
|
7
8
|
DecisionNodeDefinition,
|
|
8
9
|
ExecuteWorkflowResponse,
|
|
@@ -12,6 +13,7 @@ from .types import (
|
|
|
12
13
|
ListWorkflowsResponse,
|
|
13
14
|
StepOperation,
|
|
14
15
|
SubWorkflowDefinition,
|
|
16
|
+
UpdateWorkflowRequestFhirProviderId,
|
|
15
17
|
WorkflowConfig,
|
|
16
18
|
WorkflowDefinition,
|
|
17
19
|
WorkflowGraph,
|
|
@@ -21,16 +23,11 @@ from .types import (
|
|
|
21
23
|
WorkflowStepSummary,
|
|
22
24
|
WorkflowStepSummaryType,
|
|
23
25
|
WorkflowStepType,
|
|
24
|
-
)
|
|
25
|
-
from .errors import BadRequestError, ForbiddenError, InternalServerError, NotFoundError, UnauthorizedError
|
|
26
|
-
from . import mcp_server, workflows
|
|
27
|
-
from .workflows import (
|
|
28
|
-
CreateWorkflowRequestFhirProviderId,
|
|
29
|
-
UpdateWorkflowRequestFhirProviderId,
|
|
30
26
|
WorkflowsDeleteResponse,
|
|
31
27
|
WorkflowsGetResponse,
|
|
32
28
|
WorkflowsUpdateResponse,
|
|
33
29
|
)
|
|
30
|
+
from .errors import BadRequestError, ForbiddenError, InternalServerError, NotFoundError, UnauthorizedError
|
|
34
31
|
|
|
35
32
|
__all__ = [
|
|
36
33
|
"BadRequestError",
|
|
@@ -61,6 +58,4 @@ __all__ = [
|
|
|
61
58
|
"WorkflowsDeleteResponse",
|
|
62
59
|
"WorkflowsGetResponse",
|
|
63
60
|
"WorkflowsUpdateResponse",
|
|
64
|
-
"mcp_server",
|
|
65
|
-
"workflows",
|
|
66
61
|
]
|