samplehc 0.17.0__py3-none-any.whl → 0.18.0__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.
- samplehc/_client.py +1 -38
- samplehc/_version.py +1 -1
- samplehc/resources/__init__.py +0 -14
- samplehc/resources/v2/__init__.py +0 -98
- samplehc/resources/v2/async_results.py +0 -79
- samplehc/resources/v2/documents/__init__.py +0 -14
- samplehc/resources/v2/documents/documents.py +0 -194
- samplehc/resources/v2/v2.py +0 -224
- samplehc/types/__init__.py +0 -5
- samplehc/types/v2/__init__.py +0 -53
- samplehc/types/v2/documents/__init__.py +0 -3
- {samplehc-0.17.0.dist-info → samplehc-0.18.0.dist-info}/METADATA +22 -27
- samplehc-0.18.0.dist-info/RECORD +92 -0
- samplehc/resources/v1/__init__.py +0 -19
- samplehc/resources/v1/v1.py +0 -298
- samplehc/resources/v2/clearinghouse/__init__.py +0 -47
- samplehc/resources/v2/clearinghouse/claim.py +0 -407
- samplehc/resources/v2/clearinghouse/clearinghouse.py +0 -844
- samplehc/resources/v2/clearinghouse/payers.py +0 -224
- samplehc/resources/v2/documents/pdf_template.py +0 -165
- samplehc/resources/v2/hie/__init__.py +0 -47
- samplehc/resources/v2/hie/adt.py +0 -249
- samplehc/resources/v2/hie/documents.py +0 -390
- samplehc/resources/v2/hie/hie.py +0 -134
- samplehc/resources/v2/integrations/__init__.py +0 -131
- samplehc/resources/v2/integrations/bank/__init__.py +0 -33
- samplehc/resources/v2/integrations/bank/bank.py +0 -102
- samplehc/resources/v2/integrations/bank/transactions.py +0 -185
- samplehc/resources/v2/integrations/careviso.py +0 -372
- samplehc/resources/v2/integrations/glidian/__init__.py +0 -33
- samplehc/resources/v2/integrations/glidian/glidian.py +0 -425
- samplehc/resources/v2/integrations/glidian/prior_authorizations/__init__.py +0 -33
- samplehc/resources/v2/integrations/glidian/prior_authorizations/clinical_questions.py +0 -276
- samplehc/resources/v2/integrations/glidian/prior_authorizations/prior_authorizations.py +0 -527
- samplehc/resources/v2/integrations/integrations.py +0 -326
- samplehc/resources/v2/integrations/kno2/__init__.py +0 -33
- samplehc/resources/v2/integrations/kno2/kno2.py +0 -102
- samplehc/resources/v2/integrations/kno2/messages.py +0 -260
- samplehc/resources/v2/integrations/salesforce.py +0 -277
- samplehc/resources/v2/integrations/snowflake.py +0 -173
- samplehc/resources/v2/integrations/wellsky/__init__.py +0 -33
- samplehc/resources/v2/integrations/wellsky/patients.py +0 -324
- samplehc/resources/v2/integrations/wellsky/wellsky.py +0 -102
- samplehc/resources/v2/integrations/xcures.py +0 -197
- samplehc/resources/v2/policies.py +0 -655
- samplehc/resources/v2/tasks/__init__.py +0 -33
- samplehc/resources/v2/tasks/state.py +0 -266
- samplehc/resources/v2/tasks/tasks.py +0 -754
- samplehc/resources/v2/workflow_runs/__init__.py +0 -33
- samplehc/resources/v2/workflow_runs/step.py +0 -169
- samplehc/resources/v2/workflow_runs/workflow_runs.py +0 -479
- samplehc/resources/v2/workflows.py +0 -377
- samplehc/types/v1/__init__.py +0 -3
- samplehc/types/v1_query_audit_logs_params.py +0 -12
- samplehc/types/v1_query_audit_logs_response.py +0 -16
- samplehc/types/v1_sql_execute_params.py +0 -27
- samplehc/types/v1_sql_execute_response.py +0 -27
- samplehc/types/v2/async_result_retrieve_response.py +0 -18
- samplehc/types/v2/clearinghouse/__init__.py +0 -9
- samplehc/types/v2/clearinghouse/claim_submit_params.py +0 -2693
- samplehc/types/v2/clearinghouse/claim_submit_response.py +0 -23
- samplehc/types/v2/clearinghouse/payer_list_response.py +0 -27
- samplehc/types/v2/clearinghouse/payer_search_params.py +0 -12
- samplehc/types/v2/clearinghouse/payer_search_response.py +0 -33
- samplehc/types/v2/clearinghouse_calculate_patient_cost_params.py +0 -3129
- samplehc/types/v2/clearinghouse_check_claim_status_params.py +0 -41
- samplehc/types/v2/clearinghouse_check_eligibility_params.py +0 -36
- samplehc/types/v2/clearinghouse_check_eligibility_response.py +0 -15
- samplehc/types/v2/clearinghouse_coordination_of_benefits_params.py +0 -35
- samplehc/types/v2/clearinghouse_run_discovery_params.py +0 -59
- samplehc/types/v2/clearinghouse_run_discovery_response.py +0 -13
- samplehc/types/v2/document_unzip_async_response.py +0 -12
- samplehc/types/v2/document_unzip_response.py +0 -20
- samplehc/types/v2/documents/pdf_template_retrieve_metadata_response.py +0 -17
- samplehc/types/v2/hie/__init__.py +0 -8
- samplehc/types/v2/hie/adt_subscribe_params.py +0 -92
- samplehc/types/v2/hie/document_query_params.py +0 -92
- samplehc/types/v2/hie/document_query_response.py +0 -16
- samplehc/types/v2/hie/document_upload_params.py +0 -54
- samplehc/types/v2/integrations/__init__.py +0 -23
- samplehc/types/v2/integrations/bank/__init__.py +0 -6
- samplehc/types/v2/integrations/bank/transaction_sync_params.py +0 -15
- samplehc/types/v2/integrations/bank/transaction_sync_response.py +0 -26
- samplehc/types/v2/integrations/careviso_get_payers_response.py +0 -19
- samplehc/types/v2/integrations/careviso_submit_prior_authorization_params.py +0 -90
- samplehc/types/v2/integrations/glidian/__init__.py +0 -20
- samplehc/types/v2/integrations/glidian/prior_authorization_create_draft_params.py +0 -32
- samplehc/types/v2/integrations/glidian/prior_authorization_create_draft_response.py +0 -24
- samplehc/types/v2/integrations/glidian/prior_authorization_retrieve_record_response.py +0 -13
- samplehc/types/v2/integrations/glidian/prior_authorization_submit_response.py +0 -16
- samplehc/types/v2/integrations/glidian/prior_authorization_update_record_params.py +0 -20
- samplehc/types/v2/integrations/glidian/prior_authorization_update_record_response.py +0 -16
- samplehc/types/v2/integrations/glidian/prior_authorizations/__init__.py +0 -7
- samplehc/types/v2/integrations/glidian/prior_authorizations/clinical_question_list_response.py +0 -42
- samplehc/types/v2/integrations/glidian/prior_authorizations/clinical_question_update_params.py +0 -23
- samplehc/types/v2/integrations/glidian/prior_authorizations/clinical_question_update_response.py +0 -19
- samplehc/types/v2/integrations/glidian_get_submission_requirements_params.py +0 -17
- samplehc/types/v2/integrations/glidian_get_submission_requirements_response.py +0 -31
- samplehc/types/v2/integrations/glidian_list_payers_params.py +0 -11
- samplehc/types/v2/integrations/glidian_list_payers_response.py +0 -17
- samplehc/types/v2/integrations/glidian_list_services_params.py +0 -13
- samplehc/types/v2/integrations/glidian_list_services_response.py +0 -19
- samplehc/types/v2/integrations/kno2/__init__.py +0 -6
- samplehc/types/v2/integrations/kno2/message_get_attachment_response.py +0 -15
- samplehc/types/v2/integrations/kno2/message_retrieve_response.py +0 -13
- samplehc/types/v2/integrations/salesforce_run_crud_action_params.py +0 -22
- samplehc/types/v2/integrations/salesforce_run_soql_query_params.py +0 -11
- samplehc/types/v2/integrations/snowflake_query_params.py +0 -12
- samplehc/types/v2/integrations/snowflake_query_response.py +0 -8
- samplehc/types/v2/integrations/wellsky/__init__.py +0 -6
- samplehc/types/v2/integrations/wellsky/patient_add_params.py +0 -13
- samplehc/types/v2/integrations/wellsky/patient_search_params.py +0 -32
- samplehc/types/v2/integrations/xcure_make_request_params.py +0 -18
- samplehc/types/v2/ledger/__init__.py +0 -3
- samplehc/types/v2/policy_list_companies_params.py +0 -18
- samplehc/types/v2/policy_list_companies_response.py +0 -24
- samplehc/types/v2/policy_list_params.py +0 -47
- samplehc/types/v2/policy_list_plans_params.py +0 -18
- samplehc/types/v2/policy_list_plans_response.py +0 -30
- samplehc/types/v2/policy_list_response.py +0 -67
- samplehc/types/v2/policy_retrieve_presigned_url_response.py +0 -17
- samplehc/types/v2/policy_retrieve_text_response.py +0 -12
- samplehc/types/v2/task_cancel_response.py +0 -12
- samplehc/types/v2/task_complete_params.py +0 -12
- samplehc/types/v2/task_complete_response.py +0 -16
- samplehc/types/v2/task_get_suspended_payload_response.py +0 -8
- samplehc/types/v2/task_retrieve_response.py +0 -22
- samplehc/types/v2/task_retry_response.py +0 -10
- samplehc/types/v2/task_update_column_params.py +0 -19
- samplehc/types/v2/task_update_column_response.py +0 -9
- samplehc/types/v2/task_update_screen_time_params.py +0 -14
- samplehc/types/v2/task_update_screen_time_response.py +0 -8
- samplehc/types/v2/tasks/__init__.py +0 -7
- samplehc/types/v2/tasks/state_get_response.py +0 -8
- samplehc/types/v2/tasks/state_update_params.py +0 -13
- samplehc/types/v2/tasks/state_update_response.py +0 -9
- samplehc/types/v2/workflow_deploy_response.py +0 -12
- samplehc/types/v2/workflow_query_params.py +0 -12
- samplehc/types/v2/workflow_query_response.py +0 -8
- samplehc/types/v2/workflow_run_get_start_data_response.py +0 -14
- samplehc/types/v2/workflow_run_resume_when_complete_params.py +0 -14
- samplehc/types/v2/workflow_run_resume_when_complete_response.py +0 -12
- samplehc/types/v2/workflow_run_retrieve_response.py +0 -16
- samplehc/types/v2/workflow_runs/__init__.py +0 -5
- samplehc/types/v2/workflow_runs/step_get_output_response.py +0 -14
- samplehc/types/v2/workflow_start_params.py +0 -25
- samplehc/types/v2/workflow_start_response.py +0 -25
- samplehc-0.17.0.dist-info/RECORD +0 -226
- {samplehc-0.17.0.dist-info → samplehc-0.18.0.dist-info}/WHEEL +0 -0
- {samplehc-0.17.0.dist-info → samplehc-0.18.0.dist-info}/licenses/LICENSE +0 -0
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
from .step import (
|
|
4
|
-
StepResource,
|
|
5
|
-
AsyncStepResource,
|
|
6
|
-
StepResourceWithRawResponse,
|
|
7
|
-
AsyncStepResourceWithRawResponse,
|
|
8
|
-
StepResourceWithStreamingResponse,
|
|
9
|
-
AsyncStepResourceWithStreamingResponse,
|
|
10
|
-
)
|
|
11
|
-
from .workflow_runs import (
|
|
12
|
-
WorkflowRunsResource,
|
|
13
|
-
AsyncWorkflowRunsResource,
|
|
14
|
-
WorkflowRunsResourceWithRawResponse,
|
|
15
|
-
AsyncWorkflowRunsResourceWithRawResponse,
|
|
16
|
-
WorkflowRunsResourceWithStreamingResponse,
|
|
17
|
-
AsyncWorkflowRunsResourceWithStreamingResponse,
|
|
18
|
-
)
|
|
19
|
-
|
|
20
|
-
__all__ = [
|
|
21
|
-
"StepResource",
|
|
22
|
-
"AsyncStepResource",
|
|
23
|
-
"StepResourceWithRawResponse",
|
|
24
|
-
"AsyncStepResourceWithRawResponse",
|
|
25
|
-
"StepResourceWithStreamingResponse",
|
|
26
|
-
"AsyncStepResourceWithStreamingResponse",
|
|
27
|
-
"WorkflowRunsResource",
|
|
28
|
-
"AsyncWorkflowRunsResource",
|
|
29
|
-
"WorkflowRunsResourceWithRawResponse",
|
|
30
|
-
"AsyncWorkflowRunsResourceWithRawResponse",
|
|
31
|
-
"WorkflowRunsResourceWithStreamingResponse",
|
|
32
|
-
"AsyncWorkflowRunsResourceWithStreamingResponse",
|
|
33
|
-
]
|
|
@@ -1,169 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
from __future__ import annotations
|
|
4
|
-
|
|
5
|
-
import httpx
|
|
6
|
-
|
|
7
|
-
from ...._types import Body, Query, Headers, NotGiven, not_given
|
|
8
|
-
from ...._compat import cached_property
|
|
9
|
-
from ...._resource import SyncAPIResource, AsyncAPIResource
|
|
10
|
-
from ...._response import (
|
|
11
|
-
to_raw_response_wrapper,
|
|
12
|
-
to_streamed_response_wrapper,
|
|
13
|
-
async_to_raw_response_wrapper,
|
|
14
|
-
async_to_streamed_response_wrapper,
|
|
15
|
-
)
|
|
16
|
-
from ...._base_client import make_request_options
|
|
17
|
-
from ....types.v2.workflow_runs.step_get_output_response import StepGetOutputResponse
|
|
18
|
-
|
|
19
|
-
__all__ = ["StepResource", "AsyncStepResource"]
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
class StepResource(SyncAPIResource):
|
|
23
|
-
@cached_property
|
|
24
|
-
def with_raw_response(self) -> StepResourceWithRawResponse:
|
|
25
|
-
"""
|
|
26
|
-
This property can be used as a prefix for any HTTP method call to return
|
|
27
|
-
the raw response object instead of the parsed content.
|
|
28
|
-
|
|
29
|
-
For more information, see https://www.github.com/samplehc/samplehc-python#accessing-raw-response-data-eg-headers
|
|
30
|
-
"""
|
|
31
|
-
return StepResourceWithRawResponse(self)
|
|
32
|
-
|
|
33
|
-
@cached_property
|
|
34
|
-
def with_streaming_response(self) -> StepResourceWithStreamingResponse:
|
|
35
|
-
"""
|
|
36
|
-
An alternative to `.with_raw_response` that doesn't eagerly read the response body.
|
|
37
|
-
|
|
38
|
-
For more information, see https://www.github.com/samplehc/samplehc-python#with_streaming_response
|
|
39
|
-
"""
|
|
40
|
-
return StepResourceWithStreamingResponse(self)
|
|
41
|
-
|
|
42
|
-
def get_output(
|
|
43
|
-
self,
|
|
44
|
-
step_id: str,
|
|
45
|
-
*,
|
|
46
|
-
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
47
|
-
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
48
|
-
extra_headers: Headers | None = None,
|
|
49
|
-
extra_query: Query | None = None,
|
|
50
|
-
extra_body: Body | None = None,
|
|
51
|
-
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
52
|
-
) -> StepGetOutputResponse:
|
|
53
|
-
"""Retrieves the output data of a specific step within a workflow run.
|
|
54
|
-
|
|
55
|
-
This
|
|
56
|
-
endpoint requires an ExecuteStepRequestContext with `workflowRunId` and
|
|
57
|
-
`stepAddr`.
|
|
58
|
-
|
|
59
|
-
Args:
|
|
60
|
-
extra_headers: Send extra headers
|
|
61
|
-
|
|
62
|
-
extra_query: Add additional query parameters to the request
|
|
63
|
-
|
|
64
|
-
extra_body: Add additional JSON properties to the request
|
|
65
|
-
|
|
66
|
-
timeout: Override the client-level default timeout for this request, in seconds
|
|
67
|
-
"""
|
|
68
|
-
if not step_id:
|
|
69
|
-
raise ValueError(f"Expected a non-empty value for `step_id` but received {step_id!r}")
|
|
70
|
-
return self._get(
|
|
71
|
-
f"/api/v2/workflow-runs/step/{step_id}/output",
|
|
72
|
-
options=make_request_options(
|
|
73
|
-
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
74
|
-
),
|
|
75
|
-
cast_to=StepGetOutputResponse,
|
|
76
|
-
)
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
class AsyncStepResource(AsyncAPIResource):
|
|
80
|
-
@cached_property
|
|
81
|
-
def with_raw_response(self) -> AsyncStepResourceWithRawResponse:
|
|
82
|
-
"""
|
|
83
|
-
This property can be used as a prefix for any HTTP method call to return
|
|
84
|
-
the raw response object instead of the parsed content.
|
|
85
|
-
|
|
86
|
-
For more information, see https://www.github.com/samplehc/samplehc-python#accessing-raw-response-data-eg-headers
|
|
87
|
-
"""
|
|
88
|
-
return AsyncStepResourceWithRawResponse(self)
|
|
89
|
-
|
|
90
|
-
@cached_property
|
|
91
|
-
def with_streaming_response(self) -> AsyncStepResourceWithStreamingResponse:
|
|
92
|
-
"""
|
|
93
|
-
An alternative to `.with_raw_response` that doesn't eagerly read the response body.
|
|
94
|
-
|
|
95
|
-
For more information, see https://www.github.com/samplehc/samplehc-python#with_streaming_response
|
|
96
|
-
"""
|
|
97
|
-
return AsyncStepResourceWithStreamingResponse(self)
|
|
98
|
-
|
|
99
|
-
async def get_output(
|
|
100
|
-
self,
|
|
101
|
-
step_id: str,
|
|
102
|
-
*,
|
|
103
|
-
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
104
|
-
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
105
|
-
extra_headers: Headers | None = None,
|
|
106
|
-
extra_query: Query | None = None,
|
|
107
|
-
extra_body: Body | None = None,
|
|
108
|
-
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
109
|
-
) -> StepGetOutputResponse:
|
|
110
|
-
"""Retrieves the output data of a specific step within a workflow run.
|
|
111
|
-
|
|
112
|
-
This
|
|
113
|
-
endpoint requires an ExecuteStepRequestContext with `workflowRunId` and
|
|
114
|
-
`stepAddr`.
|
|
115
|
-
|
|
116
|
-
Args:
|
|
117
|
-
extra_headers: Send extra headers
|
|
118
|
-
|
|
119
|
-
extra_query: Add additional query parameters to the request
|
|
120
|
-
|
|
121
|
-
extra_body: Add additional JSON properties to the request
|
|
122
|
-
|
|
123
|
-
timeout: Override the client-level default timeout for this request, in seconds
|
|
124
|
-
"""
|
|
125
|
-
if not step_id:
|
|
126
|
-
raise ValueError(f"Expected a non-empty value for `step_id` but received {step_id!r}")
|
|
127
|
-
return await self._get(
|
|
128
|
-
f"/api/v2/workflow-runs/step/{step_id}/output",
|
|
129
|
-
options=make_request_options(
|
|
130
|
-
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
131
|
-
),
|
|
132
|
-
cast_to=StepGetOutputResponse,
|
|
133
|
-
)
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
class StepResourceWithRawResponse:
|
|
137
|
-
def __init__(self, step: StepResource) -> None:
|
|
138
|
-
self._step = step
|
|
139
|
-
|
|
140
|
-
self.get_output = to_raw_response_wrapper(
|
|
141
|
-
step.get_output,
|
|
142
|
-
)
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
class AsyncStepResourceWithRawResponse:
|
|
146
|
-
def __init__(self, step: AsyncStepResource) -> None:
|
|
147
|
-
self._step = step
|
|
148
|
-
|
|
149
|
-
self.get_output = async_to_raw_response_wrapper(
|
|
150
|
-
step.get_output,
|
|
151
|
-
)
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
class StepResourceWithStreamingResponse:
|
|
155
|
-
def __init__(self, step: StepResource) -> None:
|
|
156
|
-
self._step = step
|
|
157
|
-
|
|
158
|
-
self.get_output = to_streamed_response_wrapper(
|
|
159
|
-
step.get_output,
|
|
160
|
-
)
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
class AsyncStepResourceWithStreamingResponse:
|
|
164
|
-
def __init__(self, step: AsyncStepResource) -> None:
|
|
165
|
-
self._step = step
|
|
166
|
-
|
|
167
|
-
self.get_output = async_to_streamed_response_wrapper(
|
|
168
|
-
step.get_output,
|
|
169
|
-
)
|
|
@@ -1,479 +0,0 @@
|
|
|
1
|
-
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
|
|
3
|
-
from __future__ import annotations
|
|
4
|
-
|
|
5
|
-
import httpx
|
|
6
|
-
|
|
7
|
-
from .step import (
|
|
8
|
-
StepResource,
|
|
9
|
-
AsyncStepResource,
|
|
10
|
-
StepResourceWithRawResponse,
|
|
11
|
-
AsyncStepResourceWithRawResponse,
|
|
12
|
-
StepResourceWithStreamingResponse,
|
|
13
|
-
AsyncStepResourceWithStreamingResponse,
|
|
14
|
-
)
|
|
15
|
-
from ...._types import Body, Query, Headers, NoneType, NotGiven, not_given
|
|
16
|
-
from ...._utils import maybe_transform, async_maybe_transform
|
|
17
|
-
from ...._compat import cached_property
|
|
18
|
-
from ....types.v2 import workflow_run_resume_when_complete_params
|
|
19
|
-
from ...._resource import SyncAPIResource, AsyncAPIResource
|
|
20
|
-
from ...._response import (
|
|
21
|
-
to_raw_response_wrapper,
|
|
22
|
-
to_streamed_response_wrapper,
|
|
23
|
-
async_to_raw_response_wrapper,
|
|
24
|
-
async_to_streamed_response_wrapper,
|
|
25
|
-
)
|
|
26
|
-
from ...._base_client import make_request_options
|
|
27
|
-
from ....types.v2.workflow_run_retrieve_response import WorkflowRunRetrieveResponse
|
|
28
|
-
from ....types.v2.workflow_run_get_start_data_response import WorkflowRunGetStartDataResponse
|
|
29
|
-
from ....types.v2.workflow_run_resume_when_complete_response import WorkflowRunResumeWhenCompleteResponse
|
|
30
|
-
|
|
31
|
-
__all__ = ["WorkflowRunsResource", "AsyncWorkflowRunsResource"]
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
class WorkflowRunsResource(SyncAPIResource):
|
|
35
|
-
@cached_property
|
|
36
|
-
def step(self) -> StepResource:
|
|
37
|
-
return StepResource(self._client)
|
|
38
|
-
|
|
39
|
-
@cached_property
|
|
40
|
-
def with_raw_response(self) -> WorkflowRunsResourceWithRawResponse:
|
|
41
|
-
"""
|
|
42
|
-
This property can be used as a prefix for any HTTP method call to return
|
|
43
|
-
the raw response object instead of the parsed content.
|
|
44
|
-
|
|
45
|
-
For more information, see https://www.github.com/samplehc/samplehc-python#accessing-raw-response-data-eg-headers
|
|
46
|
-
"""
|
|
47
|
-
return WorkflowRunsResourceWithRawResponse(self)
|
|
48
|
-
|
|
49
|
-
@cached_property
|
|
50
|
-
def with_streaming_response(self) -> WorkflowRunsResourceWithStreamingResponse:
|
|
51
|
-
"""
|
|
52
|
-
An alternative to `.with_raw_response` that doesn't eagerly read the response body.
|
|
53
|
-
|
|
54
|
-
For more information, see https://www.github.com/samplehc/samplehc-python#with_streaming_response
|
|
55
|
-
"""
|
|
56
|
-
return WorkflowRunsResourceWithStreamingResponse(self)
|
|
57
|
-
|
|
58
|
-
def retrieve(
|
|
59
|
-
self,
|
|
60
|
-
workflow_run_id: str,
|
|
61
|
-
*,
|
|
62
|
-
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
63
|
-
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
64
|
-
extra_headers: Headers | None = None,
|
|
65
|
-
extra_query: Query | None = None,
|
|
66
|
-
extra_body: Body | None = None,
|
|
67
|
-
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
68
|
-
) -> WorkflowRunRetrieveResponse:
|
|
69
|
-
"""
|
|
70
|
-
Retrieves the complete details of a specific workflow run by its ID.
|
|
71
|
-
|
|
72
|
-
Args:
|
|
73
|
-
extra_headers: Send extra headers
|
|
74
|
-
|
|
75
|
-
extra_query: Add additional query parameters to the request
|
|
76
|
-
|
|
77
|
-
extra_body: Add additional JSON properties to the request
|
|
78
|
-
|
|
79
|
-
timeout: Override the client-level default timeout for this request, in seconds
|
|
80
|
-
"""
|
|
81
|
-
if not workflow_run_id:
|
|
82
|
-
raise ValueError(f"Expected a non-empty value for `workflow_run_id` but received {workflow_run_id!r}")
|
|
83
|
-
return self._get(
|
|
84
|
-
f"/api/v2/workflow-runs/{workflow_run_id}",
|
|
85
|
-
options=make_request_options(
|
|
86
|
-
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
87
|
-
),
|
|
88
|
-
cast_to=WorkflowRunRetrieveResponse,
|
|
89
|
-
)
|
|
90
|
-
|
|
91
|
-
def cancel(
|
|
92
|
-
self,
|
|
93
|
-
workflow_run_id: str,
|
|
94
|
-
*,
|
|
95
|
-
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
96
|
-
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
97
|
-
extra_headers: Headers | None = None,
|
|
98
|
-
extra_query: Query | None = None,
|
|
99
|
-
extra_body: Body | None = None,
|
|
100
|
-
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
101
|
-
) -> object:
|
|
102
|
-
"""Requests cancellation of a currently active workflow run.
|
|
103
|
-
|
|
104
|
-
This is an
|
|
105
|
-
asynchronous operation and the run may take some time to fully stop.
|
|
106
|
-
|
|
107
|
-
Args:
|
|
108
|
-
extra_headers: Send extra headers
|
|
109
|
-
|
|
110
|
-
extra_query: Add additional query parameters to the request
|
|
111
|
-
|
|
112
|
-
extra_body: Add additional JSON properties to the request
|
|
113
|
-
|
|
114
|
-
timeout: Override the client-level default timeout for this request, in seconds
|
|
115
|
-
"""
|
|
116
|
-
if not workflow_run_id:
|
|
117
|
-
raise ValueError(f"Expected a non-empty value for `workflow_run_id` but received {workflow_run_id!r}")
|
|
118
|
-
return self._put(
|
|
119
|
-
f"/api/v2/workflow-runs/{workflow_run_id}/cancel",
|
|
120
|
-
options=make_request_options(
|
|
121
|
-
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
122
|
-
),
|
|
123
|
-
cast_to=object,
|
|
124
|
-
)
|
|
125
|
-
|
|
126
|
-
def get_start_data(
|
|
127
|
-
self,
|
|
128
|
-
*,
|
|
129
|
-
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
130
|
-
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
131
|
-
extra_headers: Headers | None = None,
|
|
132
|
-
extra_query: Query | None = None,
|
|
133
|
-
extra_body: Body | None = None,
|
|
134
|
-
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
135
|
-
) -> WorkflowRunGetStartDataResponse:
|
|
136
|
-
"""
|
|
137
|
-
Retrieves the initial data (startData) that was used to initiate the current
|
|
138
|
-
workflow run. This endpoint requires an ExecuteStepRequestContext with a
|
|
139
|
-
`workflowRunId`.
|
|
140
|
-
"""
|
|
141
|
-
return self._get(
|
|
142
|
-
"/api/v2/workflow-runs/start-data",
|
|
143
|
-
options=make_request_options(
|
|
144
|
-
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
145
|
-
),
|
|
146
|
-
cast_to=WorkflowRunGetStartDataResponse,
|
|
147
|
-
)
|
|
148
|
-
|
|
149
|
-
def resume_when_complete(
|
|
150
|
-
self,
|
|
151
|
-
*,
|
|
152
|
-
async_result_id: str,
|
|
153
|
-
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
154
|
-
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
155
|
-
extra_headers: Headers | None = None,
|
|
156
|
-
extra_query: Query | None = None,
|
|
157
|
-
extra_body: Body | None = None,
|
|
158
|
-
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
159
|
-
) -> WorkflowRunResumeWhenCompleteResponse:
|
|
160
|
-
"""
|
|
161
|
-
Registers an asynchronous task's result ID to resume a workflow run upon its
|
|
162
|
-
completion. This endpoint requires an ExecuteStepRequestContext with
|
|
163
|
-
`workflowRunId` and `stepAddr`.
|
|
164
|
-
|
|
165
|
-
Args:
|
|
166
|
-
async_result_id: The unique identifier of the asynchronous result to monitor before resuming.
|
|
167
|
-
|
|
168
|
-
extra_headers: Send extra headers
|
|
169
|
-
|
|
170
|
-
extra_query: Add additional query parameters to the request
|
|
171
|
-
|
|
172
|
-
extra_body: Add additional JSON properties to the request
|
|
173
|
-
|
|
174
|
-
timeout: Override the client-level default timeout for this request, in seconds
|
|
175
|
-
"""
|
|
176
|
-
return self._post(
|
|
177
|
-
"/api/v2/workflow-runs/resume-when-complete",
|
|
178
|
-
body=maybe_transform(
|
|
179
|
-
{"async_result_id": async_result_id},
|
|
180
|
-
workflow_run_resume_when_complete_params.WorkflowRunResumeWhenCompleteParams,
|
|
181
|
-
),
|
|
182
|
-
options=make_request_options(
|
|
183
|
-
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
184
|
-
),
|
|
185
|
-
cast_to=WorkflowRunResumeWhenCompleteResponse,
|
|
186
|
-
)
|
|
187
|
-
|
|
188
|
-
def retrieve_current_task(
|
|
189
|
-
self,
|
|
190
|
-
*,
|
|
191
|
-
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
192
|
-
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
193
|
-
extra_headers: Headers | None = None,
|
|
194
|
-
extra_query: Query | None = None,
|
|
195
|
-
extra_body: Body | None = None,
|
|
196
|
-
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
197
|
-
) -> None:
|
|
198
|
-
extra_headers = {"Accept": "*/*", **(extra_headers or {})}
|
|
199
|
-
return self._get(
|
|
200
|
-
"/api/v2/workflow-runs/current-task",
|
|
201
|
-
options=make_request_options(
|
|
202
|
-
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
203
|
-
),
|
|
204
|
-
cast_to=NoneType,
|
|
205
|
-
)
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
class AsyncWorkflowRunsResource(AsyncAPIResource):
|
|
209
|
-
@cached_property
|
|
210
|
-
def step(self) -> AsyncStepResource:
|
|
211
|
-
return AsyncStepResource(self._client)
|
|
212
|
-
|
|
213
|
-
@cached_property
|
|
214
|
-
def with_raw_response(self) -> AsyncWorkflowRunsResourceWithRawResponse:
|
|
215
|
-
"""
|
|
216
|
-
This property can be used as a prefix for any HTTP method call to return
|
|
217
|
-
the raw response object instead of the parsed content.
|
|
218
|
-
|
|
219
|
-
For more information, see https://www.github.com/samplehc/samplehc-python#accessing-raw-response-data-eg-headers
|
|
220
|
-
"""
|
|
221
|
-
return AsyncWorkflowRunsResourceWithRawResponse(self)
|
|
222
|
-
|
|
223
|
-
@cached_property
|
|
224
|
-
def with_streaming_response(self) -> AsyncWorkflowRunsResourceWithStreamingResponse:
|
|
225
|
-
"""
|
|
226
|
-
An alternative to `.with_raw_response` that doesn't eagerly read the response body.
|
|
227
|
-
|
|
228
|
-
For more information, see https://www.github.com/samplehc/samplehc-python#with_streaming_response
|
|
229
|
-
"""
|
|
230
|
-
return AsyncWorkflowRunsResourceWithStreamingResponse(self)
|
|
231
|
-
|
|
232
|
-
async def retrieve(
|
|
233
|
-
self,
|
|
234
|
-
workflow_run_id: str,
|
|
235
|
-
*,
|
|
236
|
-
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
237
|
-
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
238
|
-
extra_headers: Headers | None = None,
|
|
239
|
-
extra_query: Query | None = None,
|
|
240
|
-
extra_body: Body | None = None,
|
|
241
|
-
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
242
|
-
) -> WorkflowRunRetrieveResponse:
|
|
243
|
-
"""
|
|
244
|
-
Retrieves the complete details of a specific workflow run by its ID.
|
|
245
|
-
|
|
246
|
-
Args:
|
|
247
|
-
extra_headers: Send extra headers
|
|
248
|
-
|
|
249
|
-
extra_query: Add additional query parameters to the request
|
|
250
|
-
|
|
251
|
-
extra_body: Add additional JSON properties to the request
|
|
252
|
-
|
|
253
|
-
timeout: Override the client-level default timeout for this request, in seconds
|
|
254
|
-
"""
|
|
255
|
-
if not workflow_run_id:
|
|
256
|
-
raise ValueError(f"Expected a non-empty value for `workflow_run_id` but received {workflow_run_id!r}")
|
|
257
|
-
return await self._get(
|
|
258
|
-
f"/api/v2/workflow-runs/{workflow_run_id}",
|
|
259
|
-
options=make_request_options(
|
|
260
|
-
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
261
|
-
),
|
|
262
|
-
cast_to=WorkflowRunRetrieveResponse,
|
|
263
|
-
)
|
|
264
|
-
|
|
265
|
-
async def cancel(
|
|
266
|
-
self,
|
|
267
|
-
workflow_run_id: str,
|
|
268
|
-
*,
|
|
269
|
-
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
270
|
-
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
271
|
-
extra_headers: Headers | None = None,
|
|
272
|
-
extra_query: Query | None = None,
|
|
273
|
-
extra_body: Body | None = None,
|
|
274
|
-
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
275
|
-
) -> object:
|
|
276
|
-
"""Requests cancellation of a currently active workflow run.
|
|
277
|
-
|
|
278
|
-
This is an
|
|
279
|
-
asynchronous operation and the run may take some time to fully stop.
|
|
280
|
-
|
|
281
|
-
Args:
|
|
282
|
-
extra_headers: Send extra headers
|
|
283
|
-
|
|
284
|
-
extra_query: Add additional query parameters to the request
|
|
285
|
-
|
|
286
|
-
extra_body: Add additional JSON properties to the request
|
|
287
|
-
|
|
288
|
-
timeout: Override the client-level default timeout for this request, in seconds
|
|
289
|
-
"""
|
|
290
|
-
if not workflow_run_id:
|
|
291
|
-
raise ValueError(f"Expected a non-empty value for `workflow_run_id` but received {workflow_run_id!r}")
|
|
292
|
-
return await self._put(
|
|
293
|
-
f"/api/v2/workflow-runs/{workflow_run_id}/cancel",
|
|
294
|
-
options=make_request_options(
|
|
295
|
-
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
296
|
-
),
|
|
297
|
-
cast_to=object,
|
|
298
|
-
)
|
|
299
|
-
|
|
300
|
-
async def get_start_data(
|
|
301
|
-
self,
|
|
302
|
-
*,
|
|
303
|
-
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
304
|
-
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
305
|
-
extra_headers: Headers | None = None,
|
|
306
|
-
extra_query: Query | None = None,
|
|
307
|
-
extra_body: Body | None = None,
|
|
308
|
-
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
309
|
-
) -> WorkflowRunGetStartDataResponse:
|
|
310
|
-
"""
|
|
311
|
-
Retrieves the initial data (startData) that was used to initiate the current
|
|
312
|
-
workflow run. This endpoint requires an ExecuteStepRequestContext with a
|
|
313
|
-
`workflowRunId`.
|
|
314
|
-
"""
|
|
315
|
-
return await self._get(
|
|
316
|
-
"/api/v2/workflow-runs/start-data",
|
|
317
|
-
options=make_request_options(
|
|
318
|
-
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
319
|
-
),
|
|
320
|
-
cast_to=WorkflowRunGetStartDataResponse,
|
|
321
|
-
)
|
|
322
|
-
|
|
323
|
-
async def resume_when_complete(
|
|
324
|
-
self,
|
|
325
|
-
*,
|
|
326
|
-
async_result_id: str,
|
|
327
|
-
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
328
|
-
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
329
|
-
extra_headers: Headers | None = None,
|
|
330
|
-
extra_query: Query | None = None,
|
|
331
|
-
extra_body: Body | None = None,
|
|
332
|
-
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
333
|
-
) -> WorkflowRunResumeWhenCompleteResponse:
|
|
334
|
-
"""
|
|
335
|
-
Registers an asynchronous task's result ID to resume a workflow run upon its
|
|
336
|
-
completion. This endpoint requires an ExecuteStepRequestContext with
|
|
337
|
-
`workflowRunId` and `stepAddr`.
|
|
338
|
-
|
|
339
|
-
Args:
|
|
340
|
-
async_result_id: The unique identifier of the asynchronous result to monitor before resuming.
|
|
341
|
-
|
|
342
|
-
extra_headers: Send extra headers
|
|
343
|
-
|
|
344
|
-
extra_query: Add additional query parameters to the request
|
|
345
|
-
|
|
346
|
-
extra_body: Add additional JSON properties to the request
|
|
347
|
-
|
|
348
|
-
timeout: Override the client-level default timeout for this request, in seconds
|
|
349
|
-
"""
|
|
350
|
-
return await self._post(
|
|
351
|
-
"/api/v2/workflow-runs/resume-when-complete",
|
|
352
|
-
body=await async_maybe_transform(
|
|
353
|
-
{"async_result_id": async_result_id},
|
|
354
|
-
workflow_run_resume_when_complete_params.WorkflowRunResumeWhenCompleteParams,
|
|
355
|
-
),
|
|
356
|
-
options=make_request_options(
|
|
357
|
-
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
358
|
-
),
|
|
359
|
-
cast_to=WorkflowRunResumeWhenCompleteResponse,
|
|
360
|
-
)
|
|
361
|
-
|
|
362
|
-
async def retrieve_current_task(
|
|
363
|
-
self,
|
|
364
|
-
*,
|
|
365
|
-
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
366
|
-
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
367
|
-
extra_headers: Headers | None = None,
|
|
368
|
-
extra_query: Query | None = None,
|
|
369
|
-
extra_body: Body | None = None,
|
|
370
|
-
timeout: float | httpx.Timeout | None | NotGiven = not_given,
|
|
371
|
-
) -> None:
|
|
372
|
-
extra_headers = {"Accept": "*/*", **(extra_headers or {})}
|
|
373
|
-
return await self._get(
|
|
374
|
-
"/api/v2/workflow-runs/current-task",
|
|
375
|
-
options=make_request_options(
|
|
376
|
-
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
377
|
-
),
|
|
378
|
-
cast_to=NoneType,
|
|
379
|
-
)
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
class WorkflowRunsResourceWithRawResponse:
|
|
383
|
-
def __init__(self, workflow_runs: WorkflowRunsResource) -> None:
|
|
384
|
-
self._workflow_runs = workflow_runs
|
|
385
|
-
|
|
386
|
-
self.retrieve = to_raw_response_wrapper(
|
|
387
|
-
workflow_runs.retrieve,
|
|
388
|
-
)
|
|
389
|
-
self.cancel = to_raw_response_wrapper(
|
|
390
|
-
workflow_runs.cancel,
|
|
391
|
-
)
|
|
392
|
-
self.get_start_data = to_raw_response_wrapper(
|
|
393
|
-
workflow_runs.get_start_data,
|
|
394
|
-
)
|
|
395
|
-
self.resume_when_complete = to_raw_response_wrapper(
|
|
396
|
-
workflow_runs.resume_when_complete,
|
|
397
|
-
)
|
|
398
|
-
self.retrieve_current_task = to_raw_response_wrapper(
|
|
399
|
-
workflow_runs.retrieve_current_task,
|
|
400
|
-
)
|
|
401
|
-
|
|
402
|
-
@cached_property
|
|
403
|
-
def step(self) -> StepResourceWithRawResponse:
|
|
404
|
-
return StepResourceWithRawResponse(self._workflow_runs.step)
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
class AsyncWorkflowRunsResourceWithRawResponse:
|
|
408
|
-
def __init__(self, workflow_runs: AsyncWorkflowRunsResource) -> None:
|
|
409
|
-
self._workflow_runs = workflow_runs
|
|
410
|
-
|
|
411
|
-
self.retrieve = async_to_raw_response_wrapper(
|
|
412
|
-
workflow_runs.retrieve,
|
|
413
|
-
)
|
|
414
|
-
self.cancel = async_to_raw_response_wrapper(
|
|
415
|
-
workflow_runs.cancel,
|
|
416
|
-
)
|
|
417
|
-
self.get_start_data = async_to_raw_response_wrapper(
|
|
418
|
-
workflow_runs.get_start_data,
|
|
419
|
-
)
|
|
420
|
-
self.resume_when_complete = async_to_raw_response_wrapper(
|
|
421
|
-
workflow_runs.resume_when_complete,
|
|
422
|
-
)
|
|
423
|
-
self.retrieve_current_task = async_to_raw_response_wrapper(
|
|
424
|
-
workflow_runs.retrieve_current_task,
|
|
425
|
-
)
|
|
426
|
-
|
|
427
|
-
@cached_property
|
|
428
|
-
def step(self) -> AsyncStepResourceWithRawResponse:
|
|
429
|
-
return AsyncStepResourceWithRawResponse(self._workflow_runs.step)
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
class WorkflowRunsResourceWithStreamingResponse:
|
|
433
|
-
def __init__(self, workflow_runs: WorkflowRunsResource) -> None:
|
|
434
|
-
self._workflow_runs = workflow_runs
|
|
435
|
-
|
|
436
|
-
self.retrieve = to_streamed_response_wrapper(
|
|
437
|
-
workflow_runs.retrieve,
|
|
438
|
-
)
|
|
439
|
-
self.cancel = to_streamed_response_wrapper(
|
|
440
|
-
workflow_runs.cancel,
|
|
441
|
-
)
|
|
442
|
-
self.get_start_data = to_streamed_response_wrapper(
|
|
443
|
-
workflow_runs.get_start_data,
|
|
444
|
-
)
|
|
445
|
-
self.resume_when_complete = to_streamed_response_wrapper(
|
|
446
|
-
workflow_runs.resume_when_complete,
|
|
447
|
-
)
|
|
448
|
-
self.retrieve_current_task = to_streamed_response_wrapper(
|
|
449
|
-
workflow_runs.retrieve_current_task,
|
|
450
|
-
)
|
|
451
|
-
|
|
452
|
-
@cached_property
|
|
453
|
-
def step(self) -> StepResourceWithStreamingResponse:
|
|
454
|
-
return StepResourceWithStreamingResponse(self._workflow_runs.step)
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
class AsyncWorkflowRunsResourceWithStreamingResponse:
|
|
458
|
-
def __init__(self, workflow_runs: AsyncWorkflowRunsResource) -> None:
|
|
459
|
-
self._workflow_runs = workflow_runs
|
|
460
|
-
|
|
461
|
-
self.retrieve = async_to_streamed_response_wrapper(
|
|
462
|
-
workflow_runs.retrieve,
|
|
463
|
-
)
|
|
464
|
-
self.cancel = async_to_streamed_response_wrapper(
|
|
465
|
-
workflow_runs.cancel,
|
|
466
|
-
)
|
|
467
|
-
self.get_start_data = async_to_streamed_response_wrapper(
|
|
468
|
-
workflow_runs.get_start_data,
|
|
469
|
-
)
|
|
470
|
-
self.resume_when_complete = async_to_streamed_response_wrapper(
|
|
471
|
-
workflow_runs.resume_when_complete,
|
|
472
|
-
)
|
|
473
|
-
self.retrieve_current_task = async_to_streamed_response_wrapper(
|
|
474
|
-
workflow_runs.retrieve_current_task,
|
|
475
|
-
)
|
|
476
|
-
|
|
477
|
-
@cached_property
|
|
478
|
-
def step(self) -> AsyncStepResourceWithStreamingResponse:
|
|
479
|
-
return AsyncStepResourceWithStreamingResponse(self._workflow_runs.step)
|