hatchet-sdk 1.2.6__py3-none-any.whl → 1.3.1__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.

Files changed (60) hide show
  1. hatchet_sdk/__init__.py +7 -5
  2. hatchet_sdk/client.py +14 -6
  3. hatchet_sdk/clients/admin.py +57 -15
  4. hatchet_sdk/clients/dispatcher/action_listener.py +2 -2
  5. hatchet_sdk/clients/dispatcher/dispatcher.py +20 -7
  6. hatchet_sdk/clients/event_ts.py +25 -5
  7. hatchet_sdk/clients/listeners/durable_event_listener.py +125 -0
  8. hatchet_sdk/clients/listeners/pooled_listener.py +255 -0
  9. hatchet_sdk/clients/listeners/workflow_listener.py +62 -0
  10. hatchet_sdk/clients/rest/api/api_token_api.py +24 -24
  11. hatchet_sdk/clients/rest/api/default_api.py +64 -64
  12. hatchet_sdk/clients/rest/api/event_api.py +64 -64
  13. hatchet_sdk/clients/rest/api/github_api.py +8 -8
  14. hatchet_sdk/clients/rest/api/healthcheck_api.py +16 -16
  15. hatchet_sdk/clients/rest/api/log_api.py +16 -16
  16. hatchet_sdk/clients/rest/api/metadata_api.py +24 -24
  17. hatchet_sdk/clients/rest/api/rate_limits_api.py +8 -8
  18. hatchet_sdk/clients/rest/api/slack_api.py +16 -16
  19. hatchet_sdk/clients/rest/api/sns_api.py +24 -24
  20. hatchet_sdk/clients/rest/api/step_run_api.py +56 -56
  21. hatchet_sdk/clients/rest/api/task_api.py +56 -56
  22. hatchet_sdk/clients/rest/api/tenant_api.py +128 -128
  23. hatchet_sdk/clients/rest/api/user_api.py +96 -96
  24. hatchet_sdk/clients/rest/api/worker_api.py +24 -24
  25. hatchet_sdk/clients/rest/api/workflow_api.py +144 -144
  26. hatchet_sdk/clients/rest/api/workflow_run_api.py +48 -48
  27. hatchet_sdk/clients/rest/api/workflow_runs_api.py +40 -40
  28. hatchet_sdk/clients/rest/api_client.py +5 -8
  29. hatchet_sdk/clients/rest/configuration.py +7 -3
  30. hatchet_sdk/clients/rest/models/tenant_step_run_queue_metrics.py +2 -2
  31. hatchet_sdk/clients/rest/models/v1_task_summary.py +5 -0
  32. hatchet_sdk/clients/rest/models/v1_workflow_run.py +5 -0
  33. hatchet_sdk/clients/rest/rest.py +160 -111
  34. hatchet_sdk/clients/v1/api_client.py +2 -2
  35. hatchet_sdk/context/context.py +22 -21
  36. hatchet_sdk/features/cron.py +41 -40
  37. hatchet_sdk/features/logs.py +7 -6
  38. hatchet_sdk/features/metrics.py +19 -18
  39. hatchet_sdk/features/runs.py +88 -68
  40. hatchet_sdk/features/scheduled.py +42 -42
  41. hatchet_sdk/features/workers.py +17 -16
  42. hatchet_sdk/features/workflows.py +15 -14
  43. hatchet_sdk/hatchet.py +1 -1
  44. hatchet_sdk/runnables/standalone.py +12 -9
  45. hatchet_sdk/runnables/task.py +66 -2
  46. hatchet_sdk/runnables/types.py +8 -0
  47. hatchet_sdk/runnables/workflow.py +26 -125
  48. hatchet_sdk/waits.py +8 -8
  49. hatchet_sdk/worker/runner/run_loop_manager.py +4 -4
  50. hatchet_sdk/worker/runner/runner.py +22 -11
  51. hatchet_sdk/worker/worker.py +29 -25
  52. hatchet_sdk/workflow_run.py +58 -9
  53. {hatchet_sdk-1.2.6.dist-info → hatchet_sdk-1.3.1.dist-info}/METADATA +1 -1
  54. {hatchet_sdk-1.2.6.dist-info → hatchet_sdk-1.3.1.dist-info}/RECORD +57 -57
  55. hatchet_sdk/clients/durable_event_listener.py +0 -329
  56. hatchet_sdk/clients/workflow_listener.py +0 -288
  57. hatchet_sdk/utils/aio.py +0 -43
  58. /hatchet_sdk/clients/{run_event_listener.py → listeners/run_event_listener.py} +0 -0
  59. {hatchet_sdk-1.2.6.dist-info → hatchet_sdk-1.3.1.dist-info}/WHEEL +0 -0
  60. {hatchet_sdk-1.2.6.dist-info → hatchet_sdk-1.3.1.dist-info}/entry_points.txt +0 -0
@@ -70,7 +70,7 @@ class WorkflowApi:
70
70
  self.api_client = api_client
71
71
 
72
72
  @validate_call
