hatchet-sdk 1.2.5__py3-none-any.whl → 1.3.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.
Potentially problematic release.
This version of hatchet-sdk might be problematic. Click here for more details.
- hatchet_sdk/__init__.py +7 -5
- hatchet_sdk/client.py +14 -6
- hatchet_sdk/clients/admin.py +57 -15
- hatchet_sdk/clients/dispatcher/action_listener.py +2 -2
- hatchet_sdk/clients/dispatcher/dispatcher.py +20 -7
- hatchet_sdk/clients/event_ts.py +25 -5
- hatchet_sdk/clients/listeners/durable_event_listener.py +125 -0
- hatchet_sdk/clients/listeners/pooled_listener.py +255 -0
- hatchet_sdk/clients/listeners/workflow_listener.py +62 -0
- hatchet_sdk/clients/rest/api/api_token_api.py +24 -24
- hatchet_sdk/clients/rest/api/default_api.py +64 -64
- hatchet_sdk/clients/rest/api/event_api.py +64 -64
- hatchet_sdk/clients/rest/api/github_api.py +8 -8
- hatchet_sdk/clients/rest/api/healthcheck_api.py +16 -16
- hatchet_sdk/clients/rest/api/log_api.py +16 -16
- hatchet_sdk/clients/rest/api/metadata_api.py +24 -24
- hatchet_sdk/clients/rest/api/rate_limits_api.py +8 -8
- hatchet_sdk/clients/rest/api/slack_api.py +16 -16
- hatchet_sdk/clients/rest/api/sns_api.py +24 -24
- hatchet_sdk/clients/rest/api/step_run_api.py +56 -56
- hatchet_sdk/clients/rest/api/task_api.py +56 -56
- hatchet_sdk/clients/rest/api/tenant_api.py +128 -128
- hatchet_sdk/clients/rest/api/user_api.py +96 -96
- hatchet_sdk/clients/rest/api/worker_api.py +24 -24
- hatchet_sdk/clients/rest/api/workflow_api.py +144 -144
- hatchet_sdk/clients/rest/api/workflow_run_api.py +48 -48
- hatchet_sdk/clients/rest/api/workflow_runs_api.py +40 -40
- hatchet_sdk/clients/rest/api_client.py +5 -8
- hatchet_sdk/clients/rest/configuration.py +7 -3
- hatchet_sdk/clients/rest/models/tenant_step_run_queue_metrics.py +2 -2
- hatchet_sdk/clients/rest/models/v1_task_summary.py +5 -0
- hatchet_sdk/clients/rest/models/workflow_runs_metrics.py +5 -1
- hatchet_sdk/clients/rest/rest.py +160 -111
- hatchet_sdk/clients/v1/api_client.py +2 -2
- hatchet_sdk/context/context.py +22 -21
- hatchet_sdk/features/cron.py +41 -40
- hatchet_sdk/features/logs.py +7 -6
- hatchet_sdk/features/metrics.py +19 -18
- hatchet_sdk/features/runs.py +88 -68
- hatchet_sdk/features/scheduled.py +42 -42
- hatchet_sdk/features/workers.py +17 -16
- hatchet_sdk/features/workflows.py +15 -14
- hatchet_sdk/hatchet.py +1 -1
- hatchet_sdk/runnables/standalone.py +12 -9
- hatchet_sdk/runnables/task.py +66 -2
- hatchet_sdk/runnables/types.py +8 -0
- hatchet_sdk/runnables/workflow.py +48 -136
- hatchet_sdk/waits.py +8 -8
- hatchet_sdk/worker/runner/run_loop_manager.py +4 -4
- hatchet_sdk/worker/runner/runner.py +22 -11
- hatchet_sdk/worker/worker.py +29 -25
- hatchet_sdk/workflow_run.py +55 -9
- {hatchet_sdk-1.2.5.dist-info → hatchet_sdk-1.3.0.dist-info}/METADATA +1 -1
- {hatchet_sdk-1.2.5.dist-info → hatchet_sdk-1.3.0.dist-info}/RECORD +57 -57
- hatchet_sdk/clients/durable_event_listener.py +0 -329
- hatchet_sdk/clients/workflow_listener.py +0 -288
- hatchet_sdk/utils/aio.py +0 -43
- /hatchet_sdk/clients/{run_event_listener.py → listeners/run_event_listener.py} +0 -0
- {hatchet_sdk-1.2.5.dist-info → hatchet_sdk-1.3.0.dist-info}/WHEEL +0 -0
- {hatchet_sdk-1.2.5.dist-info → hatchet_sdk-1.3.0.dist-info}/entry_points.txt +0 -0
|
@@ -59,7 +59,7 @@ class WorkflowRunApi:
|
|
|
59
59
|
self.api_client = api_client
|
|
60
60
|
|
|
61
61
|
@validate_call
|
|
62
|
-
|
|
62
|
+
def cron_workflow_trigger_create(
|
|
63
63
|
self,
|
|
64
64
|
tenant: Annotated[
|
|
65
65
|
str,
|
|
@@ -133,17 +133,17 @@ class WorkflowRunApi:
|
|
|
133
133
|
"404": "APIErrors",
|
|
134
134
|
"429": "APIErrors",
|
|
135
135
|
}
|
|
136
|
-
response_data =
|
|
136
|
+
response_data = self.api_client.call_api(
|
|
137
137
|
*_param, _request_timeout=_request_timeout
|
|
138
138
|
)
|
|
139
|
-
|
|
139
|
+
response_data.read()
|
|
140
140
|
return self.api_client.response_deserialize(
|
|
141
141
|
response_data=response_data,
|
|
142
142
|
response_types_map=_response_types_map,
|
|
143
143
|
).data
|
|
144
144
|
|
|
145
145
|
@validate_call
|
|
146
|
-
|
|
146
|
+
def cron_workflow_trigger_create_with_http_info(
|
|
147
147
|
self,
|
|
148
148
|
tenant: Annotated[
|
|
149
149
|
str,
|
|
@@ -217,17 +217,17 @@ class WorkflowRunApi:
|
|
|
217
217
|
"404": "APIErrors",
|
|
218
218
|
"429": "APIErrors",
|
|
219
219
|
}
|
|
220
|
-
response_data =
|
|
220
|
+
response_data = self.api_client.call_api(
|
|
221
221
|
*_param, _request_timeout=_request_timeout
|
|
222
222
|
)
|
|
223
|
-
|
|
223
|
+
response_data.read()
|
|
224
224
|
return self.api_client.response_deserialize(
|
|
225
225
|
response_data=response_data,
|
|
226
226
|
response_types_map=_response_types_map,
|
|
227
227
|
)
|
|
228
228
|
|
|
229
229
|
@validate_call
|
|
230
|
-
|
|
230
|
+
def cron_workflow_trigger_create_without_preload_content(
|
|
231
231
|
self,
|
|
232
232
|
tenant: Annotated[
|
|
233
233
|
str,
|
|
@@ -301,7 +301,7 @@ class WorkflowRunApi:
|
|
|
301
301
|
"404": "APIErrors",
|
|
302
302
|
"429": "APIErrors",
|
|
303
303
|
}
|
|
304
|
-
response_data =
|
|
304
|
+
response_data = self.api_client.call_api(
|
|
305
305
|
*_param, _request_timeout=_request_timeout
|
|
306
306
|
)
|
|
307
307
|
return response_data.response
|
|
@@ -377,7 +377,7 @@ class WorkflowRunApi:
|
|
|
377
377
|
)
|
|
378
378
|
|
|
379
379
|
@validate_call
|
|
380
|
-
|
|
380
|
+
def scheduled_workflow_run_create(
|
|
381
381
|
self,
|
|
382
382
|
tenant: Annotated[
|
|
383
383
|
str,
|
|
@@ -451,17 +451,17 @@ class WorkflowRunApi:
|
|
|
451
451
|
"404": "APIErrors",
|
|
452
452
|
"429": "APIErrors",
|
|
453
453
|
}
|
|
454
|
-
response_data =
|
|
454
|
+
response_data = self.api_client.call_api(
|
|
455
455
|
*_param, _request_timeout=_request_timeout
|
|
456
456
|
)
|
|
457
|
-
|
|
457
|
+
response_data.read()
|
|
458
458
|
return self.api_client.response_deserialize(
|
|
459
459
|
response_data=response_data,
|
|
460
460
|
response_types_map=_response_types_map,
|
|
461
461
|
).data
|
|
462
462
|
|
|
463
463
|
@validate_call
|
|
464
|
-
|
|
464
|
+
def scheduled_workflow_run_create_with_http_info(
|
|
465
465
|
self,
|
|
466
466
|
tenant: Annotated[
|
|
467
467
|
str,
|
|
@@ -535,17 +535,17 @@ class WorkflowRunApi:
|
|
|
535
535
|
"404": "APIErrors",
|
|
536
536
|
"429": "APIErrors",
|
|
537
537
|
}
|
|
538
|
-
response_data =
|
|
538
|
+
response_data = self.api_client.call_api(
|
|
539
539
|
*_param, _request_timeout=_request_timeout
|
|
540
540
|
)
|
|
541
|
-
|
|
541
|
+
response_data.read()
|
|
542
542
|
return self.api_client.response_deserialize(
|
|
543
543
|
response_data=response_data,
|
|
544
544
|
response_types_map=_response_types_map,
|
|
545
545
|
)
|
|
546
546
|
|
|
547
547
|
@validate_call
|
|
548
|
-
|
|
548
|
+
def scheduled_workflow_run_create_without_preload_content(
|
|
549
549
|
self,
|
|
550
550
|
tenant: Annotated[
|
|
551
551
|
str,
|
|
@@ -619,7 +619,7 @@ class WorkflowRunApi:
|
|
|
619
619
|
"404": "APIErrors",
|
|
620
620
|
"429": "APIErrors",
|
|
621
621
|
}
|
|
622
|
-
response_data =
|
|
622
|
+
response_data = self.api_client.call_api(
|
|
623
623
|
*_param, _request_timeout=_request_timeout
|
|
624
624
|
)
|
|
625
625
|
return response_data.response
|
|
@@ -695,7 +695,7 @@ class WorkflowRunApi:
|
|
|
695
695
|
)
|
|
696
696
|
|
|
697
697
|
@validate_call
|
|
698
|
-
|
|
698
|
+
def workflow_run_cancel(
|
|
699
699
|
self,
|
|
700
700
|
tenant: Annotated[
|
|
701
701
|
str,
|
|
@@ -763,17 +763,17 @@ class WorkflowRunApi:
|
|
|
763
763
|
"400": "APIErrors",
|
|
764
764
|
"403": "APIErrors",
|
|
765
765
|
}
|
|
766
|
-
response_data =
|
|
766
|
+
response_data = self.api_client.call_api(
|
|
767
767
|
*_param, _request_timeout=_request_timeout
|
|
768
768
|
)
|
|
769
|
-
|
|
769
|
+
response_data.read()
|
|
770
770
|
return self.api_client.response_deserialize(
|
|
771
771
|
response_data=response_data,
|
|
772
772
|
response_types_map=_response_types_map,
|
|
773
773
|
).data
|
|
774
774
|
|
|
775
775
|
@validate_call
|
|
776
|
-
|
|
776
|
+
def workflow_run_cancel_with_http_info(
|
|
777
777
|
self,
|
|
778
778
|
tenant: Annotated[
|
|
779
779
|
str,
|
|
@@ -841,17 +841,17 @@ class WorkflowRunApi:
|
|
|
841
841
|
"400": "APIErrors",
|
|
842
842
|
"403": "APIErrors",
|
|
843
843
|
}
|
|
844
|
-
response_data =
|
|
844
|
+
response_data = self.api_client.call_api(
|
|
845
845
|
*_param, _request_timeout=_request_timeout
|
|
846
846
|
)
|
|
847
|
-
|
|
847
|
+
response_data.read()
|
|
848
848
|
return self.api_client.response_deserialize(
|
|
849
849
|
response_data=response_data,
|
|
850
850
|
response_types_map=_response_types_map,
|
|
851
851
|
)
|
|
852
852
|
|
|
853
853
|
@validate_call
|
|
854
|
-
|
|
854
|
+
def workflow_run_cancel_without_preload_content(
|
|
855
855
|
self,
|
|
856
856
|
tenant: Annotated[
|
|
857
857
|
str,
|
|
@@ -919,7 +919,7 @@ class WorkflowRunApi:
|
|
|
919
919
|
"400": "APIErrors",
|
|
920
920
|
"403": "APIErrors",
|
|
921
921
|
}
|
|
922
|
-
response_data =
|
|
922
|
+
response_data = self.api_client.call_api(
|
|
923
923
|
*_param, _request_timeout=_request_timeout
|
|
924
924
|
)
|
|
925
925
|
return response_data.response
|
|
@@ -992,7 +992,7 @@ class WorkflowRunApi:
|
|
|
992
992
|
)
|
|
993
993
|
|
|
994
994
|
@validate_call
|
|
995
|
-
|
|
995
|
+
def workflow_run_create(
|
|
996
996
|
self,
|
|
997
997
|
workflow: Annotated[
|
|
998
998
|
str,
|
|
@@ -1071,17 +1071,17 @@ class WorkflowRunApi:
|
|
|
1071
1071
|
"404": "APIErrors",
|
|
1072
1072
|
"429": "APIErrors",
|
|
1073
1073
|
}
|
|
1074
|
-
response_data =
|
|
1074
|
+
response_data = self.api_client.call_api(
|
|
1075
1075
|
*_param, _request_timeout=_request_timeout
|
|
1076
1076
|
)
|
|
1077
|
-
|
|
1077
|
+
response_data.read()
|
|
1078
1078
|
return self.api_client.response_deserialize(
|
|
1079
1079
|
response_data=response_data,
|
|
1080
1080
|
response_types_map=_response_types_map,
|
|
1081
1081
|
).data
|
|
1082
1082
|
|
|
1083
1083
|
@validate_call
|
|
1084
|
-
|
|
1084
|
+
def workflow_run_create_with_http_info(
|
|
1085
1085
|
self,
|
|
1086
1086
|
workflow: Annotated[
|
|
1087
1087
|
str,
|
|
@@ -1160,17 +1160,17 @@ class WorkflowRunApi:
|
|
|
1160
1160
|
"404": "APIErrors",
|
|
1161
1161
|
"429": "APIErrors",
|
|
1162
1162
|
}
|
|
1163
|
-
response_data =
|
|
1163
|
+
response_data = self.api_client.call_api(
|
|
1164
1164
|
*_param, _request_timeout=_request_timeout
|
|
1165
1165
|
)
|
|
1166
|
-
|
|
1166
|
+
response_data.read()
|
|
1167
1167
|
return self.api_client.response_deserialize(
|
|
1168
1168
|
response_data=response_data,
|
|
1169
1169
|
response_types_map=_response_types_map,
|
|
1170
1170
|
)
|
|
1171
1171
|
|
|
1172
1172
|
@validate_call
|
|
1173
|
-
|
|
1173
|
+
def workflow_run_create_without_preload_content(
|
|
1174
1174
|
self,
|
|
1175
1175
|
workflow: Annotated[
|
|
1176
1176
|
str,
|
|
@@ -1249,7 +1249,7 @@ class WorkflowRunApi:
|
|
|
1249
1249
|
"404": "APIErrors",
|
|
1250
1250
|
"429": "APIErrors",
|
|
1251
1251
|
}
|
|
1252
|
-
response_data =
|
|
1252
|
+
response_data = self.api_client.call_api(
|
|
1253
1253
|
*_param, _request_timeout=_request_timeout
|
|
1254
1254
|
)
|
|
1255
1255
|
return response_data.response
|
|
@@ -1327,7 +1327,7 @@ class WorkflowRunApi:
|
|
|
1327
1327
|
)
|
|
1328
1328
|
|
|
1329
1329
|
@validate_call
|
|
1330
|
-
|
|
1330
|
+
def workflow_run_get_input(
|
|
1331
1331
|
self,
|
|
1332
1332
|
tenant: Annotated[
|
|
1333
1333
|
str,
|
|
@@ -1401,17 +1401,17 @@ class WorkflowRunApi:
|
|
|
1401
1401
|
"403": "APIErrors",
|
|
1402
1402
|
"404": "APIErrors",
|
|
1403
1403
|
}
|
|
1404
|
-
response_data =
|
|
1404
|
+
response_data = self.api_client.call_api(
|
|
1405
1405
|
*_param, _request_timeout=_request_timeout
|
|
1406
1406
|
)
|
|
1407
|
-
|
|
1407
|
+
response_data.read()
|
|
1408
1408
|
return self.api_client.response_deserialize(
|
|
1409
1409
|
response_data=response_data,
|
|
1410
1410
|
response_types_map=_response_types_map,
|
|
1411
1411
|
).data
|
|
1412
1412
|
|
|
1413
1413
|
@validate_call
|
|
1414
|
-
|
|
1414
|
+
def workflow_run_get_input_with_http_info(
|
|
1415
1415
|
self,
|
|
1416
1416
|
tenant: Annotated[
|
|
1417
1417
|
str,
|
|
@@ -1485,17 +1485,17 @@ class WorkflowRunApi:
|
|
|
1485
1485
|
"403": "APIErrors",
|
|
1486
1486
|
"404": "APIErrors",
|
|
1487
1487
|
}
|
|
1488
|
-
response_data =
|
|
1488
|
+
response_data = self.api_client.call_api(
|
|
1489
1489
|
*_param, _request_timeout=_request_timeout
|
|
1490
1490
|
)
|
|
1491
|
-
|
|
1491
|
+
response_data.read()
|
|
1492
1492
|
return self.api_client.response_deserialize(
|
|
1493
1493
|
response_data=response_data,
|
|
1494
1494
|
response_types_map=_response_types_map,
|
|
1495
1495
|
)
|
|
1496
1496
|
|
|
1497
1497
|
@validate_call
|
|
1498
|
-
|
|
1498
|
+
def workflow_run_get_input_without_preload_content(
|
|
1499
1499
|
self,
|
|
1500
1500
|
tenant: Annotated[
|
|
1501
1501
|
str,
|
|
@@ -1569,7 +1569,7 @@ class WorkflowRunApi:
|
|
|
1569
1569
|
"403": "APIErrors",
|
|
1570
1570
|
"404": "APIErrors",
|
|
1571
1571
|
}
|
|
1572
|
-
response_data =
|
|
1572
|
+
response_data = self.api_client.call_api(
|
|
1573
1573
|
*_param, _request_timeout=_request_timeout
|
|
1574
1574
|
)
|
|
1575
1575
|
return response_data.response
|
|
@@ -1632,7 +1632,7 @@ class WorkflowRunApi:
|
|
|
1632
1632
|
)
|
|
1633
1633
|
|
|
1634
1634
|
@validate_call
|
|
1635
|
-
|
|
1635
|
+
def workflow_run_update_replay(
|
|
1636
1636
|
self,
|
|
1637
1637
|
tenant: Annotated[
|
|
1638
1638
|
str,
|
|
@@ -1701,17 +1701,17 @@ class WorkflowRunApi:
|
|
|
1701
1701
|
"403": "APIErrors",
|
|
1702
1702
|
"429": "APIErrors",
|
|
1703
1703
|
}
|
|
1704
|
-
response_data =
|
|
1704
|
+
response_data = self.api_client.call_api(
|
|
1705
1705
|
*_param, _request_timeout=_request_timeout
|
|
1706
1706
|
)
|
|
1707
|
-
|
|
1707
|
+
response_data.read()
|
|
1708
1708
|
return self.api_client.response_deserialize(
|
|
1709
1709
|
response_data=response_data,
|
|
1710
1710
|
response_types_map=_response_types_map,
|
|
1711
1711
|
).data
|
|
1712
1712
|
|
|
1713
1713
|
@validate_call
|
|
1714
|
-
|
|
1714
|
+
def workflow_run_update_replay_with_http_info(
|
|
1715
1715
|
self,
|
|
1716
1716
|
tenant: Annotated[
|
|
1717
1717
|
str,
|
|
@@ -1780,17 +1780,17 @@ class WorkflowRunApi:
|
|
|
1780
1780
|
"403": "APIErrors",
|
|
1781
1781
|
"429": "APIErrors",
|
|
1782
1782
|
}
|
|
1783
|
-
response_data =
|
|
1783
|
+
response_data = self.api_client.call_api(
|
|
1784
1784
|
*_param, _request_timeout=_request_timeout
|
|
1785
1785
|
)
|
|
1786
|
-
|
|
1786
|
+
response_data.read()
|
|
1787
1787
|
return self.api_client.response_deserialize(
|
|
1788
1788
|
response_data=response_data,
|
|
1789
1789
|
response_types_map=_response_types_map,
|
|
1790
1790
|
)
|
|
1791
1791
|
|
|
1792
1792
|
@validate_call
|
|
1793
|
-
|
|
1793
|
+
def workflow_run_update_replay_without_preload_content(
|
|
1794
1794
|
self,
|
|
1795
1795
|
tenant: Annotated[
|
|
1796
1796
|
str,
|
|
@@ -1859,7 +1859,7 @@ class WorkflowRunApi:
|
|
|
1859
1859
|
"403": "APIErrors",
|
|
1860
1860
|
"429": "APIErrors",
|
|
1861
1861
|
}
|
|
1862
|
-
response_data =
|
|
1862
|
+
response_data = self.api_client.call_api(
|
|
1863
1863
|
*_param, _request_timeout=_request_timeout
|
|
1864
1864
|
)
|
|
1865
1865
|
return response_data.response
|
|
@@ -46,7 +46,7 @@ class WorkflowRunsApi:
|
|
|
46
46
|
self.api_client = api_client
|
|
47
47
|
|
|
48
48
|
@validate_call
|
|
49
|
-
|
|
49
|
+
def v1_workflow_run_create(
|
|
50
50
|
self,
|
|
51
51
|
tenant: Annotated[
|
|
52
52
|
str,
|
|
@@ -113,17 +113,17 @@ class WorkflowRunsApi:
|
|
|
113
113
|
"400": "APIErrors",
|
|
114
114
|
"403": "APIErrors",
|
|
115
115
|
}
|
|
116
|
-
response_data =
|
|
116
|
+
response_data = self.api_client.call_api(
|
|
117
117
|
*_param, _request_timeout=_request_timeout
|
|
118
118
|
)
|
|
119
|
-
|
|
119
|
+
response_data.read()
|
|
120
120
|
return self.api_client.response_deserialize(
|
|
121
121
|
response_data=response_data,
|
|
122
122
|
response_types_map=_response_types_map,
|
|
123
123
|
).data
|
|
124
124
|
|
|
125
125
|
@validate_call
|
|
126
|
-
|
|
126
|
+
def v1_workflow_run_create_with_http_info(
|
|
127
127
|
self,
|
|
128
128
|
tenant: Annotated[
|
|
129
129
|
str,
|
|
@@ -190,17 +190,17 @@ class WorkflowRunsApi:
|
|
|
190
190
|
"400": "APIErrors",
|
|
191
191
|
"403": "APIErrors",
|
|
192
192
|
}
|
|
193
|
-
response_data =
|
|
193
|
+
response_data = self.api_client.call_api(
|
|
194
194
|
*_param, _request_timeout=_request_timeout
|
|
195
195
|
)
|
|
196
|
-
|
|
196
|
+
response_data.read()
|
|
197
197
|
return self.api_client.response_deserialize(
|
|
198
198
|
response_data=response_data,
|
|
199
199
|
response_types_map=_response_types_map,
|
|
200
200
|
)
|
|
201
201
|
|
|
202
202
|
@validate_call
|
|
203
|
-
|
|
203
|
+
def v1_workflow_run_create_without_preload_content(
|
|
204
204
|
self,
|
|
205
205
|
tenant: Annotated[
|
|
206
206
|
str,
|
|
@@ -267,7 +267,7 @@ class WorkflowRunsApi:
|
|
|
267
267
|
"400": "APIErrors",
|
|
268
268
|
"403": "APIErrors",
|
|
269
269
|
}
|
|
270
|
-
response_data =
|
|
270
|
+
response_data = self.api_client.call_api(
|
|
271
271
|
*_param, _request_timeout=_request_timeout
|
|
272
272
|
)
|
|
273
273
|
return response_data.response
|
|
@@ -340,7 +340,7 @@ class WorkflowRunsApi:
|
|
|
340
340
|
)
|
|
341
341
|
|
|
342
342
|
@validate_call
|
|
343
|
-
|
|
343
|
+
def v1_workflow_run_display_names_list(
|
|
344
344
|
self,
|
|
345
345
|
tenant: Annotated[
|
|
346
346
|
str,
|
|
@@ -411,17 +411,17 @@ class WorkflowRunsApi:
|
|
|
411
411
|
"403": "APIErrors",
|
|
412
412
|
"501": "APIErrors",
|
|
413
413
|
}
|
|
414
|
-
response_data =
|
|
414
|
+
response_data = self.api_client.call_api(
|
|
415
415
|
*_param, _request_timeout=_request_timeout
|
|
416
416
|
)
|
|
417
|
-
|
|
417
|
+
response_data.read()
|
|
418
418
|
return self.api_client.response_deserialize(
|
|
419
419
|
response_data=response_data,
|
|
420
420
|
response_types_map=_response_types_map,
|
|
421
421
|
).data
|
|
422
422
|
|
|
423
423
|
@validate_call
|
|
424
|
-
|
|
424
|
+
def v1_workflow_run_display_names_list_with_http_info(
|
|
425
425
|
self,
|
|
426
426
|
tenant: Annotated[
|
|
427
427
|
str,
|
|
@@ -492,17 +492,17 @@ class WorkflowRunsApi:
|
|
|
492
492
|
"403": "APIErrors",
|
|
493
493
|
"501": "APIErrors",
|
|
494
494
|
}
|
|
495
|
-
response_data =
|
|
495
|
+
response_data = self.api_client.call_api(
|
|
496
496
|
*_param, _request_timeout=_request_timeout
|
|
497
497
|
)
|
|
498
|
-
|
|
498
|
+
response_data.read()
|
|
499
499
|
return self.api_client.response_deserialize(
|
|
500
500
|
response_data=response_data,
|
|
501
501
|
response_types_map=_response_types_map,
|
|
502
502
|
)
|
|
503
503
|
|
|
504
504
|
@validate_call
|
|
505
|
-
|
|
505
|
+
def v1_workflow_run_display_names_list_without_preload_content(
|
|
506
506
|
self,
|
|
507
507
|
tenant: Annotated[
|
|
508
508
|
str,
|
|
@@ -573,7 +573,7 @@ class WorkflowRunsApi:
|
|
|
573
573
|
"403": "APIErrors",
|
|
574
574
|
"501": "APIErrors",
|
|
575
575
|
}
|
|
576
|
-
response_data =
|
|
576
|
+
response_data = self.api_client.call_api(
|
|
577
577
|
*_param, _request_timeout=_request_timeout
|
|
578
578
|
)
|
|
579
579
|
return response_data.response
|
|
@@ -640,7 +640,7 @@ class WorkflowRunsApi:
|
|
|
640
640
|
)
|
|
641
641
|
|
|
642
642
|
@validate_call
|
|
643
|
-
|
|
643
|
+
def v1_workflow_run_get(
|
|
644
644
|
self,
|
|
645
645
|
v1_workflow_run: Annotated[
|
|
646
646
|
str,
|
|
@@ -705,17 +705,17 @@ class WorkflowRunsApi:
|
|
|
705
705
|
"403": "APIErrors",
|
|
706
706
|
"501": "APIErrors",
|
|
707
707
|
}
|
|
708
|
-
response_data =
|
|
708
|
+
response_data = self.api_client.call_api(
|
|
709
709
|
*_param, _request_timeout=_request_timeout
|
|
710
710
|
)
|
|
711
|
-
|
|
711
|
+
response_data.read()
|
|
712
712
|
return self.api_client.response_deserialize(
|
|
713
713
|
response_data=response_data,
|
|
714
714
|
response_types_map=_response_types_map,
|
|
715
715
|
).data
|
|
716
716
|
|
|
717
717
|
@validate_call
|
|
718
|
-
|
|
718
|
+
def v1_workflow_run_get_with_http_info(
|
|
719
719
|
self,
|
|
720
720
|
v1_workflow_run: Annotated[
|
|
721
721
|
str,
|
|
@@ -780,17 +780,17 @@ class WorkflowRunsApi:
|
|
|
780
780
|
"403": "APIErrors",
|
|
781
781
|
"501": "APIErrors",
|
|
782
782
|
}
|
|
783
|
-
response_data =
|
|
783
|
+
response_data = self.api_client.call_api(
|
|
784
784
|
*_param, _request_timeout=_request_timeout
|
|
785
785
|
)
|
|
786
|
-
|
|
786
|
+
response_data.read()
|
|
787
787
|
return self.api_client.response_deserialize(
|
|
788
788
|
response_data=response_data,
|
|
789
789
|
response_types_map=_response_types_map,
|
|
790
790
|
)
|
|
791
791
|
|
|
792
792
|
@validate_call
|
|
793
|
-
|
|
793
|
+
def v1_workflow_run_get_without_preload_content(
|
|
794
794
|
self,
|
|
795
795
|
v1_workflow_run: Annotated[
|
|
796
796
|
str,
|
|
@@ -855,7 +855,7 @@ class WorkflowRunsApi:
|
|
|
855
855
|
"403": "APIErrors",
|
|
856
856
|
"501": "APIErrors",
|
|
857
857
|
}
|
|
858
|
-
response_data =
|
|
858
|
+
response_data = self.api_client.call_api(
|
|
859
859
|
*_param, _request_timeout=_request_timeout
|
|
860
860
|
)
|
|
861
861
|
return response_data.response
|
|
@@ -915,7 +915,7 @@ class WorkflowRunsApi:
|
|
|
915
915
|
)
|
|
916
916
|
|
|
917
917
|
@validate_call
|
|
918
|
-
|
|
918
|
+
def v1_workflow_run_list(
|
|
919
919
|
self,
|
|
920
920
|
tenant: Annotated[
|
|
921
921
|
str,
|
|
@@ -1043,17 +1043,17 @@ class WorkflowRunsApi:
|
|
|
1043
1043
|
"403": "APIErrors",
|
|
1044
1044
|
"501": "APIErrors",
|
|
1045
1045
|
}
|
|
1046
|
-
response_data =
|
|
1046
|
+
response_data = self.api_client.call_api(
|
|
1047
1047
|
*_param, _request_timeout=_request_timeout
|
|
1048
1048
|
)
|
|
1049
|
-
|
|
1049
|
+
response_data.read()
|
|
1050
1050
|
return self.api_client.response_deserialize(
|
|
1051
1051
|
response_data=response_data,
|
|
1052
1052
|
response_types_map=_response_types_map,
|
|
1053
1053
|
).data
|
|
1054
1054
|
|
|
1055
1055
|
@validate_call
|
|
1056
|
-
|
|
1056
|
+
def v1_workflow_run_list_with_http_info(
|
|
1057
1057
|
self,
|
|
1058
1058
|
tenant: Annotated[
|
|
1059
1059
|
str,
|
|
@@ -1181,17 +1181,17 @@ class WorkflowRunsApi:
|
|
|
1181
1181
|
"403": "APIErrors",
|
|
1182
1182
|
"501": "APIErrors",
|
|
1183
1183
|
}
|
|
1184
|
-
response_data =
|
|
1184
|
+
response_data = self.api_client.call_api(
|
|
1185
1185
|
*_param, _request_timeout=_request_timeout
|
|
1186
1186
|
)
|
|
1187
|
-
|
|
1187
|
+
response_data.read()
|
|
1188
1188
|
return self.api_client.response_deserialize(
|
|
1189
1189
|
response_data=response_data,
|
|
1190
1190
|
response_types_map=_response_types_map,
|
|
1191
1191
|
)
|
|
1192
1192
|
|
|
1193
1193
|
@validate_call
|
|
1194
|
-
|
|
1194
|
+
def v1_workflow_run_list_without_preload_content(
|
|
1195
1195
|
self,
|
|
1196
1196
|
tenant: Annotated[
|
|
1197
1197
|
str,
|
|
@@ -1319,7 +1319,7 @@ class WorkflowRunsApi:
|
|
|
1319
1319
|
"403": "APIErrors",
|
|
1320
1320
|
"501": "APIErrors",
|
|
1321
1321
|
}
|
|
1322
|
-
response_data =
|
|
1322
|
+
response_data = self.api_client.call_api(
|
|
1323
1323
|
*_param, _request_timeout=_request_timeout
|
|
1324
1324
|
)
|
|
1325
1325
|
return response_data.response
|
|
@@ -1447,7 +1447,7 @@ class WorkflowRunsApi:
|
|
|
1447
1447
|
)
|
|
1448
1448
|
|
|
1449
1449
|
@validate_call
|
|
1450
|
-
|
|
1450
|
+
def v1_workflow_run_task_events_list(
|
|
1451
1451
|
self,
|
|
1452
1452
|
v1_workflow_run: Annotated[
|
|
1453
1453
|
str,
|
|
@@ -1524,17 +1524,17 @@ class WorkflowRunsApi:
|
|
|
1524
1524
|
"403": "APIErrors",
|
|
1525
1525
|
"501": "APIErrors",
|
|
1526
1526
|
}
|
|
1527
|
-
response_data =
|
|
1527
|
+
response_data = self.api_client.call_api(
|
|
1528
1528
|
*_param, _request_timeout=_request_timeout
|
|
1529
1529
|
)
|
|
1530
|
-
|
|
1530
|
+
response_data.read()
|
|
1531
1531
|
return self.api_client.response_deserialize(
|
|
1532
1532
|
response_data=response_data,
|
|
1533
1533
|
response_types_map=_response_types_map,
|
|
1534
1534
|
).data
|
|
1535
1535
|
|
|
1536
1536
|
@validate_call
|
|
1537
|
-
|
|
1537
|
+
def v1_workflow_run_task_events_list_with_http_info(
|
|
1538
1538
|
self,
|
|
1539
1539
|
v1_workflow_run: Annotated[
|
|
1540
1540
|
str,
|
|
@@ -1611,17 +1611,17 @@ class WorkflowRunsApi:
|
|
|
1611
1611
|
"403": "APIErrors",
|
|
1612
1612
|
"501": "APIErrors",
|
|
1613
1613
|
}
|
|
1614
|
-
response_data =
|
|
1614
|
+
response_data = self.api_client.call_api(
|
|
1615
1615
|
*_param, _request_timeout=_request_timeout
|
|
1616
1616
|
)
|
|
1617
|
-
|
|
1617
|
+
response_data.read()
|
|
1618
1618
|
return self.api_client.response_deserialize(
|
|
1619
1619
|
response_data=response_data,
|
|
1620
1620
|
response_types_map=_response_types_map,
|
|
1621
1621
|
)
|
|
1622
1622
|
|
|
1623
1623
|
@validate_call
|
|
1624
|
-
|
|
1624
|
+
def v1_workflow_run_task_events_list_without_preload_content(
|
|
1625
1625
|
self,
|
|
1626
1626
|
v1_workflow_run: Annotated[
|
|
1627
1627
|
str,
|
|
@@ -1698,7 +1698,7 @@ class WorkflowRunsApi:
|
|
|
1698
1698
|
"403": "APIErrors",
|
|
1699
1699
|
"501": "APIErrors",
|
|
1700
1700
|
}
|
|
1701
|
-
response_data =
|
|
1701
|
+
response_data = self.api_client.call_api(
|
|
1702
1702
|
*_param, _request_timeout=_request_timeout
|
|
1703
1703
|
)
|
|
1704
1704
|
return response_data.response
|
|
@@ -91,14 +91,11 @@ class ApiClient:
|
|
|
91
91
|
self.user_agent = "OpenAPI-Generator/1.0.0/python"
|
|
92
92
|
self.client_side_validation = configuration.client_side_validation
|
|
93
93
|
|
|
94
|
-
|
|
94
|
+
def __enter__(self):
|
|
95
95
|
return self
|
|
96
96
|
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
async def close(self):
|
|
101
|
-
await self.rest_client.close()
|
|
97
|
+
def __exit__(self, exc_type, exc_value, traceback):
|
|
98
|
+
pass
|
|
102
99
|
|
|
103
100
|
@property
|
|
104
101
|
def user_agent(self):
|
|
@@ -236,7 +233,7 @@ class ApiClient:
|
|
|
236
233
|
|
|
237
234
|
return method, url, header_params, body, post_params
|
|
238
235
|
|
|
239
|
-
|
|
236
|
+
def call_api(
|
|
240
237
|
self,
|
|
241
238
|
method,
|
|
242
239
|
url,
|
|
@@ -259,7 +256,7 @@ class ApiClient:
|
|
|
259
256
|
|
|
260
257
|
try:
|
|
261
258
|
# perform request and return response
|
|
262
|
-
response_data =
|
|
259
|
+
response_data = self.rest_client.request(
|
|
263
260
|
method,
|
|
264
261
|
url,
|
|
265
262
|
headers=header_params,
|