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
@@ -44,7 +44,7 @@ class UserApi:
44
44
  self.api_client = api_client
45
45
 
46
46
  @validate_call
47
- async def tenant_memberships_list(
47
+ def tenant_memberships_list(
48
48
  self,
49
49
  _request_timeout: Union[
50
50
  None,
@@ -96,17 +96,17 @@ class UserApi:
96
96
  "400": "APIErrors",
97
97
  "403": "APIErrors",
98
98
  }
99
- response_data = await self.api_client.call_api(
99
+ response_data = self.api_client.call_api(
100
100
  *_param, _request_timeout=_request_timeout
101
101
  )
102
- await response_data.read()
102
+ response_data.read()
103
103
  return self.api_client.response_deserialize(
104
104
  response_data=response_data,
105
105
  response_types_map=_response_types_map,
106
106
  ).data
107
107
 
108
108
  @validate_call
109
- async def tenant_memberships_list_with_http_info(
109
+ def tenant_memberships_list_with_http_info(
110
110
  self,
111
111
  _request_timeout: Union[
112
112
  None,
@@ -158,17 +158,17 @@ class UserApi:
158
158
  "400": "APIErrors",
159
159
  "403": "APIErrors",
160
160
  }
161
- response_data = await self.api_client.call_api(
161
+ response_data = self.api_client.call_api(
162
162
  *_param, _request_timeout=_request_timeout
163
163
  )
164
- await response_data.read()
164
+ response_data.read()
165
165
  return self.api_client.response_deserialize(
166
166
  response_data=response_data,
167
167
  response_types_map=_response_types_map,
168
168
  )
169
169
 
170
170
  @validate_call
171
- async def tenant_memberships_list_without_preload_content(
171
+ def tenant_memberships_list_without_preload_content(
172
172
  self,
173
173
  _request_timeout: Union[
174
174
  None,
@@ -220,7 +220,7 @@ class UserApi:
220
220
  "400": "APIErrors",
221
221
  "403": "APIErrors",
222
222
  }
223
- response_data = await self.api_client.call_api(
223
+ response_data = self.api_client.call_api(
224
224
  *_param, _request_timeout=_request_timeout
225
225
  )
226
226
  return response_data.response
@@ -277,7 +277,7 @@ class UserApi:
277
277
  )
278
278
 
279
279
  @validate_call
280
- async def user_create(
280
+ def user_create(
281
281
  self,
282
282
  user_register_request: Optional[UserRegisterRequest] = None,
283
283
  _request_timeout: Union[
@@ -334,17 +334,17 @@ class UserApi:
334
334
  "401": "APIErrors",
335
335
  "405": "APIErrors",
336
336
  }
337
- response_data = await self.api_client.call_api(
337
+ response_data = self.api_client.call_api(
338
338
  *_param, _request_timeout=_request_timeout
339
339
  )
340
- await response_data.read()
340
+ response_data.read()
341
341
  return self.api_client.response_deserialize(
342
342
  response_data=response_data,
343
343
  response_types_map=_response_types_map,
344
344
  ).data
345
345
 
346
346
  @validate_call
347
- async def user_create_with_http_info(
347
+ def user_create_with_http_info(
348
348
  self,
349
349
  user_register_request: Optional[UserRegisterRequest] = None,
350
350
  _request_timeout: Union[
@@ -401,17 +401,17 @@ class UserApi:
401
401
  "401": "APIErrors",
402
402
  "405": "APIErrors",
403
403
  }
404
- response_data = await self.api_client.call_api(
404
+ response_data = self.api_client.call_api(
405
405
  *_param, _request_timeout=_request_timeout
406
406
  )
407
- await response_data.read()
407
+ response_data.read()
408
408
  return self.api_client.response_deserialize(
409
409
  response_data=response_data,
410
410
  response_types_map=_response_types_map,
411
411
  )
412
412
 
413
413
  @validate_call
414
- async def user_create_without_preload_content(
414
+ def user_create_without_preload_content(
415
415
  self,
416
416
  user_register_request: Optional[UserRegisterRequest] = None,
417
417
  _request_timeout: Union[
@@ -468,7 +468,7 @@ class UserApi:
468
468
  "401": "APIErrors",
469
469
  "405": "APIErrors",
470
470
  }
471
- response_data = await self.api_client.call_api(
471
+ response_data = self.api_client.call_api(
472
472
  *_param, _request_timeout=_request_timeout
473
473
  )
474
474
  return response_data.response
@@ -538,7 +538,7 @@ class UserApi:
538
538
  )
539
539
 
540
540
  @validate_call
541
- async def user_get_current(
541
+ def user_get_current(
542
542
  self,
543
543
  _request_timeout: Union[
544
544
  None,
@@ -591,17 +591,17 @@ class UserApi:
591
591
  "401": "APIErrors",
592
592
  "405": "APIErrors",
593
593
  }
594
- response_data = await self.api_client.call_api(
594
+ response_data = self.api_client.call_api(
595
595
  *_param, _request_timeout=_request_timeout
596
596
  )
597
- await response_data.read()
597
+ response_data.read()
598
598
  return self.api_client.response_deserialize(
599
599
  response_data=response_data,
600
600
  response_types_map=_response_types_map,
601
601
  ).data
602
602
 
603
603
  @validate_call
604
- async def user_get_current_with_http_info(
604
+ def user_get_current_with_http_info(
605
605
  self,
606
606
  _request_timeout: Union[
607
607
  None,
@@ -654,17 +654,17 @@ class UserApi:
654
654
  "401": "APIErrors",
655
655
  "405": "APIErrors",
656
656
  }
657
- response_data = await self.api_client.call_api(
657
+ response_data = self.api_client.call_api(
658
658
  *_param, _request_timeout=_request_timeout
659
659
  )
660
- await response_data.read()
660
+ response_data.read()
661
661
  return self.api_client.response_deserialize(
662
662
  response_data=response_data,
663
663
  response_types_map=_response_types_map,
664
664
  )
665
665
 
666
666
  @validate_call
667
- async def user_get_current_without_preload_content(
667
+ def user_get_current_without_preload_content(
668
668
  self,
669
669
  _request_timeout: Union[
670
670
  None,
@@ -717,7 +717,7 @@ class UserApi:
717
717
  "401": "APIErrors",
718
718
  "405": "APIErrors",
719
719
  }
720
- response_data = await self.api_client.call_api(
720
+ response_data = self.api_client.call_api(
721
721
  *_param, _request_timeout=_request_timeout
722
722
  )
723
723
  return response_data.response
@@ -774,7 +774,7 @@ class UserApi:
774
774
  )
775
775
 
776
776
  @validate_call
777
- async def user_update_github_oauth_callback(
777
+ def user_update_github_oauth_callback(
778
778
  self,
779
779
  _request_timeout: Union[
780
780
  None,
@@ -824,17 +824,17 @@ class UserApi:
824
824
  _response_types_map: Dict[str, Optional[str]] = {
825
825
  "302": None,
826
826
  }
827
- response_data = await self.api_client.call_api(
827
+ response_data = self.api_client.call_api(
828
828
  *_param, _request_timeout=_request_timeout
829
829
  )
830
- await response_data.read()
830
+ response_data.read()
831
831
  return self.api_client.response_deserialize(
832
832
  response_data=response_data,
833
833
  response_types_map=_response_types_map,
834
834
  ).data
835
835
 
836
836
  @validate_call
837
- async def user_update_github_oauth_callback_with_http_info(
837
+ def user_update_github_oauth_callback_with_http_info(
838
838
  self,
839
839
  _request_timeout: Union[
840
840
  None,
@@ -884,17 +884,17 @@ class UserApi:
884
884
  _response_types_map: Dict[str, Optional[str]] = {
885
885
  "302": None,
886
886
  }
887
- response_data = await self.api_client.call_api(
887
+ response_data = self.api_client.call_api(
888
888
  *_param, _request_timeout=_request_timeout
889
889
  )
890
- await response_data.read()
890
+ response_data.read()
891
891
  return self.api_client.response_deserialize(
892
892
  response_data=response_data,
893
893
  response_types_map=_response_types_map,
894
894
  )
895
895
 
896
896
  @validate_call
897
- async def user_update_github_oauth_callback_without_preload_content(
897
+ def user_update_github_oauth_callback_without_preload_content(
898
898
  self,
899
899
  _request_timeout: Union[
900
900
  None,
@@ -944,7 +944,7 @@ class UserApi:
944
944
  _response_types_map: Dict[str, Optional[str]] = {
945
945
  "302": None,
946
946
  }
947
- response_data = await self.api_client.call_api(
947
+ response_data = self.api_client.call_api(
948
948
  *_param, _request_timeout=_request_timeout
949
949
  )
950
950
  return response_data.response
@@ -995,7 +995,7 @@ class UserApi:
995
995
  )
996
996
 
997
997
  @validate_call
998
- async def user_update_github_oauth_start(
998
+ def user_update_github_oauth_start(
999
999
  self,
1000
1000
  _request_timeout: Union[
1001
1001
  None,
@@ -1045,17 +1045,17 @@ class UserApi:
1045
1045
  _response_types_map: Dict[str, Optional[str]] = {
1046
1046
  "302": None,
1047
1047
  }
1048
- response_data = await self.api_client.call_api(
1048
+ response_data = self.api_client.call_api(
1049
1049
  *_param, _request_timeout=_request_timeout
1050
1050
  )
1051
- await response_data.read()
1051
+ response_data.read()
1052
1052
  return self.api_client.response_deserialize(
1053
1053
  response_data=response_data,
1054
1054
  response_types_map=_response_types_map,
1055
1055
  ).data
1056
1056
 
1057
1057
  @validate_call
1058
- async def user_update_github_oauth_start_with_http_info(
1058
+ def user_update_github_oauth_start_with_http_info(
1059
1059
  self,
1060
1060
  _request_timeout: Union[
1061
1061
  None,
@@ -1105,17 +1105,17 @@ class UserApi:
1105
1105
  _response_types_map: Dict[str, Optional[str]] = {
1106
1106
  "302": None,
1107
1107
  }
1108
- response_data = await self.api_client.call_api(
1108
+ response_data = self.api_client.call_api(
1109
1109
  *_param, _request_timeout=_request_timeout
1110
1110
  )
1111
- await response_data.read()
1111
+ response_data.read()
1112
1112
  return self.api_client.response_deserialize(
1113
1113
  response_data=response_data,
1114
1114
  response_types_map=_response_types_map,
1115
1115
  )
1116
1116
 
1117
1117
  @validate_call
1118
- async def user_update_github_oauth_start_without_preload_content(
1118
+ def user_update_github_oauth_start_without_preload_content(
1119
1119
  self,
1120
1120
  _request_timeout: Union[
1121
1121
  None,
@@ -1165,7 +1165,7 @@ class UserApi:
1165
1165
  _response_types_map: Dict[str, Optional[str]] = {
1166
1166
  "302": None,
1167
1167
  }
1168
- response_data = await self.api_client.call_api(
1168
+ response_data = self.api_client.call_api(
1169
1169
  *_param, _request_timeout=_request_timeout
1170
1170
  )
1171
1171
  return response_data.response
@@ -1216,7 +1216,7 @@ class UserApi:
1216
1216
  )
1217
1217
 
1218
1218
  @validate_call
1219
- async def user_update_google_oauth_callback(
1219
+ def user_update_google_oauth_callback(
1220
1220
  self,
1221
1221
  _request_timeout: Union[
1222
1222
  None,
@@ -1266,17 +1266,17 @@ class UserApi:
1266
1266
  _response_types_map: Dict[str, Optional[str]] = {
1267
1267
  "302": None,
1268
1268
  }
1269
- response_data = await self.api_client.call_api(
1269
+ response_data = self.api_client.call_api(
1270
1270
  *_param, _request_timeout=_request_timeout
1271
1271
  )
1272
- await response_data.read()
1272
+ response_data.read()
1273
1273
  return self.api_client.response_deserialize(
1274
1274
  response_data=response_data,
1275
1275
  response_types_map=_response_types_map,
1276
1276
  ).data
1277
1277
 
1278
1278
  @validate_call
1279
- async def user_update_google_oauth_callback_with_http_info(
1279
+ def user_update_google_oauth_callback_with_http_info(
1280
1280
  self,
1281
1281
  _request_timeout: Union[
1282
1282
  None,
@@ -1326,17 +1326,17 @@ class UserApi:
1326
1326
  _response_types_map: Dict[str, Optional[str]] = {
1327
1327
  "302": None,
1328
1328
  }
1329
- response_data = await self.api_client.call_api(
1329
+ response_data = self.api_client.call_api(
1330
1330
  *_param, _request_timeout=_request_timeout
1331
1331
  )
1332
- await response_data.read()
1332
+ response_data.read()
1333
1333
  return self.api_client.response_deserialize(
1334
1334
  response_data=response_data,
1335
1335
  response_types_map=_response_types_map,
1336
1336
  )
1337
1337
 
1338
1338
  @validate_call
1339
- async def user_update_google_oauth_callback_without_preload_content(
1339
+ def user_update_google_oauth_callback_without_preload_content(
1340
1340
  self,
1341
1341
  _request_timeout: Union[
1342
1342
  None,
@@ -1386,7 +1386,7 @@ class UserApi:
1386
1386
  _response_types_map: Dict[str, Optional[str]] = {
1387
1387
  "302": None,
1388
1388
  }
1389
- response_data = await self.api_client.call_api(
1389
+ response_data = self.api_client.call_api(
1390
1390
  *_param, _request_timeout=_request_timeout
1391
1391
  )
1392
1392
  return response_data.response
@@ -1437,7 +1437,7 @@ class UserApi:
1437
1437
  )
1438
1438
 
1439
1439
  @validate_call
1440
- async def user_update_google_oauth_start(
1440
+ def user_update_google_oauth_start(
1441
1441
  self,
1442
1442
  _request_timeout: Union[
1443
1443
  None,
@@ -1487,17 +1487,17 @@ class UserApi:
1487
1487
  _response_types_map: Dict[str, Optional[str]] = {
1488
1488
  "302": None,
1489
1489
  }
1490
- response_data = await self.api_client.call_api(
1490
+ response_data = self.api_client.call_api(
1491
1491
  *_param, _request_timeout=_request_timeout
1492
1492
  )
1493
- await response_data.read()
1493
+ response_data.read()
1494
1494
  return self.api_client.response_deserialize(
1495
1495
  response_data=response_data,
1496
1496
  response_types_map=_response_types_map,
1497
1497
  ).data
1498
1498
 
1499
1499
  @validate_call
1500
- async def user_update_google_oauth_start_with_http_info(
1500
+ def user_update_google_oauth_start_with_http_info(
1501
1501
  self,
1502
1502
  _request_timeout: Union[
1503
1503
  None,
@@ -1547,17 +1547,17 @@ class UserApi:
1547
1547
  _response_types_map: Dict[str, Optional[str]] = {
1548
1548
  "302": None,
1549
1549
  }
1550
- response_data = await self.api_client.call_api(
1550
+ response_data = self.api_client.call_api(
1551
1551
  *_param, _request_timeout=_request_timeout
1552
1552
  )
1553
- await response_data.read()
1553
+ response_data.read()
1554
1554
  return self.api_client.response_deserialize(
1555
1555
  response_data=response_data,
1556
1556
  response_types_map=_response_types_map,
1557
1557
  )
1558
1558
 
1559
1559
  @validate_call
1560
- async def user_update_google_oauth_start_without_preload_content(
1560
+ def user_update_google_oauth_start_without_preload_content(
1561
1561
  self,
1562
1562
  _request_timeout: Union[
1563
1563
  None,
@@ -1607,7 +1607,7 @@ class UserApi:
1607
1607
  _response_types_map: Dict[str, Optional[str]] = {
1608
1608
  "302": None,
1609
1609
  }
1610
- response_data = await self.api_client.call_api(
1610
+ response_data = self.api_client.call_api(
1611
1611
  *_param, _request_timeout=_request_timeout
1612
1612
  )
1613
1613
  return response_data.response
@@ -1658,7 +1658,7 @@ class UserApi:
1658
1658
  )
1659
1659
 
1660
1660
  @validate_call
1661
- async def user_update_login(
1661
+ def user_update_login(
1662
1662
  self,
1663
1663
  user_login_request: Optional[UserLoginRequest] = None,
1664
1664
  _request_timeout: Union[
@@ -1715,17 +1715,17 @@ class UserApi:
1715
1715
  "401": "APIErrors",
1716
1716
  "405": "APIErrors",
1717
1717
  }
1718
- response_data = await self.api_client.call_api(
1718
+ response_data = self.api_client.call_api(
1719
1719
  *_param, _request_timeout=_request_timeout
1720
1720
  )
1721
- await response_data.read()
1721
+ response_data.read()
1722
1722
  return self.api_client.response_deserialize(
1723
1723
  response_data=response_data,
1724
1724
  response_types_map=_response_types_map,
1725
1725
  ).data
1726
1726
 
1727
1727
  @validate_call
1728
- async def user_update_login_with_http_info(
1728
+ def user_update_login_with_http_info(
1729
1729
  self,
1730
1730
  user_login_request: Optional[UserLoginRequest] = None,
1731
1731
  _request_timeout: Union[
@@ -1782,17 +1782,17 @@ class UserApi:
1782
1782
  "401": "APIErrors",
1783
1783
  "405": "APIErrors",
1784
1784
  }
1785
- response_data = await self.api_client.call_api(
1785
+ response_data = self.api_client.call_api(
1786
1786
  *_param, _request_timeout=_request_timeout
1787
1787
  )
1788
- await response_data.read()
1788
+ response_data.read()
1789
1789
  return self.api_client.response_deserialize(
1790
1790
  response_data=response_data,
1791
1791
  response_types_map=_response_types_map,
1792
1792
  )
1793
1793
 
1794
1794
  @validate_call
1795
- async def user_update_login_without_preload_content(
1795
+ def user_update_login_without_preload_content(
1796
1796
  self,
1797
1797
  user_login_request: Optional[UserLoginRequest] = None,
1798
1798
  _request_timeout: Union[
@@ -1849,7 +1849,7 @@ class UserApi:
1849
1849
  "401": "APIErrors",
1850
1850
  "405": "APIErrors",
1851
1851
  }
1852
- response_data = await self.api_client.call_api(
1852
+ response_data = self.api_client.call_api(
1853
1853
  *_param, _request_timeout=_request_timeout
1854
1854
  )
1855
1855
  return response_data.response
@@ -1919,7 +1919,7 @@ class UserApi:
1919
1919
  )
1920
1920
 
1921
1921
  @validate_call
1922
- async def user_update_logout(
1922
+ def user_update_logout(
1923
1923
  self,
1924
1924
  _request_timeout: Union[
1925
1925
  None,
@@ -1972,17 +1972,17 @@ class UserApi:
1972
1972
  "401": "APIErrors",
1973
1973
  "405": "APIErrors",
1974
1974
  }
1975
- response_data = await self.api_client.call_api(
1975
+ response_data = self.api_client.call_api(
1976
1976
  *_param, _request_timeout=_request_timeout
1977
1977
  )
1978
- await response_data.read()
1978
+ response_data.read()
1979
1979
  return self.api_client.response_deserialize(
1980
1980
  response_data=response_data,
1981
1981
  response_types_map=_response_types_map,
1982
1982
  ).data
1983
1983
 
1984
1984
  @validate_call
1985
- async def user_update_logout_with_http_info(
1985
+ def user_update_logout_with_http_info(
1986
1986
  self,
1987
1987
  _request_timeout: Union[
1988
1988
  None,
@@ -2035,17 +2035,17 @@ class UserApi:
2035
2035
  "401": "APIErrors",
2036
2036
  "405": "APIErrors",
2037
2037
  }
2038
- response_data = await self.api_client.call_api(
2038
+ response_data = self.api_client.call_api(
2039
2039
  *_param, _request_timeout=_request_timeout
2040
2040
  )
2041
- await response_data.read()
2041
+ response_data.read()
2042
2042
  return self.api_client.response_deserialize(
2043
2043
  response_data=response_data,
2044
2044
  response_types_map=_response_types_map,
2045
2045
  )
2046
2046
 
2047
2047
  @validate_call
2048
- async def user_update_logout_without_preload_content(
2048
+ def user_update_logout_without_preload_content(
2049
2049
  self,
2050
2050
  _request_timeout: Union[
2051
2051
  None,
@@ -2098,7 +2098,7 @@ class UserApi:
2098
2098
  "401": "APIErrors",
2099
2099
  "405": "APIErrors",
2100
2100
  }
2101
- response_data = await self.api_client.call_api(
2101
+ response_data = self.api_client.call_api(
2102
2102
  *_param, _request_timeout=_request_timeout
2103
2103
  )
2104
2104
  return response_data.response
@@ -2155,7 +2155,7 @@ class UserApi:
2155
2155
  )
2156
2156
 
2157
2157
  @validate_call
2158
- async def user_update_password(
2158
+ def user_update_password(
2159
2159
  self,
2160
2160
  user_change_password_request: Optional[UserChangePasswordRequest] = None,
2161
2161
  _request_timeout: Union[
@@ -2212,17 +2212,17 @@ class UserApi:
2212
2212
  "401": "APIErrors",
2213
2213
  "405": "APIErrors",
2214
2214
  }
2215
- response_data = await self.api_client.call_api(
2215
+ response_data = self.api_client.call_api(
2216
2216
  *_param, _request_timeout=_request_timeout
2217
2217
  )
2218
- await response_data.read()
2218
+ response_data.read()
2219
2219
  return self.api_client.response_deserialize(
2220
2220
  response_data=response_data,
2221
2221
  response_types_map=_response_types_map,
2222
2222
  ).data
2223
2223
 
2224
2224
  @validate_call
2225
- async def user_update_password_with_http_info(
2225
+ def user_update_password_with_http_info(
2226
2226
  self,
2227
2227
  user_change_password_request: Optional[UserChangePasswordRequest] = None,
2228
2228
  _request_timeout: Union[
@@ -2279,17 +2279,17 @@ class UserApi:
2279
2279
  "401": "APIErrors",
2280
2280
  "405": "APIErrors",
2281
2281
  }
2282
- response_data = await self.api_client.call_api(
2282
+ response_data = self.api_client.call_api(
2283
2283
  *_param, _request_timeout=_request_timeout
2284
2284
  )
2285
- await response_data.read()
2285
+ response_data.read()
2286
2286
  return self.api_client.response_deserialize(
2287
2287
  response_data=response_data,
2288
2288
  response_types_map=_response_types_map,
2289
2289
  )
2290
2290
 
2291
2291
  @validate_call
2292
- async def user_update_password_without_preload_content(
2292
+ def user_update_password_without_preload_content(
2293
2293
  self,
2294
2294
  user_change_password_request: Optional[UserChangePasswordRequest] = None,
2295
2295
  _request_timeout: Union[
@@ -2346,7 +2346,7 @@ class UserApi:
2346
2346
  "401": "APIErrors",
2347
2347
  "405": "APIErrors",
2348
2348
  }
2349
- response_data = await self.api_client.call_api(
2349
+ response_data = self.api_client.call_api(
2350
2350
  *_param, _request_timeout=_request_timeout
2351
2351
  )
2352
2352
  return response_data.response
@@ -2416,7 +2416,7 @@ class UserApi:
2416
2416
  )
2417
2417
 
2418
2418
  @validate_call
2419
- async def user_update_slack_oauth_callback(
2419
+ def user_update_slack_oauth_callback(
2420
2420
  self,
2421
2421
  _request_timeout: Union[
2422
2422
  None,
@@ -2466,17 +2466,17 @@ class UserApi:
2466
2466
  _response_types_map: Dict[str, Optional[str]] = {
2467
2467
  "302": None,
2468
2468
  }
2469
- response_data = await self.api_client.call_api(
2469
+ response_data = self.api_client.call_api(
2470
2470
  *_param, _request_timeout=_request_timeout
2471
2471
  )
2472
- await response_data.read()
2472
+ response_data.read()
2473
2473
  return self.api_client.response_deserialize(
2474
2474
  response_data=response_data,
2475
2475
  response_types_map=_response_types_map,
2476
2476
  ).data
2477
2477
 
2478
2478
  @validate_call
2479
- async def user_update_slack_oauth_callback_with_http_info(
2479
+ def user_update_slack_oauth_callback_with_http_info(
2480
2480
  self,
2481
2481
  _request_timeout: Union[
2482
2482
  None,
@@ -2526,17 +2526,17 @@ class UserApi:
2526
2526
  _response_types_map: Dict[str, Optional[str]] = {
2527
2527
  "302": None,
2528
2528
  }
2529
- response_data = await self.api_client.call_api(
2529
+ response_data = self.api_client.call_api(
2530
2530
  *_param, _request_timeout=_request_timeout
2531
2531
  )
2532
- await response_data.read()
2532
+ response_data.read()
2533
2533
  return self.api_client.response_deserialize(
2534
2534
  response_data=response_data,
2535
2535
  response_types_map=_response_types_map,
2536
2536
  )
2537
2537
 
2538
2538
  @validate_call
2539
- async def user_update_slack_oauth_callback_without_preload_content(
2539
+ def user_update_slack_oauth_callback_without_preload_content(
2540
2540
  self,
2541
2541
  _request_timeout: Union[
2542
2542
  None,
@@ -2586,7 +2586,7 @@ class UserApi:
2586
2586
  _response_types_map: Dict[str, Optional[str]] = {
2587
2587
  "302": None,
2588
2588
  }
2589
- response_data = await self.api_client.call_api(
2589
+ response_data = self.api_client.call_api(
2590
2590
  *_param, _request_timeout=_request_timeout
2591
2591
  )
2592
2592
  return response_data.response
@@ -2637,7 +2637,7 @@ class UserApi:
2637
2637
  )
2638
2638
 
2639
2639
  @validate_call
2640
- async def user_update_slack_oauth_start(
2640
+ def user_update_slack_oauth_start(
2641
2641
  self,
2642
2642
  tenant: Annotated[
2643
2643
  str,
@@ -2696,17 +2696,17 @@ class UserApi:
2696
2696
  _response_types_map: Dict[str, Optional[str]] = {
2697
2697
  "302": None,
2698
2698
  }
2699
- response_data = await self.api_client.call_api(
2699
+ response_data = self.api_client.call_api(
2700
2700
  *_param, _request_timeout=_request_timeout
2701
2701
  )
2702
- await response_data.read()
2702
+ response_data.read()
2703
2703
  return self.api_client.response_deserialize(
2704
2704
  response_data=response_data,
2705
2705
  response_types_map=_response_types_map,
2706
2706
  ).data
2707
2707
 
2708
2708
  @validate_call
2709
- async def user_update_slack_oauth_start_with_http_info(
2709
+ def user_update_slack_oauth_start_with_http_info(
2710
2710
  self,
2711
2711
  tenant: Annotated[
2712
2712
  str,
@@ -2765,17 +2765,17 @@ class UserApi:
2765
2765
  _response_types_map: Dict[str, Optional[str]] = {
2766
2766
  "302": None,
2767
2767
  }
2768
- response_data = await self.api_client.call_api(
2768
+ response_data = self.api_client.call_api(
2769
2769
  *_param, _request_timeout=_request_timeout
2770
2770
  )
2771
- await response_data.read()
2771
+ response_data.read()
2772
2772
  return self.api_client.response_deserialize(
2773
2773
  response_data=response_data,
2774
2774
  response_types_map=_response_types_map,
2775
2775
  )
2776
2776
 
2777
2777
  @validate_call
2778
- async def user_update_slack_oauth_start_without_preload_content(
2778
+ def user_update_slack_oauth_start_without_preload_content(
2779
2779
  self,
2780
2780
  tenant: Annotated[
2781
2781
  str,
@@ -2834,7 +2834,7 @@ class UserApi:
2834
2834
  _response_types_map: Dict[str, Optional[str]] = {
2835
2835
  "302": None,
2836
2836
  }
2837
- response_data = await self.api_client.call_api(
2837
+ response_data = self.api_client.call_api(
2838
2838
  *_param, _request_timeout=_request_timeout
2839
2839
  )
2840
2840
  return response_data.response