hatchet-sdk 1.2.5__py3-none-any.whl → 1.3.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of hatchet-sdk might be problematic. Click here for more details.
- hatchet_sdk/__init__.py +7 -5
- hatchet_sdk/client.py +14 -6
- hatchet_sdk/clients/admin.py +57 -15
- hatchet_sdk/clients/dispatcher/action_listener.py +2 -2
- hatchet_sdk/clients/dispatcher/dispatcher.py +20 -7
- hatchet_sdk/clients/event_ts.py +25 -5
- hatchet_sdk/clients/listeners/durable_event_listener.py +125 -0
- hatchet_sdk/clients/listeners/pooled_listener.py +255 -0
- hatchet_sdk/clients/listeners/workflow_listener.py +62 -0
- hatchet_sdk/clients/rest/api/api_token_api.py +24 -24
- hatchet_sdk/clients/rest/api/default_api.py +64 -64
- hatchet_sdk/clients/rest/api/event_api.py +64 -64
- hatchet_sdk/clients/rest/api/github_api.py +8 -8
- hatchet_sdk/clients/rest/api/healthcheck_api.py +16 -16
- hatchet_sdk/clients/rest/api/log_api.py +16 -16
- hatchet_sdk/clients/rest/api/metadata_api.py +24 -24
- hatchet_sdk/clients/rest/api/rate_limits_api.py +8 -8
- hatchet_sdk/clients/rest/api/slack_api.py +16 -16
- hatchet_sdk/clients/rest/api/sns_api.py +24 -24
- hatchet_sdk/clients/rest/api/step_run_api.py +56 -56
- hatchet_sdk/clients/rest/api/task_api.py +56 -56
- hatchet_sdk/clients/rest/api/tenant_api.py +128 -128
- hatchet_sdk/clients/rest/api/user_api.py +96 -96
- hatchet_sdk/clients/rest/api/worker_api.py +24 -24
- hatchet_sdk/clients/rest/api/workflow_api.py +144 -144
- hatchet_sdk/clients/rest/api/workflow_run_api.py +48 -48
- hatchet_sdk/clients/rest/api/workflow_runs_api.py +40 -40
- hatchet_sdk/clients/rest/api_client.py +5 -8
- hatchet_sdk/clients/rest/configuration.py +7 -3
- hatchet_sdk/clients/rest/models/tenant_step_run_queue_metrics.py +2 -2
- hatchet_sdk/clients/rest/models/v1_task_summary.py +5 -0
- hatchet_sdk/clients/rest/models/workflow_runs_metrics.py +5 -1
- hatchet_sdk/clients/rest/rest.py +160 -111
- hatchet_sdk/clients/v1/api_client.py +2 -2
- hatchet_sdk/context/context.py +22 -21
- hatchet_sdk/features/cron.py +41 -40
- hatchet_sdk/features/logs.py +7 -6
- hatchet_sdk/features/metrics.py +19 -18
- hatchet_sdk/features/runs.py +88 -68
- hatchet_sdk/features/scheduled.py +42 -42
- hatchet_sdk/features/workers.py +17 -16
- hatchet_sdk/features/workflows.py +15 -14
- hatchet_sdk/hatchet.py +1 -1
- hatchet_sdk/runnables/standalone.py +12 -9
- hatchet_sdk/runnables/task.py +66 -2
- hatchet_sdk/runnables/types.py +8 -0
- hatchet_sdk/runnables/workflow.py +48 -136
- hatchet_sdk/waits.py +8 -8
- hatchet_sdk/worker/runner/run_loop_manager.py +4 -4
- hatchet_sdk/worker/runner/runner.py +22 -11
- hatchet_sdk/worker/worker.py +29 -25
- hatchet_sdk/workflow_run.py +55 -9
- {hatchet_sdk-1.2.5.dist-info → hatchet_sdk-1.3.0.dist-info}/METADATA +1 -1
- {hatchet_sdk-1.2.5.dist-info → hatchet_sdk-1.3.0.dist-info}/RECORD +57 -57
- hatchet_sdk/clients/durable_event_listener.py +0 -329
- hatchet_sdk/clients/workflow_listener.py +0 -288
- hatchet_sdk/utils/aio.py +0 -43
- /hatchet_sdk/clients/{run_event_listener.py → listeners/run_event_listener.py} +0 -0
- {hatchet_sdk-1.2.5.dist-info → hatchet_sdk-1.3.0.dist-info}/WHEEL +0 -0
- {hatchet_sdk-1.2.5.dist-info → hatchet_sdk-1.3.0.dist-info}/entry_points.txt +0 -0
|
@@ -42,7 +42,7 @@ class LogApi:
|
|
|
42
42
|
self.api_client = api_client
|
|
43
43
|
|
|
44
44
|
@validate_call
|
|
45
|
-
|
|
45
|
+
def log_line_list(
|
|
46
46
|
self,
|
|
47
47
|
step_run: Annotated[
|
|
48
48
|
str,
|
|
@@ -140,17 +140,17 @@ class LogApi:
|
|
|
140
140
|
"400": "APIErrors",
|
|
141
141
|
"403": "APIErrors",
|
|
142
142
|
}
|
|
143
|
-
response_data =
|
|
143
|
+
response_data = self.api_client.call_api(
|
|
144
144
|
*_param, _request_timeout=_request_timeout
|
|
145
145
|
)
|
|
146
|
-
|
|
146
|
+
response_data.read()
|
|
147
147
|
return self.api_client.response_deserialize(
|
|
148
148
|
response_data=response_data,
|
|
149
149
|
response_types_map=_response_types_map,
|
|
150
150
|
).data
|
|
151
151
|
|
|
152
152
|
@validate_call
|
|
153
|
-
|
|
153
|
+
def log_line_list_with_http_info(
|
|
154
154
|
self,
|
|
155
155
|
step_run: Annotated[
|
|
156
156
|
str,
|
|
@@ -248,17 +248,17 @@ class LogApi:
|
|
|
248
248
|
"400": "APIErrors",
|
|
249
249
|
"403": "APIErrors",
|
|
250
250
|
}
|
|
251
|
-
response_data =
|
|
251
|
+
response_data = self.api_client.call_api(
|
|
252
252
|
*_param, _request_timeout=_request_timeout
|
|
253
253
|
)
|
|
254
|
-
|
|
254
|
+
response_data.read()
|
|
255
255
|
return self.api_client.response_deserialize(
|
|
256
256
|
response_data=response_data,
|
|
257
257
|
response_types_map=_response_types_map,
|
|
258
258
|
)
|
|
259
259
|
|
|
260
260
|
@validate_call
|
|
261
|
-
|
|
261
|
+
def log_line_list_without_preload_content(
|
|
262
262
|
self,
|
|
263
263
|
step_run: Annotated[
|
|
264
264
|
str,
|
|
@@ -356,7 +356,7 @@ class LogApi:
|
|
|
356
356
|
"400": "APIErrors",
|
|
357
357
|
"403": "APIErrors",
|
|
358
358
|
}
|
|
359
|
-
response_data =
|
|
359
|
+
response_data = self.api_client.call_api(
|
|
360
360
|
*_param, _request_timeout=_request_timeout
|
|
361
361
|
)
|
|
362
362
|
return response_data.response
|
|
@@ -448,7 +448,7 @@ class LogApi:
|
|
|
448
448
|
)
|
|
449
449
|
|
|
450
450
|
@validate_call
|
|
451
|
-
|
|
451
|
+
def v1_log_line_list(
|
|
452
452
|
self,
|
|
453
453
|
task: Annotated[
|
|
454
454
|
str,
|
|
@@ -507,17 +507,17 @@ class LogApi:
|
|
|
507
507
|
"400": "APIErrors",
|
|
508
508
|
"403": "APIErrors",
|
|
509
509
|
}
|
|
510
|
-
response_data =
|
|
510
|
+
response_data = self.api_client.call_api(
|
|
511
511
|
*_param, _request_timeout=_request_timeout
|
|
512
512
|
)
|
|
513
|
-
|
|
513
|
+
response_data.read()
|
|
514
514
|
return self.api_client.response_deserialize(
|
|
515
515
|
response_data=response_data,
|
|
516
516
|
response_types_map=_response_types_map,
|
|
517
517
|
).data
|
|
518
518
|
|
|
519
519
|
@validate_call
|
|
520
|
-
|
|
520
|
+
def v1_log_line_list_with_http_info(
|
|
521
521
|
self,
|
|
522
522
|
task: Annotated[
|
|
523
523
|
str,
|
|
@@ -576,17 +576,17 @@ class LogApi:
|
|
|
576
576
|
"400": "APIErrors",
|
|
577
577
|
"403": "APIErrors",
|
|
578
578
|
}
|
|
579
|
-
response_data =
|
|
579
|
+
response_data = self.api_client.call_api(
|
|
580
580
|
*_param, _request_timeout=_request_timeout
|
|
581
581
|
)
|
|
582
|
-
|
|
582
|
+
response_data.read()
|
|
583
583
|
return self.api_client.response_deserialize(
|
|
584
584
|
response_data=response_data,
|
|
585
585
|
response_types_map=_response_types_map,
|
|
586
586
|
)
|
|
587
587
|
|
|
588
588
|
@validate_call
|
|
589
|
-
|
|
589
|
+
def v1_log_line_list_without_preload_content(
|
|
590
590
|
self,
|
|
591
591
|
task: Annotated[
|
|
592
592
|
str,
|
|
@@ -645,7 +645,7 @@ class LogApi:
|
|
|
645
645
|
"400": "APIErrors",
|
|
646
646
|
"403": "APIErrors",
|
|
647
647
|
}
|
|
648
|
-
response_data =
|
|
648
|
+
response_data = self.api_client.call_api(
|
|
649
649
|
*_param, _request_timeout=_request_timeout
|
|
650
650
|
)
|
|
651
651
|
return response_data.response
|
|
@@ -38,7 +38,7 @@ class MetadataApi:
|
|
|
38
38
|
self.api_client = api_client
|
|
39
39
|
|
|
40
40
|
@validate_call
|
|
41
|
-
|
|
41
|
+
def cloud_metadata_get(
|
|
42
42
|
self,
|
|
43
43
|
_request_timeout: Union[
|
|
44
44
|
None,
|
|
@@ -89,17 +89,17 @@ class MetadataApi:
|
|
|
89
89
|
"200": "APIErrors",
|
|
90
90
|
"400": "APIErrors",
|
|
91
91
|
}
|
|
92
|
-
response_data =
|
|
92
|
+
response_data = self.api_client.call_api(
|
|
93
93
|
*_param, _request_timeout=_request_timeout
|
|
94
94
|
)
|
|
95
|
-
|
|
95
|
+
response_data.read()
|
|
96
96
|
return self.api_client.response_deserialize(
|
|
97
97
|
response_data=response_data,
|
|
98
98
|
response_types_map=_response_types_map,
|
|
99
99
|
).data
|
|
100
100
|
|
|
101
101
|
@validate_call
|
|
102
|
-
|
|
102
|
+
def cloud_metadata_get_with_http_info(
|
|
103
103
|
self,
|
|
104
104
|
_request_timeout: Union[
|
|
105
105
|
None,
|
|
@@ -150,17 +150,17 @@ class MetadataApi:
|
|
|
150
150
|
"200": "APIErrors",
|
|
151
151
|
"400": "APIErrors",
|
|
152
152
|
}
|
|
153
|
-
response_data =
|
|
153
|
+
response_data = self.api_client.call_api(
|
|
154
154
|
*_param, _request_timeout=_request_timeout
|
|
155
155
|
)
|
|
156
|
-
|
|
156
|
+
response_data.read()
|
|
157
157
|
return self.api_client.response_deserialize(
|
|
158
158
|
response_data=response_data,
|
|
159
159
|
response_types_map=_response_types_map,
|
|
160
160
|
)
|
|
161
161
|
|
|
162
162
|
@validate_call
|
|
163
|
-
|
|
163
|
+
def cloud_metadata_get_without_preload_content(
|
|
164
164
|
self,
|
|
165
165
|
_request_timeout: Union[
|
|
166
166
|
None,
|
|
@@ -211,7 +211,7 @@ class MetadataApi:
|
|
|
211
211
|
"200": "APIErrors",
|
|
212
212
|
"400": "APIErrors",
|
|
213
213
|
}
|
|
214
|
-
response_data =
|
|
214
|
+
response_data = self.api_client.call_api(
|
|
215
215
|
*_param, _request_timeout=_request_timeout
|
|
216
216
|
)
|
|
217
217
|
return response_data.response
|
|
@@ -268,7 +268,7 @@ class MetadataApi:
|
|
|
268
268
|
)
|
|
269
269
|
|
|
270
270
|
@validate_call
|
|
271
|
-
|
|
271
|
+
def metadata_get(
|
|
272
272
|
self,
|
|
273
273
|
_request_timeout: Union[
|
|
274
274
|
None,
|
|
@@ -319,17 +319,17 @@ class MetadataApi:
|
|
|
319
319
|
"200": "APIMeta",
|
|
320
320
|
"400": "APIErrors",
|
|
321
321
|
}
|
|
322
|
-
response_data =
|
|
322
|
+
response_data = self.api_client.call_api(
|
|
323
323
|
*_param, _request_timeout=_request_timeout
|
|
324
324
|
)
|
|
325
|
-
|
|
325
|
+
response_data.read()
|
|
326
326
|
return self.api_client.response_deserialize(
|
|
327
327
|
response_data=response_data,
|
|
328
328
|
response_types_map=_response_types_map,
|
|
329
329
|
).data
|
|
330
330
|
|
|
331
331
|
@validate_call
|
|
332
|
-
|
|
332
|
+
def metadata_get_with_http_info(
|
|
333
333
|
self,
|
|
334
334
|
_request_timeout: Union[
|
|
335
335
|
None,
|
|
@@ -380,17 +380,17 @@ class MetadataApi:
|
|
|
380
380
|
"200": "APIMeta",
|
|
381
381
|
"400": "APIErrors",
|
|
382
382
|
}
|
|
383
|
-
response_data =
|
|
383
|
+
response_data = self.api_client.call_api(
|
|
384
384
|
*_param, _request_timeout=_request_timeout
|
|
385
385
|
)
|
|
386
|
-
|
|
386
|
+
response_data.read()
|
|
387
387
|
return self.api_client.response_deserialize(
|
|
388
388
|
response_data=response_data,
|
|
389
389
|
response_types_map=_response_types_map,
|
|
390
390
|
)
|
|
391
391
|
|
|
392
392
|
@validate_call
|
|
393
|
-
|
|
393
|
+
def metadata_get_without_preload_content(
|
|
394
394
|
self,
|
|
395
395
|
_request_timeout: Union[
|
|
396
396
|
None,
|
|
@@ -441,7 +441,7 @@ class MetadataApi:
|
|
|
441
441
|
"200": "APIMeta",
|
|
442
442
|
"400": "APIErrors",
|
|
443
443
|
}
|
|
444
|
-
response_data =
|
|
444
|
+
response_data = self.api_client.call_api(
|
|
445
445
|
*_param, _request_timeout=_request_timeout
|
|
446
446
|
)
|
|
447
447
|
return response_data.response
|
|
@@ -498,7 +498,7 @@ class MetadataApi:
|
|
|
498
498
|
)
|
|
499
499
|
|
|
500
500
|
@validate_call
|
|
501
|
-
|
|
501
|
+
def metadata_list_integrations(
|
|
502
502
|
self,
|
|
503
503
|
_request_timeout: Union[
|
|
504
504
|
None,
|
|
@@ -549,17 +549,17 @@ class MetadataApi:
|
|
|
549
549
|
"200": "List[APIMetaIntegration]",
|
|
550
550
|
"400": "APIErrors",
|
|
551
551
|
}
|
|
552
|
-
response_data =
|
|
552
|
+
response_data = self.api_client.call_api(
|
|
553
553
|
*_param, _request_timeout=_request_timeout
|
|
554
554
|
)
|
|
555
|
-
|
|
555
|
+
response_data.read()
|
|
556
556
|
return self.api_client.response_deserialize(
|
|
557
557
|
response_data=response_data,
|
|
558
558
|
response_types_map=_response_types_map,
|
|
559
559
|
).data
|
|
560
560
|
|
|
561
561
|
@validate_call
|
|
562
|
-
|
|
562
|
+
def metadata_list_integrations_with_http_info(
|
|
563
563
|
self,
|
|
564
564
|
_request_timeout: Union[
|
|
565
565
|
None,
|
|
@@ -610,17 +610,17 @@ class MetadataApi:
|
|
|
610
610
|
"200": "List[APIMetaIntegration]",
|
|
611
611
|
"400": "APIErrors",
|
|
612
612
|
}
|
|
613
|
-
response_data =
|
|
613
|
+
response_data = self.api_client.call_api(
|
|
614
614
|
*_param, _request_timeout=_request_timeout
|
|
615
615
|
)
|
|
616
|
-
|
|
616
|
+
response_data.read()
|
|
617
617
|
return self.api_client.response_deserialize(
|
|
618
618
|
response_data=response_data,
|
|
619
619
|
response_types_map=_response_types_map,
|
|
620
620
|
)
|
|
621
621
|
|
|
622
622
|
@validate_call
|
|
623
|
-
|
|
623
|
+
def metadata_list_integrations_without_preload_content(
|
|
624
624
|
self,
|
|
625
625
|
_request_timeout: Union[
|
|
626
626
|
None,
|
|
@@ -671,7 +671,7 @@ class MetadataApi:
|
|
|
671
671
|
"200": "List[APIMetaIntegration]",
|
|
672
672
|
"400": "APIErrors",
|
|
673
673
|
}
|
|
674
|
-
response_data =
|
|
674
|
+
response_data = self.api_client.call_api(
|
|
675
675
|
*_param, _request_timeout=_request_timeout
|
|
676
676
|
)
|
|
677
677
|
return response_data.response
|
|
@@ -42,7 +42,7 @@ class RateLimitsApi:
|
|
|
42
42
|
self.api_client = api_client
|
|
43
43
|
|
|
44
44
|
@validate_call
|
|
45
|
-
|
|
45
|
+
def rate_limit_list(
|
|
46
46
|
self,
|
|
47
47
|
tenant: Annotated[
|
|
48
48
|
str,
|
|
@@ -134,17 +134,17 @@ class RateLimitsApi:
|
|
|
134
134
|
"400": "APIErrors",
|
|
135
135
|
"403": "APIErrors",
|
|
136
136
|
}
|
|
137
|
-
response_data =
|
|
137
|
+
response_data = self.api_client.call_api(
|
|
138
138
|
*_param, _request_timeout=_request_timeout
|
|
139
139
|
)
|
|
140
|
-
|
|
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
|
-
|
|
147
|
+
def rate_limit_list_with_http_info(
|
|
148
148
|
self,
|
|
149
149
|
tenant: Annotated[
|
|
150
150
|
str,
|
|
@@ -236,17 +236,17 @@ class RateLimitsApi:
|
|
|
236
236
|
"400": "APIErrors",
|
|
237
237
|
"403": "APIErrors",
|
|
238
238
|
}
|
|
239
|
-
response_data =
|
|
239
|
+
response_data = self.api_client.call_api(
|
|
240
240
|
*_param, _request_timeout=_request_timeout
|
|
241
241
|
)
|
|
242
|
-
|
|
242
|
+
response_data.read()
|
|
243
243
|
return self.api_client.response_deserialize(
|
|
244
244
|
response_data=response_data,
|
|
245
245
|
response_types_map=_response_types_map,
|
|
246
246
|
)
|
|
247
247
|
|
|
248
248
|
@validate_call
|
|
249
|
-
|
|
249
|
+
def rate_limit_list_without_preload_content(
|
|
250
250
|
self,
|
|
251
251
|
tenant: Annotated[
|
|
252
252
|
str,
|
|
@@ -338,7 +338,7 @@ class RateLimitsApi:
|
|
|
338
338
|
"400": "APIErrors",
|
|
339
339
|
"403": "APIErrors",
|
|
340
340
|
}
|
|
341
|
-
response_data =
|
|
341
|
+
response_data = self.api_client.call_api(
|
|
342
342
|
*_param, _request_timeout=_request_timeout
|
|
343
343
|
)
|
|
344
344
|
return response_data.response
|
|
@@ -36,7 +36,7 @@ class SlackApi:
|
|
|
36
36
|
self.api_client = api_client
|
|
37
37
|
|
|
38
38
|
@validate_call
|
|
39
|
-
|
|
39
|
+
def slack_webhook_delete(
|
|
40
40
|
self,
|
|
41
41
|
slack: Annotated[
|
|
42
42
|
str,
|
|
@@ -101,17 +101,17 @@ class SlackApi:
|
|
|
101
101
|
"401": "APIErrors",
|
|
102
102
|
"405": "APIErrors",
|
|
103
103
|
}
|
|
104
|
-
response_data =
|
|
104
|
+
response_data = self.api_client.call_api(
|
|
105
105
|
*_param, _request_timeout=_request_timeout
|
|
106
106
|
)
|
|
107
|
-
|
|
107
|
+
response_data.read()
|
|
108
108
|
return self.api_client.response_deserialize(
|
|
109
109
|
response_data=response_data,
|
|
110
110
|
response_types_map=_response_types_map,
|
|
111
111
|
).data
|
|
112
112
|
|
|
113
113
|
@validate_call
|
|
114
|
-
|
|
114
|
+
def slack_webhook_delete_with_http_info(
|
|
115
115
|
self,
|
|
116
116
|
slack: Annotated[
|
|
117
117
|
str,
|
|
@@ -176,17 +176,17 @@ class SlackApi:
|
|
|
176
176
|
"401": "APIErrors",
|
|
177
177
|
"405": "APIErrors",
|
|
178
178
|
}
|
|
179
|
-
response_data =
|
|
179
|
+
response_data = self.api_client.call_api(
|
|
180
180
|
*_param, _request_timeout=_request_timeout
|
|
181
181
|
)
|
|
182
|
-
|
|
182
|
+
response_data.read()
|
|
183
183
|
return self.api_client.response_deserialize(
|
|
184
184
|
response_data=response_data,
|
|
185
185
|
response_types_map=_response_types_map,
|
|
186
186
|
)
|
|
187
187
|
|
|
188
188
|
@validate_call
|
|
189
|
-
|
|
189
|
+
def slack_webhook_delete_without_preload_content(
|
|
190
190
|
self,
|
|
191
191
|
slack: Annotated[
|
|
192
192
|
str,
|
|
@@ -251,7 +251,7 @@ class SlackApi:
|
|
|
251
251
|
"401": "APIErrors",
|
|
252
252
|
"405": "APIErrors",
|
|
253
253
|
}
|
|
254
|
-
response_data =
|
|
254
|
+
response_data = self.api_client.call_api(
|
|
255
255
|
*_param, _request_timeout=_request_timeout
|
|
256
256
|
)
|
|
257
257
|
return response_data.response
|
|
@@ -311,7 +311,7 @@ class SlackApi:
|
|
|
311
311
|
)
|
|
312
312
|
|
|
313
313
|
@validate_call
|
|
314
|
-
|
|
314
|
+
def slack_webhook_list(
|
|
315
315
|
self,
|
|
316
316
|
tenant: Annotated[
|
|
317
317
|
str,
|
|
@@ -373,17 +373,17 @@ class SlackApi:
|
|
|
373
373
|
"401": "APIErrors",
|
|
374
374
|
"405": "APIErrors",
|
|
375
375
|
}
|
|
376
|
-
response_data =
|
|
376
|
+
response_data = self.api_client.call_api(
|
|
377
377
|
*_param, _request_timeout=_request_timeout
|
|
378
378
|
)
|
|
379
|
-
|
|
379
|
+
response_data.read()
|
|
380
380
|
return self.api_client.response_deserialize(
|
|
381
381
|
response_data=response_data,
|
|
382
382
|
response_types_map=_response_types_map,
|
|
383
383
|
).data
|
|
384
384
|
|
|
385
385
|
@validate_call
|
|
386
|
-
|
|
386
|
+
def slack_webhook_list_with_http_info(
|
|
387
387
|
self,
|
|
388
388
|
tenant: Annotated[
|
|
389
389
|
str,
|
|
@@ -445,17 +445,17 @@ class SlackApi:
|
|
|
445
445
|
"401": "APIErrors",
|
|
446
446
|
"405": "APIErrors",
|
|
447
447
|
}
|
|
448
|
-
response_data =
|
|
448
|
+
response_data = self.api_client.call_api(
|
|
449
449
|
*_param, _request_timeout=_request_timeout
|
|
450
450
|
)
|
|
451
|
-
|
|
451
|
+
response_data.read()
|
|
452
452
|
return self.api_client.response_deserialize(
|
|
453
453
|
response_data=response_data,
|
|
454
454
|
response_types_map=_response_types_map,
|
|
455
455
|
)
|
|
456
456
|
|
|
457
457
|
@validate_call
|
|
458
|
-
|
|
458
|
+
def slack_webhook_list_without_preload_content(
|
|
459
459
|
self,
|
|
460
460
|
tenant: Annotated[
|
|
461
461
|
str,
|
|
@@ -517,7 +517,7 @@ class SlackApi:
|
|
|
517
517
|
"401": "APIErrors",
|
|
518
518
|
"405": "APIErrors",
|
|
519
519
|
}
|
|
520
|
-
response_data =
|
|
520
|
+
response_data = self.api_client.call_api(
|
|
521
521
|
*_param, _request_timeout=_request_timeout
|
|
522
522
|
)
|
|
523
523
|
return response_data.response
|
|
@@ -40,7 +40,7 @@ class SNSApi:
|
|
|
40
40
|
self.api_client = api_client
|
|
41
41
|
|
|
42
42
|
@validate_call
|
|
43
|
-
|
|
43
|
+
def sns_create(
|
|
44
44
|
self,
|
|
45
45
|
tenant: Annotated[
|
|
46
46
|
str,
|
|
@@ -106,17 +106,17 @@ class SNSApi:
|
|
|
106
106
|
"401": "APIErrors",
|
|
107
107
|
"405": "APIErrors",
|
|
108
108
|
}
|
|
109
|
-
response_data =
|
|
109
|
+
response_data = self.api_client.call_api(
|
|
110
110
|
*_param, _request_timeout=_request_timeout
|
|
111
111
|
)
|
|
112
|
-
|
|
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
|
-
|
|
119
|
+
def sns_create_with_http_info(
|
|
120
120
|
self,
|
|
121
121
|
tenant: Annotated[
|
|
122
122
|
str,
|
|
@@ -182,17 +182,17 @@ class SNSApi:
|
|
|
182
182
|
"401": "APIErrors",
|
|
183
183
|
"405": "APIErrors",
|
|
184
184
|
}
|
|
185
|
-
response_data =
|
|
185
|
+
response_data = self.api_client.call_api(
|
|
186
186
|
*_param, _request_timeout=_request_timeout
|
|
187
187
|
)
|
|
188
|
-
|
|
188
|
+
response_data.read()
|
|
189
189
|
return self.api_client.response_deserialize(
|
|
190
190
|
response_data=response_data,
|
|
191
191
|
response_types_map=_response_types_map,
|
|
192
192
|
)
|
|
193
193
|
|
|
194
194
|
@validate_call
|
|
195
|
-
|
|
195
|
+
def sns_create_without_preload_content(
|
|
196
196
|
self,
|
|
197
197
|
tenant: Annotated[
|
|
198
198
|
str,
|
|
@@ -258,7 +258,7 @@ class SNSApi:
|
|
|
258
258
|
"401": "APIErrors",
|
|
259
259
|
"405": "APIErrors",
|
|
260
260
|
}
|
|
261
|
-
response_data =
|
|
261
|
+
response_data = self.api_client.call_api(
|
|
262
262
|
*_param, _request_timeout=_request_timeout
|
|
263
263
|
)
|
|
264
264
|
return response_data.response
|
|
@@ -331,7 +331,7 @@ class SNSApi:
|
|
|
331
331
|
)
|
|
332
332
|
|
|
333
333
|
@validate_call
|
|
334
|
-
|
|
334
|
+
def sns_delete(
|
|
335
335
|
self,
|
|
336
336
|
sns: Annotated[
|
|
337
337
|
str,
|
|
@@ -396,17 +396,17 @@ class SNSApi:
|
|
|
396
396
|
"401": "APIErrors",
|
|
397
397
|
"405": "APIErrors",
|
|
398
398
|
}
|
|
399
|
-
response_data =
|
|
399
|
+
response_data = self.api_client.call_api(
|
|
400
400
|
*_param, _request_timeout=_request_timeout
|
|
401
401
|
)
|
|
402
|
-
|
|
402
|
+
response_data.read()
|
|
403
403
|
return self.api_client.response_deserialize(
|
|
404
404
|
response_data=response_data,
|
|
405
405
|
response_types_map=_response_types_map,
|
|
406
406
|
).data
|
|
407
407
|
|
|
408
408
|
@validate_call
|
|
409
|
-
|
|
409
|
+
def sns_delete_with_http_info(
|
|
410
410
|
self,
|
|
411
411
|
sns: Annotated[
|
|
412
412
|
str,
|
|
@@ -471,17 +471,17 @@ class SNSApi:
|
|
|
471
471
|
"401": "APIErrors",
|
|
472
472
|
"405": "APIErrors",
|
|
473
473
|
}
|
|
474
|
-
response_data =
|
|
474
|
+
response_data = self.api_client.call_api(
|
|
475
475
|
*_param, _request_timeout=_request_timeout
|
|
476
476
|
)
|
|
477
|
-
|
|
477
|
+
response_data.read()
|
|
478
478
|
return self.api_client.response_deserialize(
|
|
479
479
|
response_data=response_data,
|
|
480
480
|
response_types_map=_response_types_map,
|
|
481
481
|
)
|
|
482
482
|
|
|
483
483
|
@validate_call
|
|
484
|
-
|
|
484
|
+
def sns_delete_without_preload_content(
|
|
485
485
|
self,
|
|
486
486
|
sns: Annotated[
|
|
487
487
|
str,
|
|
@@ -546,7 +546,7 @@ class SNSApi:
|
|
|
546
546
|
"401": "APIErrors",
|
|
547
547
|
"405": "APIErrors",
|
|
548
548
|
}
|
|
549
|
-
response_data =
|
|
549
|
+
response_data = self.api_client.call_api(
|
|
550
550
|
*_param, _request_timeout=_request_timeout
|
|
551
551
|
)
|
|
552
552
|
return response_data.response
|
|
@@ -606,7 +606,7 @@ class SNSApi:
|
|
|
606
606
|
)
|
|
607
607
|
|
|
608
608
|
@validate_call
|
|
609
|
-
|
|
609
|
+
def sns_list(
|
|
610
610
|
self,
|
|
611
611
|
tenant: Annotated[
|
|
612
612
|
str,
|
|
@@ -668,17 +668,17 @@ class SNSApi:
|
|
|
668
668
|
"401": "APIErrors",
|
|
669
669
|
"405": "APIErrors",
|
|
670
670
|
}
|
|
671
|
-
response_data =
|
|
671
|
+
response_data = self.api_client.call_api(
|
|
672
672
|
*_param, _request_timeout=_request_timeout
|
|
673
673
|
)
|
|
674
|
-
|
|
674
|
+
response_data.read()
|
|
675
675
|
return self.api_client.response_deserialize(
|
|
676
676
|
response_data=response_data,
|
|
677
677
|
response_types_map=_response_types_map,
|
|
678
678
|
).data
|
|
679
679
|
|
|
680
680
|
@validate_call
|
|
681
|
-
|
|
681
|
+
def sns_list_with_http_info(
|
|
682
682
|
self,
|
|
683
683
|
tenant: Annotated[
|
|
684
684
|
str,
|
|
@@ -740,17 +740,17 @@ class SNSApi:
|
|
|
740
740
|
"401": "APIErrors",
|
|
741
741
|
"405": "APIErrors",
|
|
742
742
|
}
|
|
743
|
-
response_data =
|
|
743
|
+
response_data = self.api_client.call_api(
|
|
744
744
|
*_param, _request_timeout=_request_timeout
|
|
745
745
|
)
|
|
746
|
-
|
|
746
|
+
response_data.read()
|
|
747
747
|
return self.api_client.response_deserialize(
|
|
748
748
|
response_data=response_data,
|
|
749
749
|
response_types_map=_response_types_map,
|
|
750
750
|
)
|
|
751
751
|
|
|
752
752
|
@validate_call
|
|
753
|
-
|
|
753
|
+
def sns_list_without_preload_content(
|
|
754
754
|
self,
|
|
755
755
|
tenant: Annotated[
|
|
756
756
|
str,
|
|
@@ -812,7 +812,7 @@ class SNSApi:
|
|
|
812
812
|
"401": "APIErrors",
|
|
813
813
|
"405": "APIErrors",
|
|
814
814
|
}
|
|
815
|
-
response_data =
|
|
815
|
+
response_data = self.api_client.call_api(
|
|
816
816
|
*_param, _request_timeout=_request_timeout
|
|
817
817
|
)
|
|
818
818
|
return response_data.response
|