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
@@ -54,7 +54,7 @@ class EventApi:
54
54
  self.api_client = api_client
55
55
 
56
56
  @validate_call
57
- async def event_create(
57
+ def event_create(
58
58
  self,
59
59
  tenant: Annotated[
60
60
  str,
@@ -122,17 +122,17 @@ class EventApi:
122
122
  "403": "APIErrors",
123
123
  "429": "APIErrors",
124
124
  }
125
- response_data = await self.api_client.call_api(
125
+ response_data = self.api_client.call_api(
126
126
  *_param, _request_timeout=_request_timeout
127
127
  )
128
- await response_data.read()
128
+ response_data.read()
129
129
  return self.api_client.response_deserialize(
130
130
  response_data=response_data,
131
131
  response_types_map=_response_types_map,
132
132
  ).data
133
133
 
134
134
  @validate_call
135
- async def event_create_with_http_info(
135
+ def event_create_with_http_info(
136
136
  self,
137
137
  tenant: Annotated[
138
138
  str,
@@ -200,17 +200,17 @@ class EventApi:
200
200
  "403": "APIErrors",
201
201
  "429": "APIErrors",
202
202
  }
203
- response_data = await self.api_client.call_api(
203
+ response_data = self.api_client.call_api(
204
204
  *_param, _request_timeout=_request_timeout
205
205
  )
206
- await response_data.read()
206
+ response_data.read()
207
207
  return self.api_client.response_deserialize(
208
208
  response_data=response_data,
209
209
  response_types_map=_response_types_map,
210
210
  )
211
211
 
212
212
  @validate_call
213
- async def event_create_without_preload_content(
213
+ def event_create_without_preload_content(
214
214
  self,
215
215
  tenant: Annotated[
216
216
  str,
@@ -278,7 +278,7 @@ class EventApi:
278
278
  "403": "APIErrors",
279
279
  "429": "APIErrors",
280
280
  }
281
- response_data = await self.api_client.call_api(
281
+ response_data = self.api_client.call_api(
282
282
  *_param, _request_timeout=_request_timeout
283
283
  )
284
284
  return response_data.response
@@ -351,7 +351,7 @@ class EventApi:
351
351
  )
352
352
 
353
353
  @validate_call
354
- async def event_create_bulk(
354
+ def event_create_bulk(
355
355
  self,
356
356
  tenant: Annotated[
357
357
  str,
@@ -419,17 +419,17 @@ class EventApi:
419
419
  "403": "APIErrors",
420
420
  "429": "APIErrors",
421
421
  }
422
- response_data = await self.api_client.call_api(
422
+ response_data = self.api_client.call_api(
423
423
  *_param, _request_timeout=_request_timeout
424
424
  )
425
- await response_data.read()
425
+ response_data.read()
426
426
  return self.api_client.response_deserialize(
427
427
  response_data=response_data,
428
428
  response_types_map=_response_types_map,
429
429
  ).data
430
430
 
431
431
  @validate_call
432
- async def event_create_bulk_with_http_info(
432
+ def event_create_bulk_with_http_info(
433
433
  self,
434
434
  tenant: Annotated[
435
435
  str,
@@ -497,17 +497,17 @@ class EventApi:
497
497
  "403": "APIErrors",
498
498
  "429": "APIErrors",
499
499
  }
500
- response_data = await self.api_client.call_api(
500
+ response_data = self.api_client.call_api(
501
501
  *_param, _request_timeout=_request_timeout
502
502
  )
503
- await response_data.read()
503
+ response_data.read()
504
504
  return self.api_client.response_deserialize(
505
505
  response_data=response_data,
506
506
  response_types_map=_response_types_map,
507
507
  )
508
508
 
509
509
  @validate_call
510
- async def event_create_bulk_without_preload_content(
510
+ def event_create_bulk_without_preload_content(
511
511
  self,
512
512
  tenant: Annotated[
513
513
  str,
@@ -575,7 +575,7 @@ class EventApi:
575
575
  "403": "APIErrors",
576
576
  "429": "APIErrors",
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
@@ -648,7 +648,7 @@ class EventApi:
648
648
  )
649
649
 
650
650
  @validate_call
651
- async def event_data_get(
651
+ def event_data_get(
652
652
  self,
653
653
  event: Annotated[
654
654
  str,
@@ -709,17 +709,17 @@ class EventApi:
709
709
  "400": "APIErrors",
710
710
  "403": "APIErrors",
711
711
  }
712
- response_data = await self.api_client.call_api(
712
+ response_data = self.api_client.call_api(
713
713
  *_param, _request_timeout=_request_timeout
714
714
  )
715
- await response_data.read()
715
+ response_data.read()
716
716
  return self.api_client.response_deserialize(
717
717
  response_data=response_data,
718
718
  response_types_map=_response_types_map,
719
719
  ).data
720
720
 
721
721
  @validate_call
722
- async def event_data_get_with_http_info(
722
+ def event_data_get_with_http_info(
723
723
  self,
724
724
  event: Annotated[
725
725
  str,
@@ -780,17 +780,17 @@ class EventApi:
780
780
  "400": "APIErrors",
781
781
  "403": "APIErrors",
782
782
  }
783
- response_data = await self.api_client.call_api(
783
+ response_data = self.api_client.call_api(
784
784
  *_param, _request_timeout=_request_timeout
785
785
  )
786
- await response_data.read()
786
+ response_data.read()
787
787
  return self.api_client.response_deserialize(
788
788
  response_data=response_data,
789
789
  response_types_map=_response_types_map,
790
790
  )
791
791
 
792
792
  @validate_call
793
- async def event_data_get_without_preload_content(
793
+ def event_data_get_without_preload_content(
794
794
  self,
795
795
  event: Annotated[
796
796
  str,
@@ -851,7 +851,7 @@ class EventApi:
851
851
  "400": "APIErrors",
852
852
  "403": "APIErrors",
853
853
  }
854
- response_data = await self.api_client.call_api(
854
+ response_data = self.api_client.call_api(
855
855
  *_param, _request_timeout=_request_timeout
856
856
  )
857
857
  return response_data.response
@@ -911,7 +911,7 @@ class EventApi:
911
911
  )
912
912
 
913
913
  @validate_call
914
- async def event_get(
914
+ def event_get(
915
915
  self,
916
916
  event: Annotated[
917
917
  str,
@@ -972,17 +972,17 @@ class EventApi:
972
972
  "400": "APIErrors",
973
973
  "403": "APIErrors",
974
974
  }
975
- response_data = await self.api_client.call_api(
975
+ response_data = self.api_client.call_api(
976
976
  *_param, _request_timeout=_request_timeout
977
977
  )
978
- await response_data.read()
978
+ response_data.read()
979
979
  return self.api_client.response_deserialize(
980
980
  response_data=response_data,
981
981
  response_types_map=_response_types_map,
982
982
  ).data
983
983
 
984
984
  @validate_call
985
- async def event_get_with_http_info(
985
+ def event_get_with_http_info(
986
986
  self,
987
987
  event: Annotated[
988
988
  str,
@@ -1043,17 +1043,17 @@ class EventApi:
1043
1043
  "400": "APIErrors",
1044
1044
  "403": "APIErrors",
1045
1045
  }
1046
- response_data = await self.api_client.call_api(
1046
+ response_data = self.api_client.call_api(
1047
1047
  *_param, _request_timeout=_request_timeout
1048
1048
  )
1049
- await response_data.read()
1049
+ response_data.read()
1050
1050
  return self.api_client.response_deserialize(
1051
1051
  response_data=response_data,
1052
1052
  response_types_map=_response_types_map,
1053
1053
  )
1054
1054
 
1055
1055
  @validate_call
1056
- async def event_get_without_preload_content(
1056
+ def event_get_without_preload_content(
1057
1057
  self,
1058
1058
  event: Annotated[
1059
1059
  str,
@@ -1114,7 +1114,7 @@ class EventApi:
1114
1114
  "400": "APIErrors",
1115
1115
  "403": "APIErrors",
1116
1116
  }
1117
- response_data = await self.api_client.call_api(
1117
+ response_data = self.api_client.call_api(
1118
1118
  *_param, _request_timeout=_request_timeout
1119
1119
  )
1120
1120
  return response_data.response
@@ -1174,7 +1174,7 @@ class EventApi:
1174
1174
  )
1175
1175
 
1176
1176
  @validate_call
1177
- async def event_key_list(
1177
+ def event_key_list(
1178
1178
  self,
1179
1179
  tenant: Annotated[
1180
1180
  str,
@@ -1235,17 +1235,17 @@ class EventApi:
1235
1235
  "400": "APIErrors",
1236
1236
  "403": "APIErrors",
1237
1237
  }
1238
- response_data = await self.api_client.call_api(
1238
+ response_data = self.api_client.call_api(
1239
1239
  *_param, _request_timeout=_request_timeout
1240
1240
  )
1241
- await response_data.read()
1241
+ response_data.read()
1242
1242
  return self.api_client.response_deserialize(
1243
1243
  response_data=response_data,
1244
1244
  response_types_map=_response_types_map,
1245
1245
  ).data
1246
1246
 
1247
1247
  @validate_call
1248
- async def event_key_list_with_http_info(
1248
+ def event_key_list_with_http_info(
1249
1249
  self,
1250
1250
  tenant: Annotated[
1251
1251
  str,
@@ -1306,17 +1306,17 @@ class EventApi:
1306
1306
  "400": "APIErrors",
1307
1307
  "403": "APIErrors",
1308
1308
  }
1309
- response_data = await self.api_client.call_api(
1309
+ response_data = self.api_client.call_api(
1310
1310
  *_param, _request_timeout=_request_timeout
1311
1311
  )
1312
- await response_data.read()
1312
+ response_data.read()
1313
1313
  return self.api_client.response_deserialize(
1314
1314
  response_data=response_data,
1315
1315
  response_types_map=_response_types_map,
1316
1316
  )
1317
1317
 
1318
1318
  @validate_call
1319
- async def event_key_list_without_preload_content(
1319
+ def event_key_list_without_preload_content(
1320
1320
  self,
1321
1321
  tenant: Annotated[
1322
1322
  str,
@@ -1377,7 +1377,7 @@ class EventApi:
1377
1377
  "400": "APIErrors",
1378
1378
  "403": "APIErrors",
1379
1379
  }
1380
- response_data = await self.api_client.call_api(
1380
+ response_data = self.api_client.call_api(
1381
1381
  *_param, _request_timeout=_request_timeout
1382
1382
  )
1383
1383
  return response_data.response
@@ -1437,7 +1437,7 @@ class EventApi:
1437
1437
  )
1438
1438
 
1439
1439
  @validate_call
1440
- async def event_list(
1440
+ def event_list(
1441
1441
  self,
1442
1442
  tenant: Annotated[
1443
1443
  str,
@@ -1564,17 +1564,17 @@ class EventApi:
1564
1564
  "400": "APIErrors",
1565
1565
  "403": "APIErrors",
1566
1566
  }
1567
- response_data = await self.api_client.call_api(
1567
+ response_data = self.api_client.call_api(
1568
1568
  *_param, _request_timeout=_request_timeout
1569
1569
  )
1570
- await response_data.read()
1570
+ response_data.read()
1571
1571
  return self.api_client.response_deserialize(
1572
1572
  response_data=response_data,
1573
1573
  response_types_map=_response_types_map,
1574
1574
  ).data
1575
1575
 
1576
1576
  @validate_call
1577
- async def event_list_with_http_info(
1577
+ def event_list_with_http_info(
1578
1578
  self,
1579
1579
  tenant: Annotated[
1580
1580
  str,
@@ -1701,17 +1701,17 @@ class EventApi:
1701
1701
  "400": "APIErrors",
1702
1702
  "403": "APIErrors",
1703
1703
  }
1704
- response_data = await self.api_client.call_api(
1704
+ response_data = self.api_client.call_api(
1705
1705
  *_param, _request_timeout=_request_timeout
1706
1706
  )
1707
- await response_data.read()
1707
+ response_data.read()
1708
1708
  return self.api_client.response_deserialize(
1709
1709
  response_data=response_data,
1710
1710
  response_types_map=_response_types_map,
1711
1711
  )
1712
1712
 
1713
1713
  @validate_call
1714
- async def event_list_without_preload_content(
1714
+ def event_list_without_preload_content(
1715
1715
  self,
1716
1716
  tenant: Annotated[
1717
1717
  str,
@@ -1838,7 +1838,7 @@ class EventApi:
1838
1838
  "400": "APIErrors",
1839
1839
  "403": "APIErrors",
1840
1840
  }
1841
- response_data = await self.api_client.call_api(
1841
+ response_data = self.api_client.call_api(
1842
1842
  *_param, _request_timeout=_request_timeout
1843
1843
  )
1844
1844
  return response_data.response
@@ -1954,7 +1954,7 @@ class EventApi:
1954
1954
  )
1955
1955
 
1956
1956
  @validate_call
1957
- async def event_update_cancel(
1957
+ def event_update_cancel(
1958
1958
  self,
1959
1959
  tenant: Annotated[
1960
1960
  str,
@@ -2022,17 +2022,17 @@ class EventApi:
2022
2022
  "403": "APIErrors",
2023
2023
  "429": "APIErrors",
2024
2024
  }
2025
- response_data = await self.api_client.call_api(
2025
+ response_data = self.api_client.call_api(
2026
2026
  *_param, _request_timeout=_request_timeout
2027
2027
  )
2028
- await response_data.read()
2028
+ response_data.read()
2029
2029
  return self.api_client.response_deserialize(
2030
2030
  response_data=response_data,
2031
2031
  response_types_map=_response_types_map,
2032
2032
  ).data
2033
2033
 
2034
2034
  @validate_call
2035
- async def event_update_cancel_with_http_info(
2035
+ def event_update_cancel_with_http_info(
2036
2036
  self,
2037
2037
  tenant: Annotated[
2038
2038
  str,
@@ -2100,17 +2100,17 @@ class EventApi:
2100
2100
  "403": "APIErrors",
2101
2101
  "429": "APIErrors",
2102
2102
  }
2103
- response_data = await self.api_client.call_api(
2103
+ response_data = self.api_client.call_api(
2104
2104
  *_param, _request_timeout=_request_timeout
2105
2105
  )
2106
- await response_data.read()
2106
+ response_data.read()
2107
2107
  return self.api_client.response_deserialize(
2108
2108
  response_data=response_data,
2109
2109
  response_types_map=_response_types_map,
2110
2110
  )
2111
2111
 
2112
2112
  @validate_call
2113
- async def event_update_cancel_without_preload_content(
2113
+ def event_update_cancel_without_preload_content(
2114
2114
  self,
2115
2115
  tenant: Annotated[
2116
2116
  str,
@@ -2178,7 +2178,7 @@ class EventApi:
2178
2178
  "403": "APIErrors",
2179
2179
  "429": "APIErrors",
2180
2180
  }
2181
- response_data = await self.api_client.call_api(
2181
+ response_data = self.api_client.call_api(
2182
2182
  *_param, _request_timeout=_request_timeout
2183
2183
  )
2184
2184
  return response_data.response
@@ -2251,7 +2251,7 @@ class EventApi:
2251
2251
  )
2252
2252
 
2253
2253
  @validate_call
2254
- async def event_update_replay(
2254
+ def event_update_replay(
2255
2255
  self,
2256
2256
  tenant: Annotated[
2257
2257
  str,
@@ -2319,17 +2319,17 @@ class EventApi:
2319
2319
  "403": "APIErrors",
2320
2320
  "429": "APIErrors",
2321
2321
  }
2322
- response_data = await self.api_client.call_api(
2322
+ response_data = self.api_client.call_api(
2323
2323
  *_param, _request_timeout=_request_timeout
2324
2324
  )
2325
- await response_data.read()
2325
+ response_data.read()
2326
2326
  return self.api_client.response_deserialize(
2327
2327
  response_data=response_data,
2328
2328
  response_types_map=_response_types_map,
2329
2329
  ).data
2330
2330
 
2331
2331
  @validate_call
2332
- async def event_update_replay_with_http_info(
2332
+ def event_update_replay_with_http_info(
2333
2333
  self,
2334
2334
  tenant: Annotated[
2335
2335
  str,
@@ -2397,17 +2397,17 @@ class EventApi:
2397
2397
  "403": "APIErrors",
2398
2398
  "429": "APIErrors",
2399
2399
  }
2400
- response_data = await self.api_client.call_api(
2400
+ response_data = self.api_client.call_api(
2401
2401
  *_param, _request_timeout=_request_timeout
2402
2402
  )
2403
- await response_data.read()
2403
+ response_data.read()
2404
2404
  return self.api_client.response_deserialize(
2405
2405
  response_data=response_data,
2406
2406
  response_types_map=_response_types_map,
2407
2407
  )
2408
2408
 
2409
2409
  @validate_call
2410
- async def event_update_replay_without_preload_content(
2410
+ def event_update_replay_without_preload_content(
2411
2411
  self,
2412
2412
  tenant: Annotated[
2413
2413
  str,
@@ -2475,7 +2475,7 @@ class EventApi:
2475
2475
  "403": "APIErrors",
2476
2476
  "429": "APIErrors",
2477
2477
  }
2478
- response_data = await self.api_client.call_api(
2478
+ response_data = self.api_client.call_api(
2479
2479
  *_param, _request_timeout=_request_timeout
2480
2480
  )
2481
2481
  return response_data.response
@@ -35,7 +35,7 @@ class GithubApi:
35
35
  self.api_client = api_client
36
36
 
37
37
  @validate_call
38
- async def sns_update(
38
+ def sns_update(
39
39
  self,
40
40
  tenant: Annotated[
41
41
  str,
@@ -106,17 +106,17 @@ class GithubApi:
106
106
  "401": "APIErrors",
107
107
  "405": "APIErrors",
108
108
  }
109
- response_data = await self.api_client.call_api(
109
+ response_data = self.api_client.call_api(
110
110
  *_param, _request_timeout=_request_timeout
111
111
  )
112
- await response_data.read()
112
+ response_data.read()
113
113
  return self.api_client.response_deserialize(
114
114
  response_data=response_data,
115
115
  response_types_map=_response_types_map,
116
116
  ).data
117
117
 
118
118
  @validate_call
119
- async def sns_update_with_http_info(
119
+ def sns_update_with_http_info(
120
120
  self,
121
121
  tenant: Annotated[
122
122
  str,
@@ -187,17 +187,17 @@ class GithubApi:
187
187
  "401": "APIErrors",
188
188
  "405": "APIErrors",
189
189
  }
190
- response_data = await self.api_client.call_api(
190
+ response_data = self.api_client.call_api(
191
191
  *_param, _request_timeout=_request_timeout
192
192
  )
193
- await response_data.read()
193
+ response_data.read()
194
194
  return self.api_client.response_deserialize(
195
195
  response_data=response_data,
196
196
  response_types_map=_response_types_map,
197
197
  )
198
198
 
199
199
  @validate_call
200
- async def sns_update_without_preload_content(
200
+ def sns_update_without_preload_content(
201
201
  self,
202
202
  tenant: Annotated[
203
203
  str,
@@ -268,7 +268,7 @@ class GithubApi:
268
268
  "401": "APIErrors",
269
269
  "405": "APIErrors",
270
270
  }
271
- response_data = await self.api_client.call_api(
271
+ response_data = self.api_client.call_api(
272
272
  *_param, _request_timeout=_request_timeout
273
273
  )
274
274
  return response_data.response
@@ -35,7 +35,7 @@ class HealthcheckApi:
35
35
  self.api_client = api_client
36
36
 
37
37
  @validate_call
38
- async def liveness_get(
38
+ def liveness_get(
39
39
  self,
40
40
  _request_timeout: Union[
41
41
  None,
@@ -86,17 +86,17 @@ class HealthcheckApi:
86
86
  "200": None,
87
87
  "500": None,
88
88
  }
89
- response_data = await self.api_client.call_api(
89
+ response_data = self.api_client.call_api(
90
90
  *_param, _request_timeout=_request_timeout
91
91
  )
92
- await response_data.read()
92
+ response_data.read()
93
93
  return self.api_client.response_deserialize(
94
94
  response_data=response_data,
95
95
  response_types_map=_response_types_map,
96
96
  ).data
97
97
 
98
98
  @validate_call
99
- async def liveness_get_with_http_info(
99
+ def liveness_get_with_http_info(
100
100
  self,
101
101
  _request_timeout: Union[
102
102
  None,
@@ -147,17 +147,17 @@ class HealthcheckApi:
147
147
  "200": None,
148
148
  "500": None,
149
149
  }
150
- response_data = await self.api_client.call_api(
150
+ response_data = self.api_client.call_api(
151
151
  *_param, _request_timeout=_request_timeout
152
152
  )
153
- await response_data.read()
153
+ response_data.read()
154
154
  return self.api_client.response_deserialize(
155
155
  response_data=response_data,
156
156
  response_types_map=_response_types_map,
157
157
  )
158
158
 
159
159
  @validate_call
160
- async def liveness_get_without_preload_content(
160
+ def liveness_get_without_preload_content(
161
161
  self,
162
162
  _request_timeout: Union[
163
163
  None,
@@ -208,7 +208,7 @@ class HealthcheckApi:
208
208
  "200": None,
209
209
  "500": None,
210
210
  }
211
- response_data = await self.api_client.call_api(
211
+ response_data = self.api_client.call_api(
212
212
  *_param, _request_timeout=_request_timeout
213
213
  )
214
214
  return response_data.response
@@ -259,7 +259,7 @@ class HealthcheckApi:
259
259
  )
260
260
 
261
261
  @validate_call
262
- async def readiness_get(
262
+ def readiness_get(
263
263
  self,
264
264
  _request_timeout: Union[
265
265
  None,
@@ -310,17 +310,17 @@ class HealthcheckApi:
310
310
  "200": None,
311
311
  "500": None,
312
312
  }
313
- response_data = await self.api_client.call_api(
313
+ response_data = self.api_client.call_api(
314
314
  *_param, _request_timeout=_request_timeout
315
315
  )
316
- await response_data.read()
316
+ response_data.read()
317
317
  return self.api_client.response_deserialize(
318
318
  response_data=response_data,
319
319
  response_types_map=_response_types_map,
320
320
  ).data
321
321
 
322
322
  @validate_call
323
- async def readiness_get_with_http_info(
323
+ def readiness_get_with_http_info(
324
324
  self,
325
325
  _request_timeout: Union[
326
326
  None,
@@ -371,17 +371,17 @@ class HealthcheckApi:
371
371
  "200": None,
372
372
  "500": None,
373
373
  }
374
- response_data = await self.api_client.call_api(
374
+ response_data = self.api_client.call_api(
375
375
  *_param, _request_timeout=_request_timeout
376
376
  )
377
- await response_data.read()
377
+ response_data.read()
378
378
  return self.api_client.response_deserialize(
379
379
  response_data=response_data,
380
380
  response_types_map=_response_types_map,
381
381
  )
382
382
 
383
383
  @validate_call
384
- async def readiness_get_without_preload_content(
384
+ def readiness_get_without_preload_content(
385
385
  self,
386
386
  _request_timeout: Union[
387
387
  None,
@@ -432,7 +432,7 @@ class HealthcheckApi:
432
432
  "200": None,
433
433
  "500": None,
434
434
  }
435
- response_data = await self.api_client.call_api(
435
+ response_data = self.api_client.call_api(
436
436
  *_param, _request_timeout=_request_timeout
437
437
  )
438
438
  return response_data.response