hatchet-sdk 1.2.6__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.

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/workflow_runs_metrics.py +5 -1
  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 +55 -9
  53. {hatchet_sdk-1.2.6.dist-info → hatchet_sdk-1.3.0.dist-info}/METADATA +1 -1
  54. {hatchet_sdk-1.2.6.dist-info → hatchet_sdk-1.3.0.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.0.dist-info}/WHEEL +0 -0
  60. {hatchet_sdk-1.2.6.dist-info → hatchet_sdk-1.3.0.dist-info}/entry_points.txt +0 -0
@@ -66,7 +66,7 @@ class TenantApi:
66
66
  self.api_client = api_client
67
67
 
68
68
  @validate_call
69
- async def alert_email_group_create(
69
+ def alert_email_group_create(
70
70
  self,
71
71
  tenant: Annotated[
72
72
  str,
@@ -134,17 +134,17 @@ class TenantApi:
134
134
  "400": "APIErrors",
135
135
  "403": "APIError",
136
136
  }
137
- response_data = await self.api_client.call_api(
137
+ response_data = self.api_client.call_api(
138
138
  *_param, _request_timeout=_request_timeout
139
139
  )
140
- await response_data.read()
140
+ response_data.read()
141
141
  return self.api_client.response_deserialize(
142
142
  response_data=response_data,
143
143
  response_types_map=_response_types_map,
144
144
  ).data
145
145
 
146
146
  @validate_call
147
- async def alert_email_group_create_with_http_info(
147
+ def alert_email_group_create_with_http_info(
148
148
  self,
149
149
  tenant: Annotated[
150
150
  str,
@@ -212,17 +212,17 @@ class TenantApi:
212
212
  "400": "APIErrors",
213
213
  "403": "APIError",
214
214
  }
215
- response_data = await self.api_client.call_api(
215
+ response_data = self.api_client.call_api(
216
216
  *_param, _request_timeout=_request_timeout
217
217
  )
218
- await response_data.read()
218
+ response_data.read()
219
219
  return self.api_client.response_deserialize(
220
220
  response_data=response_data,
221
221
  response_types_map=_response_types_map,
222
222
  )
223
223
 
224
224
  @validate_call
225
- async def alert_email_group_create_without_preload_content(
225
+ def alert_email_group_create_without_preload_content(
226
226
  self,
227
227
  tenant: Annotated[
228
228
  str,
@@ -290,7 +290,7 @@ class TenantApi:
290
290
  "400": "APIErrors",
291
291
  "403": "APIError",
292
292
  }
293
- response_data = await self.api_client.call_api(
293
+ response_data = self.api_client.call_api(
294
294
  *_param, _request_timeout=_request_timeout
295
295
  )
296
296
  return response_data.response
@@ -363,7 +363,7 @@ class TenantApi:
363
363
  )
364
364
 
365
365
  @validate_call
366
- async def alert_email_group_delete(
366
+ def alert_email_group_delete(
367
367
  self,
368
368
  alert_email_group: Annotated[
369
369
  str,
@@ -427,17 +427,17 @@ class TenantApi:
427
427
  "400": "APIErrors",
428
428
  "403": "APIError",
429
429
  }
430
- response_data = await self.api_client.call_api(
430
+ response_data = self.api_client.call_api(
431
431
  *_param, _request_timeout=_request_timeout
432
432
  )
433
- await response_data.read()
433
+ response_data.read()
434
434
  return self.api_client.response_deserialize(
435
435
  response_data=response_data,
436
436
  response_types_map=_response_types_map,
437
437
  ).data
438
438
 
439
439
  @validate_call
440
- async def alert_email_group_delete_with_http_info(
440
+ def alert_email_group_delete_with_http_info(
441
441
  self,
442
442
  alert_email_group: Annotated[
443
443
  str,
@@ -501,17 +501,17 @@ class TenantApi:
501
501
  "400": "APIErrors",
502
502
  "403": "APIError",
503
503
  }
504
- response_data = await self.api_client.call_api(
504
+ response_data = self.api_client.call_api(
505
505
  *_param, _request_timeout=_request_timeout
506
506
  )
507
- await response_data.read()
507
+ response_data.read()
508
508
  return self.api_client.response_deserialize(
509
509
  response_data=response_data,
510
510
  response_types_map=_response_types_map,
511
511
  )
512
512
 
513
513
  @validate_call
514
- async def alert_email_group_delete_without_preload_content(
514
+ def alert_email_group_delete_without_preload_content(
515
515
  self,
516
516
  alert_email_group: Annotated[
517
517
  str,
@@ -575,7 +575,7 @@ class TenantApi:
575
575
  "400": "APIErrors",
576
576
  "403": "APIError",
577
577
  }
578
- response_data = await self.api_client.call_api(
578
+ response_data = self.api_client.call_api(
579
579
  *_param, _request_timeout=_request_timeout
580
580
  )
581
581
  return response_data.response
@@ -635,7 +635,7 @@ class TenantApi:
635
635
  )
636
636
 
637
637
  @validate_call
638
- async def alert_email_group_list(
638
+ def alert_email_group_list(
639
639
  self,
640
640
  tenant: Annotated[
641
641
  str,
@@ -696,17 +696,17 @@ class TenantApi:
696
696
  "400": "APIErrors",
697
697
  "403": "APIError",
698
698
  }
699
- response_data = await self.api_client.call_api(
699
+ response_data = self.api_client.call_api(
700
700
  *_param, _request_timeout=_request_timeout
701
701
  )
702
- await response_data.read()
702
+ response_data.read()
703
703
  return self.api_client.response_deserialize(
704
704
  response_data=response_data,
705
705
  response_types_map=_response_types_map,
706
706
  ).data
707
707
 
708
708
  @validate_call
709
- async def alert_email_group_list_with_http_info(
709
+ def alert_email_group_list_with_http_info(
710
710
  self,
711
711
  tenant: Annotated[
712
712
  str,
@@ -767,17 +767,17 @@ class TenantApi:
767
767
  "400": "APIErrors",
768
768
  "403": "APIError",
769
769
  }
770
- response_data = await self.api_client.call_api(
770
+ response_data = self.api_client.call_api(
771
771
  *_param, _request_timeout=_request_timeout
772
772
  )
773
- await response_data.read()
773
+ response_data.read()
774
774
  return self.api_client.response_deserialize(
775
775
  response_data=response_data,
776
776
  response_types_map=_response_types_map,
777
777
  )
778
778
 
779
779
  @validate_call
780
- async def alert_email_group_list_without_preload_content(
780
+ def alert_email_group_list_without_preload_content(
781
781
  self,
782
782
  tenant: Annotated[
783
783
  str,
@@ -838,7 +838,7 @@ class TenantApi:
838
838
  "400": "APIErrors",
839
839
  "403": "APIError",
840
840
  }
841
- response_data = await self.api_client.call_api(
841
+ response_data = self.api_client.call_api(
842
842
  *_param, _request_timeout=_request_timeout
843
843
  )
844
844
  return response_data.response
@@ -898,7 +898,7 @@ class TenantApi:
898
898
  )
899
899
 
900
900
  @validate_call
901
- async def alert_email_group_update(
901
+ def alert_email_group_update(
902
902
  self,
903
903
  alert_email_group: Annotated[
904
904
  str,
@@ -969,17 +969,17 @@ class TenantApi:
969
969
  "400": "APIErrors",
970
970
  "403": "APIError",
971
971
  }
972
- response_data = await self.api_client.call_api(
972
+ response_data = self.api_client.call_api(
973
973
  *_param, _request_timeout=_request_timeout
974
974
  )
975
- await response_data.read()
975
+ response_data.read()
976
976
  return self.api_client.response_deserialize(
977
977
  response_data=response_data,
978
978
  response_types_map=_response_types_map,
979
979
  ).data
980
980
 
981
981
  @validate_call
982
- async def alert_email_group_update_with_http_info(
982
+ def alert_email_group_update_with_http_info(
983
983
  self,
984
984
  alert_email_group: Annotated[
985
985
  str,
@@ -1050,17 +1050,17 @@ class TenantApi:
1050
1050
  "400": "APIErrors",
1051
1051
  "403": "APIError",
1052
1052
  }
1053
- response_data = await self.api_client.call_api(
1053
+ response_data = self.api_client.call_api(
1054
1054
  *_param, _request_timeout=_request_timeout
1055
1055
  )
1056
- await response_data.read()
1056
+ response_data.read()
1057
1057
  return self.api_client.response_deserialize(
1058
1058
  response_data=response_data,
1059
1059
  response_types_map=_response_types_map,
1060
1060
  )
1061
1061
 
1062
1062
  @validate_call
1063
- async def alert_email_group_update_without_preload_content(
1063
+ def alert_email_group_update_without_preload_content(
1064
1064
  self,
1065
1065
  alert_email_group: Annotated[
1066
1066
  str,
@@ -1131,7 +1131,7 @@ class TenantApi:
1131
1131
  "400": "APIErrors",
1132
1132
  "403": "APIError",
1133
1133
  }
1134
- response_data = await self.api_client.call_api(
1134
+ response_data = self.api_client.call_api(
1135
1135
  *_param, _request_timeout=_request_timeout
1136
1136
  )
1137
1137
  return response_data.response
@@ -1204,7 +1204,7 @@ class TenantApi:
1204
1204
  )
1205
1205
 
1206
1206
  @validate_call
1207
- async def tenant_alerting_settings_get(
1207
+ def tenant_alerting_settings_get(
1208
1208
  self,
1209
1209
  tenant: Annotated[
1210
1210
  str,
@@ -1265,17 +1265,17 @@ class TenantApi:
1265
1265
  "400": "APIErrors",
1266
1266
  "403": "APIError",
1267
1267
  }
1268
- response_data = await self.api_client.call_api(
1268
+ response_data = self.api_client.call_api(
1269
1269
  *_param, _request_timeout=_request_timeout
1270
1270
  )
1271
- await response_data.read()
1271
+ response_data.read()
1272
1272
  return self.api_client.response_deserialize(
1273
1273
  response_data=response_data,
1274
1274
  response_types_map=_response_types_map,
1275
1275
  ).data
1276
1276
 
1277
1277
  @validate_call
1278
- async def tenant_alerting_settings_get_with_http_info(
1278
+ def tenant_alerting_settings_get_with_http_info(
1279
1279
  self,
1280
1280
  tenant: Annotated[
1281
1281
  str,
@@ -1336,17 +1336,17 @@ class TenantApi:
1336
1336
  "400": "APIErrors",
1337
1337
  "403": "APIError",
1338
1338
  }
1339
- response_data = await self.api_client.call_api(
1339
+ response_data = self.api_client.call_api(
1340
1340
  *_param, _request_timeout=_request_timeout
1341
1341
  )
1342
- await response_data.read()
1342
+ response_data.read()
1343
1343
  return self.api_client.response_deserialize(
1344
1344
  response_data=response_data,
1345
1345
  response_types_map=_response_types_map,
1346
1346
  )
1347
1347
 
1348
1348
  @validate_call
1349
- async def tenant_alerting_settings_get_without_preload_content(
1349
+ def tenant_alerting_settings_get_without_preload_content(
1350
1350
  self,
1351
1351
  tenant: Annotated[
1352
1352
  str,
@@ -1407,7 +1407,7 @@ class TenantApi:
1407
1407
  "400": "APIErrors",
1408
1408
  "403": "APIError",
1409
1409
  }
1410
- response_data = await self.api_client.call_api(
1410
+ response_data = self.api_client.call_api(
1411
1411
  *_param, _request_timeout=_request_timeout
1412
1412
  )
1413
1413
  return response_data.response
@@ -1467,7 +1467,7 @@ class TenantApi:
1467
1467
  )
1468
1468
 
1469
1469
  @validate_call
1470
- async def tenant_create(
1470
+ def tenant_create(
1471
1471
  self,
1472
1472
  create_tenant_request: Annotated[
1473
1473
  CreateTenantRequest, Field(description="The tenant to create")
@@ -1525,17 +1525,17 @@ class TenantApi:
1525
1525
  "400": "APIErrors",
1526
1526
  "403": "APIError",
1527
1527
  }
1528
- response_data = await self.api_client.call_api(
1528
+ response_data = self.api_client.call_api(
1529
1529
  *_param, _request_timeout=_request_timeout
1530
1530
  )
1531
- await response_data.read()
1531
+ response_data.read()
1532
1532
  return self.api_client.response_deserialize(
1533
1533
  response_data=response_data,
1534
1534
  response_types_map=_response_types_map,
1535
1535
  ).data
1536
1536
 
1537
1537
  @validate_call
1538
- async def tenant_create_with_http_info(
1538
+ def tenant_create_with_http_info(
1539
1539
  self,
1540
1540
  create_tenant_request: Annotated[
1541
1541
  CreateTenantRequest, Field(description="The tenant to create")
@@ -1593,17 +1593,17 @@ class TenantApi:
1593
1593
  "400": "APIErrors",
1594
1594
  "403": "APIError",
1595
1595
  }
1596
- response_data = await self.api_client.call_api(
1596
+ response_data = self.api_client.call_api(
1597
1597
  *_param, _request_timeout=_request_timeout
1598
1598
  )
1599
- await response_data.read()
1599
+ response_data.read()
1600
1600
  return self.api_client.response_deserialize(
1601
1601
  response_data=response_data,
1602
1602
  response_types_map=_response_types_map,
1603
1603
  )
1604
1604
 
1605
1605
  @validate_call
1606
- async def tenant_create_without_preload_content(
1606
+ def tenant_create_without_preload_content(
1607
1607
  self,
1608
1608
  create_tenant_request: Annotated[
1609
1609
  CreateTenantRequest, Field(description="The tenant to create")
@@ -1661,7 +1661,7 @@ class TenantApi:
1661
1661
  "400": "APIErrors",
1662
1662
  "403": "APIError",
1663
1663
  }
1664
- response_data = await self.api_client.call_api(
1664
+ response_data = self.api_client.call_api(
1665
1665
  *_param, _request_timeout=_request_timeout
1666
1666
  )
1667
1667
  return response_data.response
@@ -1731,7 +1731,7 @@ class TenantApi:
1731
1731
  )
1732
1732
 
1733
1733
  @validate_call
1734
- async def tenant_get_step_run_queue_metrics(
1734
+ def tenant_get_step_run_queue_metrics(
1735
1735
  self,
1736
1736
  tenant: Annotated[
1737
1737
  str,
@@ -1793,17 +1793,17 @@ class TenantApi:
1793
1793
  "403": "APIErrors",
1794
1794
  "404": "APIErrors",
1795
1795
  }
1796
- response_data = await self.api_client.call_api(
1796
+ response_data = self.api_client.call_api(
1797
1797
  *_param, _request_timeout=_request_timeout
1798
1798
  )
1799
- await response_data.read()
1799
+ response_data.read()
1800
1800
  return self.api_client.response_deserialize(
1801
1801
  response_data=response_data,
1802
1802
  response_types_map=_response_types_map,
1803
1803
  ).data
1804
1804
 
1805
1805
  @validate_call
1806
- async def tenant_get_step_run_queue_metrics_with_http_info(
1806
+ def tenant_get_step_run_queue_metrics_with_http_info(
1807
1807
  self,
1808
1808
  tenant: Annotated[
1809
1809
  str,
@@ -1865,17 +1865,17 @@ class TenantApi:
1865
1865
  "403": "APIErrors",
1866
1866
  "404": "APIErrors",
1867
1867
  }
1868
- response_data = await self.api_client.call_api(
1868
+ response_data = self.api_client.call_api(
1869
1869
  *_param, _request_timeout=_request_timeout
1870
1870
  )
1871
- await response_data.read()
1871
+ response_data.read()
1872
1872
  return self.api_client.response_deserialize(
1873
1873
  response_data=response_data,
1874
1874
  response_types_map=_response_types_map,
1875
1875
  )
1876
1876
 
1877
1877
  @validate_call
1878
- async def tenant_get_step_run_queue_metrics_without_preload_content(
1878
+ def tenant_get_step_run_queue_metrics_without_preload_content(
1879
1879
  self,
1880
1880
  tenant: Annotated[
1881
1881
  str,
@@ -1937,7 +1937,7 @@ class TenantApi:
1937
1937
  "403": "APIErrors",
1938
1938
  "404": "APIErrors",
1939
1939
  }
1940
- response_data = await self.api_client.call_api(
1940
+ response_data = self.api_client.call_api(
1941
1941
  *_param, _request_timeout=_request_timeout
1942
1942
  )
1943
1943
  return response_data.response
@@ -1997,7 +1997,7 @@ class TenantApi:
1997
1997
  )
1998
1998
 
1999
1999
  @validate_call
2000
- async def tenant_invite_accept(
2000
+ def tenant_invite_accept(
2001
2001
  self,
2002
2002
  accept_invite_request: Optional[AcceptInviteRequest] = None,
2003
2003
  _request_timeout: Union[
@@ -2053,17 +2053,17 @@ class TenantApi:
2053
2053
  "400": "APIErrors",
2054
2054
  "403": "APIError",
2055
2055
  }
2056
- response_data = await self.api_client.call_api(
2056
+ response_data = self.api_client.call_api(
2057
2057
  *_param, _request_timeout=_request_timeout
2058
2058
  )
2059
- await response_data.read()
2059
+ response_data.read()
2060
2060
  return self.api_client.response_deserialize(
2061
2061
  response_data=response_data,
2062
2062
  response_types_map=_response_types_map,
2063
2063
  ).data
2064
2064
 
2065
2065
  @validate_call
2066
- async def tenant_invite_accept_with_http_info(
2066
+ def tenant_invite_accept_with_http_info(
2067
2067
  self,
2068
2068
  accept_invite_request: Optional[AcceptInviteRequest] = None,
2069
2069
  _request_timeout: Union[
@@ -2119,17 +2119,17 @@ class TenantApi:
2119
2119
  "400": "APIErrors",
2120
2120
  "403": "APIError",
2121
2121
  }
2122
- response_data = await self.api_client.call_api(
2122
+ response_data = self.api_client.call_api(
2123
2123
  *_param, _request_timeout=_request_timeout
2124
2124
  )
2125
- await response_data.read()
2125
+ response_data.read()
2126
2126
  return self.api_client.response_deserialize(
2127
2127
  response_data=response_data,
2128
2128
  response_types_map=_response_types_map,
2129
2129
  )
2130
2130
 
2131
2131
  @validate_call
2132
- async def tenant_invite_accept_without_preload_content(
2132
+ def tenant_invite_accept_without_preload_content(
2133
2133
  self,
2134
2134
  accept_invite_request: Optional[AcceptInviteRequest] = None,
2135
2135
  _request_timeout: Union[
@@ -2185,7 +2185,7 @@ class TenantApi:
2185
2185
  "400": "APIErrors",
2186
2186
  "403": "APIError",
2187
2187
  }
2188
- response_data = await self.api_client.call_api(
2188
+ response_data = self.api_client.call_api(
2189
2189
  *_param, _request_timeout=_request_timeout
2190
2190
  )
2191
2191
  return response_data.response
@@ -2255,7 +2255,7 @@ class TenantApi:
2255
2255
  )
2256
2256
 
2257
2257
  @validate_call
2258
- async def tenant_invite_create(
2258
+ def tenant_invite_create(
2259
2259
  self,
2260
2260
  tenant: Annotated[
2261
2261
  str,
@@ -2322,17 +2322,17 @@ class TenantApi:
2322
2322
  "400": "APIErrors",
2323
2323
  "403": "APIError",
2324
2324
  }
2325
- response_data = await self.api_client.call_api(
2325
+ response_data = self.api_client.call_api(
2326
2326
  *_param, _request_timeout=_request_timeout
2327
2327
  )
2328
- await response_data.read()
2328
+ response_data.read()
2329
2329
  return self.api_client.response_deserialize(
2330
2330
  response_data=response_data,
2331
2331
  response_types_map=_response_types_map,
2332
2332
  ).data
2333
2333
 
2334
2334
  @validate_call
2335
- async def tenant_invite_create_with_http_info(
2335
+ def tenant_invite_create_with_http_info(
2336
2336
  self,
2337
2337
  tenant: Annotated[
2338
2338
  str,
@@ -2399,17 +2399,17 @@ class TenantApi:
2399
2399
  "400": "APIErrors",
2400
2400
  "403": "APIError",
2401
2401
  }
2402
- response_data = await self.api_client.call_api(
2402
+ response_data = self.api_client.call_api(
2403
2403
  *_param, _request_timeout=_request_timeout
2404
2404
  )
2405
- await response_data.read()
2405
+ response_data.read()
2406
2406
  return self.api_client.response_deserialize(
2407
2407
  response_data=response_data,
2408
2408
  response_types_map=_response_types_map,
2409
2409
  )
2410
2410
 
2411
2411
  @validate_call
2412
- async def tenant_invite_create_without_preload_content(
2412
+ def tenant_invite_create_without_preload_content(
2413
2413
  self,
2414
2414
  tenant: Annotated[
2415
2415
  str,
@@ -2476,7 +2476,7 @@ class TenantApi:
2476
2476
  "400": "APIErrors",
2477
2477
  "403": "APIError",
2478
2478
  }
2479
- response_data = await self.api_client.call_api(
2479
+ response_data = self.api_client.call_api(
2480
2480
  *_param, _request_timeout=_request_timeout
2481
2481
  )
2482
2482
  return response_data.response
@@ -2549,7 +2549,7 @@ class TenantApi:
2549
2549
  )
2550
2550
 
2551
2551
  @validate_call
2552
- async def tenant_invite_list(
2552
+ def tenant_invite_list(
2553
2553
  self,
2554
2554
  tenant: Annotated[
2555
2555
  str,
@@ -2610,17 +2610,17 @@ class TenantApi:
2610
2610
  "400": "APIErrors",
2611
2611
  "403": "APIError",
2612
2612
  }
2613
- response_data = await self.api_client.call_api(
2613
+ response_data = self.api_client.call_api(
2614
2614
  *_param, _request_timeout=_request_timeout
2615
2615
  )
2616
- await response_data.read()
2616
+ response_data.read()
2617
2617
  return self.api_client.response_deserialize(
2618
2618
  response_data=response_data,
2619
2619
  response_types_map=_response_types_map,
2620
2620
  ).data
2621
2621
 
2622
2622
  @validate_call
2623
- async def tenant_invite_list_with_http_info(
2623
+ def tenant_invite_list_with_http_info(
2624
2624
  self,
2625
2625
  tenant: Annotated[
2626
2626
  str,
@@ -2681,17 +2681,17 @@ class TenantApi:
2681
2681
  "400": "APIErrors",
2682
2682
  "403": "APIError",
2683
2683
  }
2684
- response_data = await self.api_client.call_api(
2684
+ response_data = self.api_client.call_api(
2685
2685
  *_param, _request_timeout=_request_timeout
2686
2686
  )
2687
- await response_data.read()
2687
+ response_data.read()
2688
2688
  return self.api_client.response_deserialize(
2689
2689
  response_data=response_data,
2690
2690
  response_types_map=_response_types_map,
2691
2691
  )
2692
2692
 
2693
2693
  @validate_call
2694
- async def tenant_invite_list_without_preload_content(
2694
+ def tenant_invite_list_without_preload_content(
2695
2695
  self,
2696
2696
  tenant: Annotated[
2697
2697
  str,
@@ -2752,7 +2752,7 @@ class TenantApi:
2752
2752
  "400": "APIErrors",
2753
2753
  "403": "APIError",
2754
2754
  }
2755
- response_data = await self.api_client.call_api(
2755
+ response_data = self.api_client.call_api(
2756
2756
  *_param, _request_timeout=_request_timeout
2757
2757
  )
2758
2758
  return response_data.response
@@ -2812,7 +2812,7 @@ class TenantApi:
2812
2812
  )
2813
2813
 
2814
2814
  @validate_call
2815
- async def tenant_invite_reject(
2815
+ def tenant_invite_reject(
2816
2816
  self,
2817
2817
  reject_invite_request: Optional[RejectInviteRequest] = None,
2818
2818
  _request_timeout: Union[
@@ -2868,17 +2868,17 @@ class TenantApi:
2868
2868
  "400": "APIErrors",
2869
2869
  "403": "APIError",
2870
2870
  }
2871
- response_data = await self.api_client.call_api(
2871
+ response_data = self.api_client.call_api(
2872
2872
  *_param, _request_timeout=_request_timeout
2873
2873
  )
2874
- await response_data.read()
2874
+ response_data.read()
2875
2875
  return self.api_client.response_deserialize(
2876
2876
  response_data=response_data,
2877
2877
  response_types_map=_response_types_map,
2878
2878
  ).data
2879
2879
 
2880
2880
  @validate_call
2881
- async def tenant_invite_reject_with_http_info(
2881
+ def tenant_invite_reject_with_http_info(
2882
2882
  self,
2883
2883
  reject_invite_request: Optional[RejectInviteRequest] = None,
2884
2884
  _request_timeout: Union[
@@ -2934,17 +2934,17 @@ class TenantApi:
2934
2934
  "400": "APIErrors",
2935
2935
  "403": "APIError",
2936
2936
  }
2937
- response_data = await self.api_client.call_api(
2937
+ response_data = self.api_client.call_api(
2938
2938
  *_param, _request_timeout=_request_timeout
2939
2939
  )
2940
- await response_data.read()
2940
+ response_data.read()
2941
2941
  return self.api_client.response_deserialize(
2942
2942
  response_data=response_data,
2943
2943
  response_types_map=_response_types_map,
2944
2944
  )
2945
2945
 
2946
2946
  @validate_call
2947
- async def tenant_invite_reject_without_preload_content(
2947
+ def tenant_invite_reject_without_preload_content(
2948
2948
  self,
2949
2949
  reject_invite_request: Optional[RejectInviteRequest] = None,
2950
2950
  _request_timeout: Union[
@@ -3000,7 +3000,7 @@ class TenantApi:
3000
3000
  "400": "APIErrors",
3001
3001
  "403": "APIError",
3002
3002
  }
3003
- response_data = await self.api_client.call_api(
3003
+ response_data = self.api_client.call_api(
3004
3004
  *_param, _request_timeout=_request_timeout
3005
3005
  )
3006
3006
  return response_data.response
@@ -3070,7 +3070,7 @@ class TenantApi:
3070
3070
  )
3071
3071
 
3072
3072
  @validate_call
3073
- async def tenant_member_delete(
3073
+ def tenant_member_delete(
3074
3074
  self,
3075
3075
  tenant: Annotated[
3076
3076
  str,
@@ -3144,17 +3144,17 @@ class TenantApi:
3144
3144
  "403": "APIErrors",
3145
3145
  "404": "APIErrors",
3146
3146
  }
3147
- response_data = await self.api_client.call_api(
3147
+ response_data = self.api_client.call_api(
3148
3148
  *_param, _request_timeout=_request_timeout
3149
3149
  )
3150
- await response_data.read()
3150
+ response_data.read()
3151
3151
  return self.api_client.response_deserialize(
3152
3152
  response_data=response_data,
3153
3153
  response_types_map=_response_types_map,
3154
3154
  ).data
3155
3155
 
3156
3156
  @validate_call
3157
- async def tenant_member_delete_with_http_info(
3157
+ def tenant_member_delete_with_http_info(
3158
3158
  self,
3159
3159
  tenant: Annotated[
3160
3160
  str,
@@ -3228,17 +3228,17 @@ class TenantApi:
3228
3228
  "403": "APIErrors",
3229
3229
  "404": "APIErrors",
3230
3230
  }
3231
- response_data = await self.api_client.call_api(
3231
+ response_data = self.api_client.call_api(
3232
3232
  *_param, _request_timeout=_request_timeout
3233
3233
  )
3234
- await response_data.read()
3234
+ response_data.read()
3235
3235
  return self.api_client.response_deserialize(
3236
3236
  response_data=response_data,
3237
3237
  response_types_map=_response_types_map,
3238
3238
  )
3239
3239
 
3240
3240
  @validate_call
3241
- async def tenant_member_delete_without_preload_content(
3241
+ def tenant_member_delete_without_preload_content(
3242
3242
  self,
3243
3243
  tenant: Annotated[
3244
3244
  str,
@@ -3312,7 +3312,7 @@ class TenantApi:
3312
3312
  "403": "APIErrors",
3313
3313
  "404": "APIErrors",
3314
3314
  }
3315
- response_data = await self.api_client.call_api(
3315
+ response_data = self.api_client.call_api(
3316
3316
  *_param, _request_timeout=_request_timeout
3317
3317
  )
3318
3318
  return response_data.response
@@ -3375,7 +3375,7 @@ class TenantApi:
3375
3375
  )
3376
3376
 
3377
3377
  @validate_call
3378
- async def tenant_member_list(
3378
+ def tenant_member_list(
3379
3379
  self,
3380
3380
  tenant: Annotated[
3381
3381
  str,
@@ -3436,17 +3436,17 @@ class TenantApi:
3436
3436
  "400": "APIErrors",
3437
3437
  "403": "APIError",
3438
3438
  }
3439
- response_data = await self.api_client.call_api(
3439
+ response_data = self.api_client.call_api(
3440
3440
  *_param, _request_timeout=_request_timeout
3441
3441
  )
3442
- await response_data.read()
3442
+ response_data.read()
3443
3443
  return self.api_client.response_deserialize(
3444
3444
  response_data=response_data,
3445
3445
  response_types_map=_response_types_map,
3446
3446
  ).data
3447
3447
 
3448
3448
  @validate_call
3449
- async def tenant_member_list_with_http_info(
3449
+ def tenant_member_list_with_http_info(
3450
3450
  self,
3451
3451
  tenant: Annotated[
3452
3452
  str,
@@ -3507,17 +3507,17 @@ class TenantApi:
3507
3507
  "400": "APIErrors",
3508
3508
  "403": "APIError",
3509
3509
  }
3510
- response_data = await self.api_client.call_api(
3510
+ response_data = self.api_client.call_api(
3511
3511
  *_param, _request_timeout=_request_timeout
3512
3512
  )
3513
- await response_data.read()
3513
+ response_data.read()
3514
3514
  return self.api_client.response_deserialize(
3515
3515
  response_data=response_data,
3516
3516
  response_types_map=_response_types_map,
3517
3517
  )
3518
3518
 
3519
3519
  @validate_call
3520
- async def tenant_member_list_without_preload_content(
3520
+ def tenant_member_list_without_preload_content(
3521
3521
  self,
3522
3522
  tenant: Annotated[
3523
3523
  str,
@@ -3578,7 +3578,7 @@ class TenantApi:
3578
3578
  "400": "APIErrors",
3579
3579
  "403": "APIError",
3580
3580
  }
3581
- response_data = await self.api_client.call_api(
3581
+ response_data = self.api_client.call_api(
3582
3582
  *_param, _request_timeout=_request_timeout
3583
3583
  )
3584
3584
  return response_data.response
@@ -3638,7 +3638,7 @@ class TenantApi:
3638
3638
  )
3639
3639
 
3640
3640
  @validate_call
3641
- async def tenant_resource_policy_get(
3641
+ def tenant_resource_policy_get(
3642
3642
  self,
3643
3643
  tenant: Annotated[
3644
3644
  str,
@@ -3699,17 +3699,17 @@ class TenantApi:
3699
3699
  "400": "APIErrors",
3700
3700
  "403": "APIError",
3701
3701
  }
3702
- response_data = await self.api_client.call_api(
3702
+ response_data = self.api_client.call_api(
3703
3703
  *_param, _request_timeout=_request_timeout
3704
3704
  )
3705
- await response_data.read()
3705
+ response_data.read()
3706
3706
  return self.api_client.response_deserialize(
3707
3707
  response_data=response_data,
3708
3708
  response_types_map=_response_types_map,
3709
3709
  ).data
3710
3710
 
3711
3711
  @validate_call
3712
- async def tenant_resource_policy_get_with_http_info(
3712
+ def tenant_resource_policy_get_with_http_info(
3713
3713
  self,
3714
3714
  tenant: Annotated[
3715
3715
  str,
@@ -3770,17 +3770,17 @@ class TenantApi:
3770
3770
  "400": "APIErrors",
3771
3771
  "403": "APIError",
3772
3772
  }
3773
- response_data = await self.api_client.call_api(
3773
+ response_data = self.api_client.call_api(
3774
3774
  *_param, _request_timeout=_request_timeout
3775
3775
  )
3776
- await response_data.read()
3776
+ response_data.read()
3777
3777
  return self.api_client.response_deserialize(
3778
3778
  response_data=response_data,
3779
3779
  response_types_map=_response_types_map,
3780
3780
  )
3781
3781
 
3782
3782
  @validate_call
3783
- async def tenant_resource_policy_get_without_preload_content(
3783
+ def tenant_resource_policy_get_without_preload_content(
3784
3784
  self,
3785
3785
  tenant: Annotated[
3786
3786
  str,
@@ -3841,7 +3841,7 @@ class TenantApi:
3841
3841
  "400": "APIErrors",
3842
3842
  "403": "APIError",
3843
3843
  }
3844
- response_data = await self.api_client.call_api(
3844
+ response_data = self.api_client.call_api(
3845
3845
  *_param, _request_timeout=_request_timeout
3846
3846
  )
3847
3847
  return response_data.response
@@ -3901,7 +3901,7 @@ class TenantApi:
3901
3901
  )
3902
3902
 
3903
3903
  @validate_call
3904
- async def tenant_update(
3904
+ def tenant_update(
3905
3905
  self,
3906
3906
  tenant: Annotated[
3907
3907
  str,
@@ -3968,17 +3968,17 @@ class TenantApi:
3968
3968
  "400": "APIErrors",
3969
3969
  "403": "APIError",
3970
3970
  }
3971
- response_data = await self.api_client.call_api(
3971
+ response_data = self.api_client.call_api(
3972
3972
  *_param, _request_timeout=_request_timeout
3973
3973
  )
3974
- await response_data.read()
3974
+ response_data.read()
3975
3975
  return self.api_client.response_deserialize(
3976
3976
  response_data=response_data,
3977
3977
  response_types_map=_response_types_map,
3978
3978
  ).data
3979
3979
 
3980
3980
  @validate_call
3981
- async def tenant_update_with_http_info(
3981
+ def tenant_update_with_http_info(
3982
3982
  self,
3983
3983
  tenant: Annotated[
3984
3984
  str,
@@ -4045,17 +4045,17 @@ class TenantApi:
4045
4045
  "400": "APIErrors",
4046
4046
  "403": "APIError",
4047
4047
  }
4048
- response_data = await self.api_client.call_api(
4048
+ response_data = self.api_client.call_api(
4049
4049
  *_param, _request_timeout=_request_timeout
4050
4050
  )
4051
- await response_data.read()
4051
+ response_data.read()
4052
4052
  return self.api_client.response_deserialize(
4053
4053
  response_data=response_data,
4054
4054
  response_types_map=_response_types_map,
4055
4055
  )
4056
4056
 
4057
4057
  @validate_call
4058
- async def tenant_update_without_preload_content(
4058
+ def tenant_update_without_preload_content(
4059
4059
  self,
4060
4060
  tenant: Annotated[
4061
4061
  str,
@@ -4122,7 +4122,7 @@ class TenantApi:
4122
4122
  "400": "APIErrors",
4123
4123
  "403": "APIError",
4124
4124
  }
4125
- response_data = await self.api_client.call_api(
4125
+ response_data = self.api_client.call_api(
4126
4126
  *_param, _request_timeout=_request_timeout
4127
4127
  )
4128
4128
  return response_data.response
@@ -4195,7 +4195,7 @@ class TenantApi:
4195
4195
  )
4196
4196
 
4197
4197
  @validate_call
4198
- async def user_list_tenant_invites(
4198
+ def user_list_tenant_invites(
4199
4199
  self,
4200
4200
  _request_timeout: Union[
4201
4201
  None,
@@ -4247,17 +4247,17 @@ class TenantApi:
4247
4247
  "400": "APIErrors",
4248
4248
  "403": "APIErrors",
4249
4249
  }
4250
- response_data = await self.api_client.call_api(
4250
+ response_data = self.api_client.call_api(
4251
4251
  *_param, _request_timeout=_request_timeout
4252
4252
  )
4253
- await response_data.read()
4253
+ response_data.read()
4254
4254
  return self.api_client.response_deserialize(
4255
4255
  response_data=response_data,
4256
4256
  response_types_map=_response_types_map,
4257
4257
  ).data
4258
4258
 
4259
4259
  @validate_call
4260
- async def user_list_tenant_invites_with_http_info(
4260
+ def user_list_tenant_invites_with_http_info(
4261
4261
  self,
4262
4262
  _request_timeout: Union[
4263
4263
  None,
@@ -4309,17 +4309,17 @@ class TenantApi:
4309
4309
  "400": "APIErrors",
4310
4310
  "403": "APIErrors",
4311
4311
  }
4312
- response_data = await self.api_client.call_api(
4312
+ response_data = self.api_client.call_api(
4313
4313
  *_param, _request_timeout=_request_timeout
4314
4314
  )
4315
- await response_data.read()
4315
+ response_data.read()
4316
4316
  return self.api_client.response_deserialize(
4317
4317
  response_data=response_data,
4318
4318
  response_types_map=_response_types_map,
4319
4319
  )
4320
4320
 
4321
4321
  @validate_call
4322
- async def user_list_tenant_invites_without_preload_content(
4322
+ def user_list_tenant_invites_without_preload_content(
4323
4323
  self,
4324
4324
  _request_timeout: Union[
4325
4325
  None,
@@ -4371,7 +4371,7 @@ class TenantApi:
4371
4371
  "400": "APIErrors",
4372
4372
  "403": "APIErrors",
4373
4373
  }
4374
- response_data = await self.api_client.call_api(
4374
+ response_data = self.api_client.call_api(
4375
4375
  *_param, _request_timeout=_request_timeout
4376
4376
  )
4377
4377
  return response_data.response