73
- async def cron_workflow_list(
73
+ def cron_workflow_list(
74
74
  self,
75
75
  tenant: Annotated[
76
76
  str,
@@ -170,17 +170,17 @@ class WorkflowApi:
170
170
  "400": "APIErrors",
171
171
  "403": "APIErrors",
172
172
  }
173
- response_data = await self.api_client.call_api(
173
+ response_data = self.api_client.call_api(
174
174
  *_param, _request_timeout=_request_timeout
175
175
  )
176
- await response_data.read()
176
+ response_data.read()
177
177
  return self.api_client.response_deserialize(
178
178
  response_data=response_data,
179
179
  response_types_map=_response_types_map,
180
180
  ).data
181
181
 
182
182
  @validate_call
183
- async def cron_workflow_list_with_http_info(
183
+ def cron_workflow_list_with_http_info(
184
184
  self,
185
185
  tenant: Annotated[
186
186
  str,
@@ -280,17 +280,17 @@ class WorkflowApi:
280
280
  "400": "APIErrors",
281
281
  "403": "APIErrors",
282
282
  }
283
- response_data = await self.api_client.call_api(
283
+ response_data = self.api_client.call_api(
284
284
  *_param, _request_timeout=_request_timeout
285
285
  )
286
- await response_data.read()
286
+ response_data.read()
287
287
  return self.api_client.response_deserialize(
288
288
  response_data=response_data,
289
289
  response_types_map=_response_types_map,
290
290
  )
291
291
 
292
292
  @validate_call
293
- async def cron_workflow_list_without_preload_content(
293
+ def cron_workflow_list_without_preload_content(
294
294
  self,
295
295
  tenant: Annotated[
296
296
  str,
@@ -390,7 +390,7 @@ class WorkflowApi:
390
390
  "400": "APIErrors",
391
391
  "403": "APIErrors",
392
392
  }
393
- response_data = await self.api_client.call_api(
393
+ response_data = self.api_client.call_api(
394
394
  *_param, _request_timeout=_request_timeout
395
395
  )
396
396
  return response_data.response
@@ -482,7 +482,7 @@ class WorkflowApi:
482
482
  )
483
483
 
484
484
  @validate_call
485
- async def tenant_get_queue_metrics(
485
+ def tenant_get_queue_metrics(
486
486
  self,
487
487
  tenant: Annotated[
488
488
  str,
@@ -558,17 +558,17 @@ class WorkflowApi:
558
558
  "403": "APIErrors",
559
559
  "404": "APIErrors",
560
560
  }
561
- response_data = await self.api_client.call_api(
561
+ response_data = self.api_client.call_api(
562
562
  *_param, _request_timeout=_request_timeout
563
563
  )
564
- await response_data.read()
564
+ response_data.read()
565
565
  return self.api_client.response_deserialize(
566
566
  response_data=response_data,
567
567
  response_types_map=_response_types_map,
568
568
  ).data
569
569
 
570
570
  @validate_call
571
- async def tenant_get_queue_metrics_with_http_info(
571
+ def tenant_get_queue_metrics_with_http_info(
572
572
  self,
573
573
  tenant: Annotated[
574
574
  str,
@@ -644,17 +644,17 @@ class WorkflowApi:
644
644
  "403": "APIErrors",
645
645
  "404": "APIErrors",
646
646
  }
647
- response_data = await self.api_client.call_api(
647
+ response_data = self.api_client.call_api(
648
648
  *_param, _request_timeout=_request_timeout
649
649
  )
650
- await response_data.read()
650
+ response_data.read()
651
651
  return self.api_client.response_deserialize(
652
652
  response_data=response_data,
653
653
  response_types_map=_response_types_map,
654
654
  )
655
655
 
656
656
  @validate_call
657
- async def tenant_get_queue_metrics_without_preload_content(
657
+ def tenant_get_queue_metrics_without_preload_content(
658
658
  self,
659
659
  tenant: Annotated[
660
660
  str,
@@ -730,7 +730,7 @@ class WorkflowApi:
730
730
  "403": "APIErrors",
731
731
  "404": "APIErrors",
732
732
  }
733
- response_data = await self.api_client.call_api(
733
+ response_data = self.api_client.call_api(
734
734
  *_param, _request_timeout=_request_timeout
735
735
  )
736
736
  return response_data.response
@@ -803,7 +803,7 @@ class WorkflowApi:
803
803
  )
804
804
 
805
805
  @validate_call
806
- async def workflow_cron_delete(
806
+ def workflow_cron_delete(
807
807
  self,
808
808
  tenant: Annotated[
809
809
  str,
@@ -873,17 +873,17 @@ class WorkflowApi:
873
873
  "400": "APIErrors",
874
874
  "403": "APIError",
875
875
  }
876
- response_data = await self.api_client.call_api(
876
+ response_data = self.api_client.call_api(
877
877
  *_param, _request_timeout=_request_timeout
878
878
  )
879
- await response_data.read()
879
+ response_data.read()
880
880
  return self.api_client.response_deserialize(
881
881
  response_data=response_data,
882
882
  response_types_map=_response_types_map,
883
883
  ).data
884
884
 
885
885
  @validate_call
886
- async def workflow_cron_delete_with_http_info(
886
+ def workflow_cron_delete_with_http_info(
887
887
  self,
888
888
  tenant: Annotated[
889
889
  str,
@@ -953,17 +953,17 @@ class WorkflowApi:
953
953
  "400": "APIErrors",
954
954
  "403": "APIError",
955
955
  }
956
- response_data = await self.api_client.call_api(
956
+ response_data = self.api_client.call_api(
957
957
  *_param, _request_timeout=_request_timeout
958
958
  )
959
- await response_data.read()
959
+ response_data.read()
960
960
  return self.api_client.response_deserialize(
961
961
  response_data=response_data,
962
962
  response_types_map=_response_types_map,
963
963
  )
964
964
 
965
965
  @validate_call
966
- async def workflow_cron_delete_without_preload_content(
966
+ def workflow_cron_delete_without_preload_content(
967
967
  self,
968
968
  tenant: Annotated[
969
969
  str,
@@ -1033,7 +1033,7 @@ class WorkflowApi:
1033
1033
  "400": "APIErrors",
1034
1034
  "403": "APIError",
1035
1035
  }
1036
- response_data = await self.api_client.call_api(
1036
+ response_data = self.api_client.call_api(
1037
1037
  *_param, _request_timeout=_request_timeout
1038
1038
  )
1039
1039
  return response_data.response
@@ -1096,7 +1096,7 @@ class WorkflowApi:
1096
1096
  )
1097
1097
 
1098
1098
  @validate_call
1099
- async def workflow_cron_get(
1099
+ def workflow_cron_get(
1100
1100
  self,
1101
1101
  tenant: Annotated[
1102
1102
  str,
@@ -1167,17 +1167,17 @@ class WorkflowApi:
1167
1167
  "403": "APIErrors",
1168
1168
  "404": "APIErrors",
1169
1169
  }
1170
- response_data = await self.api_client.call_api(
1170
+ response_data = self.api_client.call_api(
1171
1171
  *_param, _request_timeout=_request_timeout
1172
1172
  )
1173
- await response_data.read()
1173
+ response_data.read()
1174
1174
  return self.api_client.response_deserialize(
1175
1175
  response_data=response_data,
1176
1176
  response_types_map=_response_types_map,
1177
1177
  ).data
1178
1178
 
1179
1179
  @validate_call
1180
- async def workflow_cron_get_with_http_info(
1180
+ def workflow_cron_get_with_http_info(
1181
1181
  self,
1182
1182
  tenant: Annotated[
1183
1183
  str,
@@ -1248,17 +1248,17 @@ class WorkflowApi:
1248
1248
  "403": "APIErrors",
1249
1249
  "404": "APIErrors",
1250
1250
  }
1251
- response_data = await self.api_client.call_api(
1251
+ response_data = self.api_client.call_api(
1252
1252
  *_param, _request_timeout=_request_timeout
1253
1253
  )
1254
- await response_data.read()
1254
+ response_data.read()
1255
1255
  return self.api_client.response_deserialize(
1256
1256
  response_data=response_data,
1257
1257
  response_types_map=_response_types_map,
1258
1258
  )
1259
1259
 
1260
1260
  @validate_call
1261
- async def workflow_cron_get_without_preload_content(
1261
+ def workflow_cron_get_without_preload_content(
1262
1262
  self,
1263
1263
  tenant: Annotated[
1264
1264
  str,
@@ -1329,7 +1329,7 @@ class WorkflowApi:
1329
1329
  "403": "APIErrors",
1330
1330
  "404": "APIErrors",
1331
1331
  }
1332
- response_data = await self.api_client.call_api(
1332
+ response_data = self.api_client.call_api(
1333
1333
  *_param, _request_timeout=_request_timeout
1334
1334
  )
1335
1335
  return response_data.response
@@ -1392,7 +1392,7 @@ class WorkflowApi:
1392
1392
  )
1393
1393
 
1394
1394
  @validate_call
1395
- async def workflow_delete(
1395
+ def workflow_delete(
1396
1396
  self,
1397
1397
  workflow: Annotated[
1398
1398
  str,
@@ -1454,17 +1454,17 @@ class WorkflowApi:
1454
1454
  "403": "APIErrors",
1455
1455
  "404": "APIErrors",
1456
1456
  }
1457
- response_data = await self.api_client.call_api(
1457
+ response_data = self.api_client.call_api(
1458
1458
  *_param, _request_timeout=_request_timeout
1459
1459
  )
1460
- await response_data.read()
1460
+ response_data.read()
1461
1461
  return self.api_client.response_deserialize(
1462
1462
  response_data=response_data,
1463
1463
  response_types_map=_response_types_map,
1464
1464
  ).data
1465
1465
 
1466
1466
  @validate_call
1467
- async def workflow_delete_with_http_info(
1467
+ def workflow_delete_with_http_info(
1468
1468
  self,
1469
1469
  workflow: Annotated[
1470
1470
  str,
@@ -1526,17 +1526,17 @@ class WorkflowApi:
1526
1526
  "403": "APIErrors",
1527
1527
  "404": "APIErrors",
1528
1528
  }
1529
- response_data = await self.api_client.call_api(
1529
+ response_data = self.api_client.call_api(
1530
1530
  *_param, _request_timeout=_request_timeout
1531
1531
  )
1532
- await response_data.read()
1532
+ response_data.read()
1533
1533
  return self.api_client.response_deserialize(
1534
1534
  response_data=response_data,
1535
1535
  response_types_map=_response_types_map,
1536
1536
  )
1537
1537
 
1538
1538
  @validate_call
1539
- async def workflow_delete_without_preload_content(
1539
+ def workflow_delete_without_preload_content(
1540
1540
  self,
1541
1541
  workflow: Annotated[
1542
1542
  str,
@@ -1598,7 +1598,7 @@ class WorkflowApi:
1598
1598
  "403": "APIErrors",
1599
1599
  "404": "APIErrors",
1600
1600
  }
1601
- response_data = await self.api_client.call_api(
1601
+ response_data = self.api_client.call_api(
1602
1602
  *_param, _request_timeout=_request_timeout
1603
1603
  )
1604
1604
  return response_data.response
@@ -1658,7 +1658,7 @@ class WorkflowApi:
1658
1658
  )
1659
1659
 
1660
1660
  @validate_call
1661
- async def workflow_get(
1661
+ def workflow_get(
1662
1662
  self,
1663
1663
  workflow: Annotated[
1664
1664
  str,
@@ -1720,17 +1720,17 @@ class WorkflowApi:
1720
1720
  "403": "APIErrors",
1721
1721
  "404": "APIErrors",
1722
1722
  }
1723
- response_data = await self.api_client.call_api(
1723
+ response_data = self.api_client.call_api(
1724
1724
  *_param, _request_timeout=_request_timeout
1725
1725
  )
1726
- await response_data.read()
1726
+ response_data.read()
1727
1727
  return self.api_client.response_deserialize(
1728
1728
  response_data=response_data,
1729
1729
  response_types_map=_response_types_map,
1730
1730
  ).data
1731
1731
 
1732
1732
  @validate_call
1733
- async def workflow_get_with_http_info(
1733
+ def workflow_get_with_http_info(
1734
1734
  self,
1735
1735
  workflow: Annotated[
1736
1736
  str,
@@ -1792,17 +1792,17 @@ class WorkflowApi:
1792
1792
  "403": "APIErrors",
1793
1793
  "404": "APIErrors",
1794
1794
  }
1795
- response_data = await self.api_client.call_api(
1795
+ response_data = self.api_client.call_api(
1796
1796
  *_param, _request_timeout=_request_timeout
1797
1797
  )
1798
- await response_data.read()
1798
+ response_data.read()
1799
1799
  return self.api_client.response_deserialize(
1800
1800
  response_data=response_data,
1801
1801
  response_types_map=_response_types_map,
1802
1802
  )
1803
1803
 
1804
1804
  @validate_call
1805
- async def workflow_get_without_preload_content(
1805
+ def workflow_get_without_preload_content(
1806
1806
  self,
1807
1807
  workflow: Annotated[
1808
1808
  str,
@@ -1864,7 +1864,7 @@ class WorkflowApi:
1864
1864
  "403": "APIErrors",
1865
1865
  "404": "APIErrors",
1866
1866
  }
1867
- response_data = await self.api_client.call_api(
1867
+ response_data = self.api_client.call_api(
1868
1868
  *_param, _request_timeout=_request_timeout
1869
1869
  )
1870
1870
  return response_data.response
@@ -1924,7 +1924,7 @@ class WorkflowApi:
1924
1924
  )
1925
1925
 
1926
1926
  @validate_call
1927
- async def workflow_get_metrics(
1927
+ def workflow_get_metrics(
1928
1928
  self,
1929
1929
  workflow: Annotated[
1930
1930
  str,
@@ -1999,17 +1999,17 @@ class WorkflowApi:
1999
1999
  "403": "APIErrors",
2000
2000
  "404": "APIErrors",
2001
2001
  }
2002
- response_data = await self.api_client.call_api(
2002
+ response_data = self.api_client.call_api(
2003
2003
  *_param, _request_timeout=_request_timeout
2004
2004
  )
2005
- await response_data.read()
2005
+ response_data.read()
2006
2006
  return self.api_client.response_deserialize(
2007
2007
  response_data=response_data,
2008
2008
  response_types_map=_response_types_map,
2009
2009
  ).data
2010
2010
 
2011
2011
  @validate_call
2012
- async def workflow_get_metrics_with_http_info(
2012
+ def workflow_get_metrics_with_http_info(
2013
2013
  self,
2014
2014
  workflow: Annotated[
2015
2015
  str,
@@ -2084,17 +2084,17 @@ class WorkflowApi:
2084
2084
  "403": "APIErrors",
2085
2085
  "404": "APIErrors",
2086
2086
  }
2087
- response_data = await self.api_client.call_api(
2087
+ response_data = self.api_client.call_api(
2088
2088
  *_param, _request_timeout=_request_timeout
2089
2089
  )
2090
- await response_data.read()
2090
+ response_data.read()
2091
2091
  return self.api_client.response_deserialize(
2092
2092
  response_data=response_data,
2093
2093
  response_types_map=_response_types_map,
2094
2094
  )
2095
2095
 
2096
2096
  @validate_call
2097
- async def workflow_get_metrics_without_preload_content(
2097
+ def workflow_get_metrics_without_preload_content(
2098
2098
  self,
2099
2099
  workflow: Annotated[
2100
2100
  str,
@@ -2169,7 +2169,7 @@ class WorkflowApi:
2169
2169
  "403": "APIErrors",
2170
2170
  "404": "APIErrors",
2171
2171
  }
2172
- response_data = await self.api_client.call_api(
2172
+ response_data = self.api_client.call_api(
2173
2173
  *_param, _request_timeout=_request_timeout
2174
2174
  )
2175
2175
  return response_data.response
@@ -2239,7 +2239,7 @@ class WorkflowApi:
2239
2239
  )
2240
2240
 
2241
2241
  @validate_call
2242
- async def workflow_get_workers_count(
2242
+ def workflow_get_workers_count(
2243
2243
  self,
2244
2244
  tenant: Annotated[
2245
2245
  str,
@@ -2309,17 +2309,17 @@ class WorkflowApi:
2309
2309
  "400": "APIErrors",
2310
2310
  "403": "APIErrors",
2311
2311
  }
2312
- response_data = await self.api_client.call_api(
2312
+ response_data = self.api_client.call_api(
2313
2313
  *_param, _request_timeout=_request_timeout
2314
2314
  )
2315
- await response_data.read()
2315
+ response_data.read()
2316
2316
  return self.api_client.response_deserialize(
2317
2317
  response_data=response_data,
2318
2318
  response_types_map=_response_types_map,
2319
2319
  ).data
2320
2320
 
2321
2321
  @validate_call
2322
- async def workflow_get_workers_count_with_http_info(
2322
+ def workflow_get_workers_count_with_http_info(
2323
2323
  self,
2324
2324
  tenant: Annotated[
2325
2325
  str,
@@ -2389,17 +2389,17 @@ class WorkflowApi:
2389
2389
  "400": "APIErrors",
2390
2390
  "403": "APIErrors",
2391
2391
  }
2392
- response_data = await self.api_client.call_api(
2392
+ response_data = self.api_client.call_api(
2393
2393
  *_param, _request_timeout=_request_timeout
2394
2394
  )
2395
- await response_data.read()
2395
+ response_data.read()
2396
2396
  return self.api_client.response_deserialize(
2397
2397
  response_data=response_data,
2398
2398
  response_types_map=_response_types_map,
2399
2399
  )
2400
2400
 
2401
2401
  @validate_call
2402
- async def workflow_get_workers_count_without_preload_content(
2402
+ def workflow_get_workers_count_without_preload_content(
2403
2403
  self,
2404
2404
  tenant: Annotated[
2405
2405
  str,
@@ -2469,7 +2469,7 @@ class WorkflowApi:
2469
2469
  "400": "APIErrors",
2470
2470
  "403": "APIErrors",
2471
2471
  }
2472
- response_data = await self.api_client.call_api(
2472
+ response_data = self.api_client.call_api(
2473
2473
  *_param, _request_timeout=_request_timeout
2474
2474
  )
2475
2475
  return response_data.response
@@ -2532,7 +2532,7 @@ class WorkflowApi:
2532
2532
  )
2533
2533
 
2534
2534
  @validate_call
2535
- async def workflow_list(
2535
+ def workflow_list(
2536
2536
  self,
2537
2537
  tenant: Annotated[
2538
2538
  str,
@@ -2611,17 +2611,17 @@ class WorkflowApi:
2611
2611
  "400": "APIErrors",
2612
2612
  "403": "APIErrors",
2613
2613
  }
2614
- response_data = await self.api_client.call_api(
2614
+ response_data = self.api_client.call_api(
2615
2615
  *_param, _request_timeout=_request_timeout
2616
2616
  )
2617
- await response_data.read()
2617
+ response_data.read()
2618
2618
  return self.api_client.response_deserialize(
2619
2619
  response_data=response_data,
2620
2620
  response_types_map=_response_types_map,
2621
2621
  ).data
2622
2622
 
2623
2623
  @validate_call
2624
- async def workflow_list_with_http_info(
2624
+ def workflow_list_with_http_info(
2625
2625
  self,
2626
2626
  tenant: Annotated[
2627
2627
  str,
@@ -2700,17 +2700,17 @@ class WorkflowApi:
2700
2700
  "400": "APIErrors",
2701
2701
  "403": "APIErrors",
2702
2702
  }
2703
- response_data = await self.api_client.call_api(
2703
+ response_data = self.api_client.call_api(
2704
2704
  *_param, _request_timeout=_request_timeout
2705
2705
  )
2706
- await response_data.read()
2706
+ response_data.read()
2707
2707
  return self.api_client.response_deserialize(
2708
2708
  response_data=response_data,
2709
2709
  response_types_map=_response_types_map,
2710
2710
  )
2711
2711
 
2712
2712
  @validate_call
2713
- async def workflow_list_without_preload_content(
2713
+ def workflow_list_without_preload_content(
2714
2714
  self,
2715
2715
  tenant: Annotated[
2716
2716
  str,
@@ -2789,7 +2789,7 @@ class WorkflowApi:
2789
2789
  "400": "APIErrors",
2790
2790
  "403": "APIErrors",
2791
2791
  }
2792
- response_data = await self.api_client.call_api(
2792
+ response_data = self.api_client.call_api(
2793
2793
  *_param, _request_timeout=_request_timeout
2794
2794
  )
2795
2795
  return response_data.response
@@ -2864,7 +2864,7 @@ class WorkflowApi:
2864
2864
  )
2865
2865
 
2866
2866
  @validate_call
2867
- async def workflow_run_get(
2867
+ def workflow_run_get(
2868
2868
  self,
2869
2869
  tenant: Annotated[
2870
2870
  str,
@@ -2937,17 +2937,17 @@ class WorkflowApi:
2937
2937
  "400": "APIErrors",
2938
2938
  "403": "APIErrors",
2939
2939
  }
2940
- response_data = await self.api_client.call_api(
2940
+ response_data = self.api_client.call_api(
2941
2941
  *_param, _request_timeout=_request_timeout
2942
2942
  )
2943
- await response_data.read()
2943
+ response_data.read()
2944
2944
  return self.api_client.response_deserialize(
2945
2945
  response_data=response_data,
2946
2946
  response_types_map=_response_types_map,
2947
2947
  ).data
2948
2948
 
2949
2949
  @validate_call
2950
- async def workflow_run_get_with_http_info(
2950
+ def workflow_run_get_with_http_info(
2951
2951
  self,
2952
2952
  tenant: Annotated[
2953
2953
  str,
@@ -3020,17 +3020,17 @@ class WorkflowApi:
3020
3020
  "400": "APIErrors",
3021
3021
  "403": "APIErrors",
3022
3022
  }
3023
- response_data = await self.api_client.call_api(
3023
+ response_data = self.api_client.call_api(
3024
3024
  *_param, _request_timeout=_request_timeout
3025
3025
  )
3026
- await response_data.read()
3026
+ response_data.read()
3027
3027
  return self.api_client.response_deserialize(
3028
3028
  response_data=response_data,
3029
3029
  response_types_map=_response_types_map,
3030
3030
  )
3031
3031
 
3032
3032
  @validate_call
3033
- async def workflow_run_get_without_preload_content(
3033
+ def workflow_run_get_without_preload_content(
3034
3034
  self,
3035
3035
  tenant: Annotated[
3036
3036
  str,
@@ -3103,7 +3103,7 @@ class WorkflowApi:
3103
3103
  "400": "APIErrors",
3104
3104
  "403": "APIErrors",
3105
3105
  }
3106
- response_data = await self.api_client.call_api(
3106
+ response_data = self.api_client.call_api(
3107
3107
  *_param, _request_timeout=_request_timeout
3108
3108
  )
3109
3109
  return response_data.response
@@ -3166,7 +3166,7 @@ class WorkflowApi:
3166
3166
  )
3167
3167
 
3168
3168
  @validate_call
3169
- async def workflow_run_get_metrics(
3169
+ def workflow_run_get_metrics(
3170
3170
  self,
3171
3171
  tenant: Annotated[
3172
3172
  str,
@@ -3276,17 +3276,17 @@ class WorkflowApi:
3276
3276
  "400": "APIErrors",
3277
3277
  "403": "APIErrors",
3278
3278
  }
3279
- response_data = await self.api_client.call_api(
3279
+ response_data = self.api_client.call_api(
3280
3280
  *_param, _request_timeout=_request_timeout
3281
3281
  )
3282
- await response_data.read()
3282
+ response_data.read()
3283
3283
  return self.api_client.response_deserialize(
3284
3284
  response_data=response_data,
3285
3285
  response_types_map=_response_types_map,
3286
3286
  ).data
3287
3287
 
3288
3288
  @validate_call
3289
- async def workflow_run_get_metrics_with_http_info(
3289
+ def workflow_run_get_metrics_with_http_info(
3290
3290
  self,
3291
3291
  tenant: Annotated[
3292
3292
  str,
@@ -3396,17 +3396,17 @@ class WorkflowApi:
3396
3396
  "400": "APIErrors",
3397
3397
  "403": "APIErrors",
3398
3398
  }
3399
- response_data = await self.api_client.call_api(
3399
+ response_data = self.api_client.call_api(
3400
3400
  *_param, _request_timeout=_request_timeout
3401
3401
  )
3402
- await response_data.read()
3402
+ response_data.read()
3403
3403
  return self.api_client.response_deserialize(
3404
3404
  response_data=response_data,
3405
3405
  response_types_map=_response_types_map,
3406
3406
  )
3407
3407
 
3408
3408
  @validate_call
3409
- async def workflow_run_get_metrics_without_preload_content(
3409
+ def workflow_run_get_metrics_without_preload_content(
3410
3410
  self,
3411
3411
  tenant: Annotated[
3412
3412
  str,
@@ -3516,7 +3516,7 @@ class WorkflowApi:
3516
3516
  "400": "APIErrors",
3517
3517
  "403": "APIErrors",
3518
3518
  }
3519
- response_data = await self.api_client.call_api(
3519
+ response_data = self.api_client.call_api(
3520
3520
  *_param, _request_timeout=_request_timeout
3521
3521
  )
3522
3522
  return response_data.response
@@ -3631,7 +3631,7 @@ class WorkflowApi:
3631
3631
  )
3632
3632
 
3633
3633
  @validate_call
3634
- async def workflow_run_get_shape(
3634
+ def workflow_run_get_shape(
3635
3635
  self,
3636
3636
  tenant: Annotated[
3637
3637
  str,
@@ -3704,17 +3704,17 @@ class WorkflowApi:
3704
3704
  "400": "APIErrors",
3705
3705
  "403": "APIErrors",
3706
3706
  }
3707
- response_data = await self.api_client.call_api(
3707
+ response_data = self.api_client.call_api(
3708
3708
  *_param, _request_timeout=_request_timeout
3709
3709
  )
3710
- await response_data.read()
3710
+ response_data.read()
3711
3711
  return self.api_client.response_deserialize(
3712
3712
  response_data=response_data,
3713
3713
  response_types_map=_response_types_map,
3714
3714
  ).data
3715
3715
 
3716
3716
  @validate_call
3717
- async def workflow_run_get_shape_with_http_info(
3717
+ def workflow_run_get_shape_with_http_info(
3718
3718
  self,
3719
3719
  tenant: Annotated[
3720
3720
  str,
@@ -3787,17 +3787,17 @@ class WorkflowApi:
3787
3787
  "400": "APIErrors",
3788
3788
  "403": "APIErrors",
3789
3789
  }
3790
- response_data = await self.api_client.call_api(
3790
+ response_data = self.api_client.call_api(
3791
3791
  *_param, _request_timeout=_request_timeout
3792
3792
  )
3793
- await response_data.read()
3793
+ response_data.read()
3794
3794
  return self.api_client.response_deserialize(
3795
3795
  response_data=response_data,
3796
3796
  response_types_map=_response_types_map,
3797
3797
  )
3798
3798
 
3799
3799
  @validate_call
3800
- async def workflow_run_get_shape_without_preload_content(
3800
+ def workflow_run_get_shape_without_preload_content(
3801
3801
  self,
3802
3802
  tenant: Annotated[
3803
3803
  str,
@@ -3870,7 +3870,7 @@ class WorkflowApi:
3870
3870
  "400": "APIErrors",
3871
3871
  "403": "APIErrors",
3872
3872
  }
3873
- response_data = await self.api_client.call_api(
3873
+ response_data = self.api_client.call_api(
3874
3874
  *_param, _request_timeout=_request_timeout
3875
3875
  )
3876
3876
  return response_data.response
@@ -3933,7 +3933,7 @@ class WorkflowApi:
3933
3933
  )
3934
3934
 
3935
3935
  @validate_call
3936
- async def workflow_run_list(
3936
+ def workflow_run_list(
3937
3937
  self,
3938
3938
  tenant: Annotated[
3939
3939
  str,
@@ -4096,17 +4096,17 @@ class WorkflowApi:
4096
4096
  "400": "APIErrors",
4097
4097
  "403": "APIErrors",
4098
4098
  }
4099
- response_data = await self.api_client.call_api(
4099
+ response_data = self.api_client.call_api(
4100
4100
  *_param, _request_timeout=_request_timeout
4101
4101
  )
4102
- await response_data.read()
4102
+ response_data.read()
4103
4103
  return self.api_client.response_deserialize(
4104
4104
  response_data=response_data,
4105
4105
  response_types_map=_response_types_map,
4106
4106
  ).data
4107
4107
 
4108
4108
  @validate_call
4109
- async def workflow_run_list_with_http_info(
4109
+ def workflow_run_list_with_http_info(
4110
4110
  self,
4111
4111
  tenant: Annotated[
4112
4112
  str,
@@ -4269,17 +4269,17 @@ class WorkflowApi:
4269
4269
  "400": "APIErrors",
4270
4270
  "403": "APIErrors",
4271
4271
  }
4272
- response_data = await self.api_client.call_api(
4272
+ response_data = self.api_client.call_api(
4273
4273
  *_param, _request_timeout=_request_timeout
4274
4274
  )
4275
- await response_data.read()
4275
+ response_data.read()
4276
4276
  return self.api_client.response_deserialize(
4277
4277
  response_data=response_data,
4278
4278
  response_types_map=_response_types_map,
4279
4279
  )
4280
4280
 
4281
4281
  @validate_call
4282
- async def workflow_run_list_without_preload_content(
4282
+ def workflow_run_list_without_preload_content(
4283
4283
  self,
4284
4284
  tenant: Annotated[
4285
4285
  str,
@@ -4442,7 +4442,7 @@ class WorkflowApi:
4442
4442
  "400": "APIErrors",
4443
4443
  "403": "APIErrors",
4444
4444
  }
4445
- response_data = await self.api_client.call_api(
4445
+ response_data = self.api_client.call_api(
4446
4446
  *_param, _request_timeout=_request_timeout
4447
4447
  )
4448
4448
  return response_data.response
@@ -4617,7 +4617,7 @@ class WorkflowApi:
4617
4617
  )
4618
4618
 
4619
4619
  @validate_call
4620
- async def workflow_scheduled_delete(
4620
+ def workflow_scheduled_delete(
4621
4621
  self,
4622
4622
  tenant: Annotated[
4623
4623
  str,
@@ -4690,17 +4690,17 @@ class WorkflowApi:
4690
4690
  "400": "APIErrors",
4691
4691
  "403": "APIError",
4692
4692
  }
4693
- response_data = await self.api_client.call_api(
4693
+ response_data = self.api_client.call_api(
4694
4694
  *_param, _request_timeout=_request_timeout
4695
4695
  )
4696
- await response_data.read()
4696
+ response_data.read()
4697
4697
  return self.api_client.response_deserialize(
4698
4698
  response_data=response_data,
4699
4699
  response_types_map=_response_types_map,
4700
4700
  ).data
4701
4701
 
4702
4702
  @validate_call
4703
- async def workflow_scheduled_delete_with_http_info(
4703
+ def workflow_scheduled_delete_with_http_info(
4704
4704
  self,
4705
4705
  tenant: Annotated[
4706
4706
  str,
@@ -4773,17 +4773,17 @@ class WorkflowApi:
4773
4773
  "400": "APIErrors",
4774
4774
  "403": "APIError",
4775
4775
  }
4776
- response_data = await self.api_client.call_api(
4776
+ response_data = self.api_client.call_api(
4777
4777
  *_param, _request_timeout=_request_timeout
4778
4778
  )
4779
- await response_data.read()
4779
+ response_data.read()
4780
4780
  return self.api_client.response_deserialize(
4781
4781
  response_data=response_data,
4782
4782
  response_types_map=_response_types_map,
4783
4783
  )
4784
4784
 
4785
4785
  @validate_call
4786
- async def workflow_scheduled_delete_without_preload_content(
4786
+ def workflow_scheduled_delete_without_preload_content(
4787
4787
  self,
4788
4788
  tenant: Annotated[
4789
4789
  str,
@@ -4856,7 +4856,7 @@ class WorkflowApi:
4856
4856
  "400": "APIErrors",
4857
4857
  "403": "APIError",
4858
4858
  }
4859
- response_data = await self.api_client.call_api(
4859
+ response_data = self.api_client.call_api(
4860
4860
  *_param, _request_timeout=_request_timeout
4861
4861
  )
4862
4862
  return response_data.response
@@ -4919,7 +4919,7 @@ class WorkflowApi:
4919
4919
  )
4920
4920
 
4921
4921
  @validate_call
4922
- async def workflow_scheduled_get(
4922
+ def workflow_scheduled_get(
4923
4923
  self,
4924
4924
  tenant: Annotated[
4925
4925
  str,
@@ -4993,17 +4993,17 @@ class WorkflowApi:
4993
4993
  "403": "APIErrors",
4994
4994
  "404": "APIErrors",
4995
4995
  }
4996
- response_data = await self.api_client.call_api(
4996
+ response_data = self.api_client.call_api(
4997
4997
  *_param, _request_timeout=_request_timeout
4998
4998
  )
4999
- await response_data.read()
4999
+ response_data.read()
5000
5000
  return self.api_client.response_deserialize(
5001
5001
  response_data=response_data,
5002
5002
  response_types_map=_response_types_map,
5003
5003
  ).data
5004
5004
 
5005
5005
  @validate_call
5006
- async def workflow_scheduled_get_with_http_info(
5006
+ def workflow_scheduled_get_with_http_info(
5007
5007
  self,
5008
5008
  tenant: Annotated[
5009
5009
  str,
@@ -5077,17 +5077,17 @@ class WorkflowApi:
5077
5077
  "403": "APIErrors",
5078
5078
  "404": "APIErrors",
5079
5079
  }
5080
- response_data = await self.api_client.call_api(
5080
+ response_data = self.api_client.call_api(
5081
5081
  *_param, _request_timeout=_request_timeout
5082
5082
  )
5083
- await response_data.read()
5083
+ response_data.read()
5084
5084
  return self.api_client.response_deserialize(
5085
5085
  response_data=response_data,
5086
5086
  response_types_map=_response_types_map,
5087
5087
  )
5088
5088
 
5089
5089
  @validate_call
5090
- async def workflow_scheduled_get_without_preload_content(
5090
+ def workflow_scheduled_get_without_preload_content(
5091
5091
  self,
5092
5092
  tenant: Annotated[
5093
5093
  str,
@@ -5161,7 +5161,7 @@ class WorkflowApi:
5161
5161
  "403": "APIErrors",
5162
5162
  "404": "APIErrors",
5163
5163
  }
5164
- response_data = await self.api_client.call_api(
5164
+ response_data = self.api_client.call_api(
5165
5165
  *_param, _request_timeout=_request_timeout
5166
5166
  )
5167
5167
  return response_data.response
@@ -5224,7 +5224,7 @@ class WorkflowApi:
5224
5224
  )
5225
5225
 
5226
5226
  @validate_call
5227
- async def workflow_scheduled_list(
5227
+ def workflow_scheduled_list(
5228
5228
  self,
5229
5229
  tenant: Annotated[
5230
5230
  str,
@@ -5346,17 +5346,17 @@ class WorkflowApi:
5346
5346
  "400": "APIErrors",
5347
5347
  "403": "APIErrors",
5348
5348
  }
5349
- response_data = await self.api_client.call_api(
5349
+ response_data = self.api_client.call_api(
5350
5350
  *_param, _request_timeout=_request_timeout
5351
5351
  )
5352
- await response_data.read()
5352
+ response_data.read()
5353
5353
  return self.api_client.response_deserialize(
5354
5354
  response_data=response_data,
5355
5355
  response_types_map=_response_types_map,
5356
5356
  ).data
5357
5357
 
5358
5358
  @validate_call
5359
- async def workflow_scheduled_list_with_http_info(
5359
+ def workflow_scheduled_list_with_http_info(
5360
5360
  self,
5361
5361
  tenant: Annotated[
5362
5362
  str,
@@ -5478,17 +5478,17 @@ class WorkflowApi:
5478
5478
  "400": "APIErrors",
5479
5479
  "403": "APIErrors",
5480
5480
  }
5481
- response_data = await self.api_client.call_api(
5481
+ response_data = self.api_client.call_api(
5482
5482
  *_param, _request_timeout=_request_timeout
5483
5483
  )
5484
- await response_data.read()
5484
+ response_data.read()
5485
5485
  return self.api_client.response_deserialize(
5486
5486
  response_data=response_data,
5487
5487
  response_types_map=_response_types_map,
5488
5488
  )
5489
5489
 
5490
5490
  @validate_call
5491
- async def workflow_scheduled_list_without_preload_content(
5491
+ def workflow_scheduled_list_without_preload_content(
5492
5492
  self,
5493
5493
  tenant: Annotated[
5494
5494
  str,
@@ -5610,7 +5610,7 @@ class WorkflowApi:
5610
5610
  "400": "APIErrors",
5611
5611
  "403": "APIErrors",
5612
5612
  }
5613
- response_data = await self.api_client.call_api(
5613
+ response_data = self.api_client.call_api(
5614
5614
  *_param, _request_timeout=_request_timeout
5615
5615
  )
5616
5616
  return response_data.response
@@ -5718,7 +5718,7 @@ class WorkflowApi:
5718
5718
  )
5719
5719
 
5720
5720
  @validate_call
5721
- async def workflow_update(
5721
+ def workflow_update(
5722
5722
  self,
5723
5723
  workflow: Annotated[
5724
5724
  str,
@@ -5785,17 +5785,17 @@ class WorkflowApi:
5785
5785
  "400": "APIErrors",
5786
5786
  "403": "APIErrors",
5787
5787
  }
5788
- response_data = await self.api_client.call_api(
5788
+ response_data = self.api_client.call_api(
5789
5789
  *_param, _request_timeout=_request_timeout
5790
5790
  )
5791
- await response_data.read()
5791
+ response_data.read()
5792
5792
  return self.api_client.response_deserialize(
5793
5793
  response_data=response_data,
5794
5794
  response_types_map=_response_types_map,
5795
5795
  ).data
5796
5796
 
5797
5797
  @validate_call
5798
- async def workflow_update_with_http_info(
5798
+ def workflow_update_with_http_info(
5799
5799
  self,
5800
5800
  workflow: Annotated[
5801
5801
  str,
@@ -5862,17 +5862,17 @@ class WorkflowApi:
5862
5862
  "400": "APIErrors",
5863
5863
  "403": "APIErrors",
5864
5864
  }
5865
- response_data = await self.api_client.call_api(
5865
+ response_data = self.api_client.call_api(
5866
5866
  *_param, _request_timeout=_request_timeout
5867
5867
  )
5868
- await response_data.read()
5868
+ response_data.read()
5869
5869
  return self.api_client.response_deserialize(
5870
5870
  response_data=response_data,
5871
5871
  response_types_map=_response_types_map,
5872
5872
  )
5873
5873
 
5874
5874
  @validate_call
5875
- async def workflow_update_without_preload_content(
5875
+ def workflow_update_without_preload_content(
5876
5876
  self,
5877
5877
  workflow: Annotated[
5878
5878
  str,
@@ -5939,7 +5939,7 @@ class WorkflowApi:
5939
5939
  "400": "APIErrors",
5940
5940
  "403": "APIErrors",
5941
5941
  }
5942
- response_data = await self.api_client.call_api(
5942
+ response_data = self.api_client.call_api(
5943
5943
  *_param, _request_timeout=_request_timeout
5944
5944
  )
5945
5945
  return response_data.response
@@ -6012,7 +6012,7 @@ class WorkflowApi:
6012
6012
  )
6013
6013
 
6014
6014
  @validate_call
6015
- async def workflow_version_get(
6015
+ def workflow_version_get(
6016
6016
  self,
6017
6017
  workflow: Annotated[
6018
6018
  str,
@@ -6083,17 +6083,17 @@ class WorkflowApi:
6083
6083
  "403": "APIErrors",
6084
6084
  "404": "APIErrors",
6085
6085
  }
6086
- response_data = await self.api_client.call_api(
6086
+ response_data = self.api_client.call_api(
6087
6087
  *_param, _request_timeout=_request_timeout
6088
6088
  )
6089
- await response_data.read()
6089
+ response_data.read()
6090
6090
  return self.api_client.response_deserialize(
6091
6091
  response_data=response_data,
6092
6092
  response_types_map=_response_types_map,
6093
6093
  ).data
6094
6094
 
6095
6095
  @validate_call
6096
- async def workflow_version_get_with_http_info(
6096
+ def workflow_version_get_with_http_info(
6097
6097
  self,
6098
6098
  workflow: Annotated[
6099
6099
  str,
@@ -6164,17 +6164,17 @@ class WorkflowApi:
6164
6164
  "403": "APIErrors",
6165
6165
  "404": "APIErrors",
6166
6166
  }
6167
- response_data = await self.api_client.call_api(
6167
+ response_data = self.api_client.call_api(
6168
6168
  *_param, _request_timeout=_request_timeout
6169
6169
  )
6170
- await response_data.read()
6170
+ response_data.read()
6171
6171
  return self.api_client.response_deserialize(
6172
6172
  response_data=response_data,
6173
6173
  response_types_map=_response_types_map,
6174
6174
  )
6175
6175
 
6176
6176
  @validate_call
6177
- async def workflow_version_get_without_preload_content(
6177
+ def workflow_version_get_without_preload_content(
6178
6178
  self,
6179
6179
  workflow: Annotated[
6180
6180
  str,
@@ -6245,7 +6245,7 @@ class WorkflowApi:
6245
6245
  "403": "APIErrors",
6246
6246
  "404": "APIErrors",
6247
6247
  }
6248
- response_data = await self.api_client.call_api(
6248
+ response_data = self.api_client.call_api(
6249
6249
  *_param, _request_timeout=_request_timeout
6250
6250
  )
6251
6251
  return response_data.response