hatchet-sdk 0.40.0a9__py3-none-any.whl → 0.41.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/clients/admin.py +129 -59
- hatchet_sdk/clients/dispatcher/action_listener.py +25 -2
- hatchet_sdk/clients/events.py +91 -52
- hatchet_sdk/clients/rest/__init__.py +21 -0
- hatchet_sdk/clients/rest/api/api_token_api.py +12 -9
- hatchet_sdk/clients/rest/api/default_api.py +24 -18
- hatchet_sdk/clients/rest/api/event_api.py +32 -24
- hatchet_sdk/clients/rest/api/github_api.py +4 -3
- hatchet_sdk/clients/rest/api/log_api.py +4 -3
- hatchet_sdk/clients/rest/api/metadata_api.py +12 -9
- hatchet_sdk/clients/rest/api/rate_limits_api.py +7 -4
- hatchet_sdk/clients/rest/api/slack_api.py +8 -6
- hatchet_sdk/clients/rest/api/sns_api.py +12 -9
- hatchet_sdk/clients/rest/api/step_run_api.py +28 -21
- hatchet_sdk/clients/rest/api/tenant_api.py +67 -49
- hatchet_sdk/clients/rest/api/user_api.py +24 -18
- hatchet_sdk/clients/rest/api/worker_api.py +12 -9
- hatchet_sdk/clients/rest/api/workflow_api.py +3073 -936
- hatchet_sdk/clients/rest/api/workflow_run_api.py +669 -21
- hatchet_sdk/clients/rest/api_client.py +34 -11
- hatchet_sdk/clients/rest/configuration.py +161 -36
- hatchet_sdk/clients/rest/models/__init__.py +21 -0
- hatchet_sdk/clients/rest/models/api_errors.py +3 -3
- hatchet_sdk/clients/rest/models/bulk_create_event_request.py +3 -3
- hatchet_sdk/clients/rest/models/bulk_create_event_response.py +3 -3
- hatchet_sdk/clients/{cloud_rest/models/managed_worker_create_request_build_config_steps_inner.py → rest/models/create_cron_workflow_trigger_request.py} +18 -14
- hatchet_sdk/clients/{cloud_rest/models/github_app_list_installations200_response_rows_inner.py → rest/models/cron_workflows.py} +54 -21
- hatchet_sdk/clients/{cloud_rest/models/log_list200_response.py → rest/models/cron_workflows_list.py} +13 -22
- hatchet_sdk/clients/rest/models/cron_workflows_order_by_field.py +37 -0
- hatchet_sdk/clients/rest/models/event_list.py +3 -3
- hatchet_sdk/clients/rest/models/get_step_run_diff_response.py +3 -3
- hatchet_sdk/clients/rest/models/job.py +3 -3
- hatchet_sdk/clients/rest/models/job_run.py +3 -3
- hatchet_sdk/clients/rest/models/list_api_tokens_response.py +3 -3
- hatchet_sdk/clients/rest/models/list_pull_requests_response.py +3 -3
- hatchet_sdk/clients/rest/models/list_slack_webhooks.py +3 -3
- hatchet_sdk/clients/rest/models/list_sns_integrations.py +3 -3
- hatchet_sdk/clients/rest/models/log_line_list.py +3 -3
- hatchet_sdk/clients/rest/models/rate_limit_list.py +3 -3
- hatchet_sdk/clients/rest/models/replay_workflow_runs_response.py +3 -3
- hatchet_sdk/clients/{cloud_rest/models/log_list200_response_rows_inner.py → rest/models/schedule_workflow_run_request.py} +12 -12
- hatchet_sdk/clients/rest/models/scheduled_run_status.py +42 -0
- hatchet_sdk/clients/rest/models/scheduled_workflows.py +153 -0
- hatchet_sdk/clients/{cloud_rest/models/managed_worker_list200_response.py → rest/models/scheduled_workflows_list.py} +13 -22
- hatchet_sdk/clients/rest/models/scheduled_workflows_order_by_field.py +37 -0
- hatchet_sdk/clients/rest/models/step_run_archive_list.py +3 -3
- hatchet_sdk/clients/rest/models/step_run_event_list.py +3 -3
- hatchet_sdk/clients/rest/models/tenant_alert_email_group_list.py +3 -3
- hatchet_sdk/clients/rest/models/tenant_invite_list.py +3 -3
- hatchet_sdk/clients/rest/models/tenant_list.py +3 -3
- hatchet_sdk/clients/rest/models/tenant_member_list.py +3 -3
- hatchet_sdk/clients/rest/models/tenant_queue_metrics.py +16 -0
- hatchet_sdk/clients/rest/models/tenant_resource_policy.py +3 -3
- hatchet_sdk/clients/rest/models/tenant_step_run_queue_metrics.py +1 -1
- hatchet_sdk/clients/rest/models/user_tenant_memberships_list.py +3 -3
- hatchet_sdk/clients/rest/models/webhook_worker_list_response.py +3 -3
- hatchet_sdk/clients/rest/models/webhook_worker_request_list_response.py +3 -3
- hatchet_sdk/clients/rest/models/worker.py +20 -9
- hatchet_sdk/clients/rest/models/worker_list.py +3 -3
- hatchet_sdk/clients/{cloud_rest/models/tenant_billing_state_get200_response_payment_methods_inner.py → rest/models/worker_runtime_info.py} +23 -19
- hatchet_sdk/clients/rest/models/worker_runtime_sdks.py +38 -0
- hatchet_sdk/clients/rest/models/workflow.py +9 -9
- hatchet_sdk/clients/rest/models/workflow_list.py +3 -3
- hatchet_sdk/clients/rest/models/workflow_run.py +3 -3
- hatchet_sdk/clients/rest/models/workflow_run_list.py +3 -3
- hatchet_sdk/clients/rest/models/workflow_run_shape.py +3 -3
- hatchet_sdk/clients/rest/models/workflow_runs_metrics.py +1 -5
- hatchet_sdk/clients/rest/models/workflow_triggers.py +6 -6
- hatchet_sdk/clients/rest/models/workflow_version.py +3 -3
- hatchet_sdk/clients/rest/rest.py +3 -3
- hatchet_sdk/clients/rest_client.py +200 -21
- hatchet_sdk/contracts/dispatcher_pb2.pyi +2 -0
- hatchet_sdk/contracts/events_pb2.pyi +2 -0
- hatchet_sdk/contracts/workflows_pb2.pyi +2 -0
- hatchet_sdk/features/cron.py +286 -0
- hatchet_sdk/features/scheduled.py +248 -0
- hatchet_sdk/hatchet.py +71 -79
- hatchet_sdk/loader.py +37 -14
- hatchet_sdk/utils/serialization.py +15 -0
- hatchet_sdk/utils/tracing.py +67 -0
- hatchet_sdk/worker/runner/runner.py +158 -112
- hatchet_sdk/worker/worker.py +1 -17
- {hatchet_sdk-0.40.0a9.dist-info → hatchet_sdk-0.41.0.dist-info}/METADATA +8 -2
- {hatchet_sdk-0.40.0a9.dist-info → hatchet_sdk-0.41.0.dist-info}/RECORD +86 -140
- {hatchet_sdk-0.40.0a9.dist-info → hatchet_sdk-0.41.0.dist-info}/entry_points.txt +0 -1
- hatchet_sdk/clients/cloud_rest/__init__.py +0 -186
- hatchet_sdk/clients/cloud_rest/api/__init__.py +0 -14
- hatchet_sdk/clients/cloud_rest/api/billing_api.py +0 -819
- hatchet_sdk/clients/cloud_rest/api/build_api.py +0 -298
- hatchet_sdk/clients/cloud_rest/api/feature_flags_api.py +0 -295
- hatchet_sdk/clients/cloud_rest/api/github_api.py +0 -1347
- hatchet_sdk/clients/cloud_rest/api/log_api.py +0 -971
- hatchet_sdk/clients/cloud_rest/api/managed_worker_api.py +0 -2546
- hatchet_sdk/clients/cloud_rest/api/metadata_api.py +0 -265
- hatchet_sdk/clients/cloud_rest/api/metrics_api.py +0 -1026
- hatchet_sdk/clients/cloud_rest/api/tenant_api.py +0 -301
- hatchet_sdk/clients/cloud_rest/api/user_api.py +0 -473
- hatchet_sdk/clients/cloud_rest/api/workflow_api.py +0 -369
- hatchet_sdk/clients/cloud_rest/api_client.py +0 -727
- hatchet_sdk/clients/cloud_rest/api_response.py +0 -22
- hatchet_sdk/clients/cloud_rest/configuration.py +0 -488
- hatchet_sdk/clients/cloud_rest/exceptions.py +0 -200
- hatchet_sdk/clients/cloud_rest/models/__init__.py +0 -157
- hatchet_sdk/clients/cloud_rest/models/billing_portal_link_get200_response.py +0 -85
- hatchet_sdk/clients/cloud_rest/models/build_get200_response.py +0 -121
- hatchet_sdk/clients/cloud_rest/models/github_app_list_branches200_response_inner.py +0 -86
- hatchet_sdk/clients/cloud_rest/models/github_app_list_installations200_response.py +0 -119
- hatchet_sdk/clients/cloud_rest/models/github_app_list_installations200_response_pagination.py +0 -95
- hatchet_sdk/clients/cloud_rest/models/github_app_list_installations200_response_rows_inner_metadata.py +0 -98
- hatchet_sdk/clients/cloud_rest/models/github_app_list_repos200_response_inner.py +0 -86
- hatchet_sdk/clients/cloud_rest/models/infra_as_code_create_request.py +0 -107
- hatchet_sdk/clients/cloud_rest/models/log_create_request_inner.py +0 -136
- hatchet_sdk/clients/cloud_rest/models/log_create_request_inner_event.py +0 -83
- hatchet_sdk/clients/cloud_rest/models/log_create_request_inner_fly.py +0 -100
- hatchet_sdk/clients/cloud_rest/models/log_create_request_inner_fly_app.py +0 -86
- hatchet_sdk/clients/cloud_rest/models/log_create_request_inner_log.py +0 -83
- hatchet_sdk/clients/cloud_rest/models/managed_worker_create_request.py +0 -128
- hatchet_sdk/clients/cloud_rest/models/managed_worker_create_request_build_config.py +0 -121
- hatchet_sdk/clients/cloud_rest/models/managed_worker_create_request_runtime_config.py +0 -166
- hatchet_sdk/clients/cloud_rest/models/managed_worker_events_list200_response.py +0 -119
- hatchet_sdk/clients/cloud_rest/models/managed_worker_events_list200_response_rows_inner.py +0 -117
- hatchet_sdk/clients/cloud_rest/models/managed_worker_instances_list200_response.py +0 -119
- hatchet_sdk/clients/cloud_rest/models/managed_worker_instances_list200_response_rows_inner.py +0 -113
- hatchet_sdk/clients/cloud_rest/models/managed_worker_list200_response_rows_inner.py +0 -154
- hatchet_sdk/clients/cloud_rest/models/managed_worker_list200_response_rows_inner_build_config.py +0 -151
- hatchet_sdk/clients/cloud_rest/models/managed_worker_list200_response_rows_inner_build_config_steps_inner.py +0 -109
- hatchet_sdk/clients/cloud_rest/models/managed_worker_list200_response_rows_inner_runtime_configs_inner.py +0 -171
- hatchet_sdk/clients/cloud_rest/models/managed_worker_update_request.py +0 -131
- hatchet_sdk/clients/cloud_rest/models/metadata_get200_response.py +0 -101
- hatchet_sdk/clients/cloud_rest/models/metadata_get400_response.py +0 -105
- hatchet_sdk/clients/cloud_rest/models/metadata_get400_response_errors_inner.py +0 -102
- hatchet_sdk/clients/cloud_rest/models/metrics_cpu_get200_response_inner.py +0 -108
- hatchet_sdk/clients/cloud_rest/models/metrics_cpu_get200_response_inner_histograms_inner.py +0 -102
- hatchet_sdk/clients/cloud_rest/models/metrics_cpu_get200_response_inner_histograms_inner_histogram.py +0 -113
- hatchet_sdk/clients/cloud_rest/models/metrics_cpu_get200_response_inner_histograms_inner_histogram_buckets_inner.py +0 -93
- hatchet_sdk/clients/cloud_rest/models/runtime_config_list_actions200_response.py +0 -83
- hatchet_sdk/clients/cloud_rest/models/subscription_upsert200_response.py +0 -114
- hatchet_sdk/clients/cloud_rest/models/subscription_upsert_request.py +0 -88
- hatchet_sdk/clients/cloud_rest/models/tenant_billing_state_get200_response.py +0 -170
- hatchet_sdk/clients/cloud_rest/models/tenant_billing_state_get200_response_coupons_inner.py +0 -137
- hatchet_sdk/clients/cloud_rest/models/tenant_billing_state_get200_response_plans_inner.py +0 -103
- hatchet_sdk/clients/cloud_rest/models/tenant_billing_state_get200_response_subscription.py +0 -114
- hatchet_sdk/clients/cloud_rest/models/workflow_run_events_get_metrics200_response.py +0 -107
- hatchet_sdk/clients/cloud_rest/models/workflow_run_events_get_metrics200_response_results_inner.py +0 -105
- hatchet_sdk/clients/cloud_rest/rest.py +0 -182
- hatchet_sdk/compute/__init__.py +0 -0
- hatchet_sdk/compute/configs.py +0 -34
- hatchet_sdk/compute/managed_compute.py +0 -111
- {hatchet_sdk-0.40.0a9.dist-info → hatchet_sdk-0.41.0.dist-info}/WHEEL +0 -0
|
@@ -324,9 +324,10 @@ class DefaultApi:
|
|
|
324
324
|
# process the body parameter
|
|
325
325
|
|
|
326
326
|
# set the HTTP header `Accept`
|
|
327
|
-
|
|
328
|
-
["
|
|
329
|
-
|
|
327
|
+
if "Accept" not in _header_params:
|
|
328
|
+
_header_params["Accept"] = self.api_client.select_header_accept(
|
|
329
|
+
["application/json"]
|
|
330
|
+
)
|
|
330
331
|
|
|
331
332
|
# authentication setting
|
|
332
333
|
_auth_settings: List[str] = ["cookieAuth", "bearerAuth"]
|
|
@@ -643,9 +644,10 @@ class DefaultApi:
|
|
|
643
644
|
_body_params = update_tenant_invite_request
|
|
644
645
|
|
|
645
646
|
# set the HTTP header `Accept`
|
|
646
|
-
|
|
647
|
-
["
|
|
648
|
-
|
|
647
|
+
if "Accept" not in _header_params:
|
|
648
|
+
_header_params["Accept"] = self.api_client.select_header_accept(
|
|
649
|
+
["application/json"]
|
|
650
|
+
)
|
|
649
651
|
|
|
650
652
|
# set the HTTP header `Content-Type`
|
|
651
653
|
if _content_type:
|
|
@@ -933,9 +935,10 @@ class DefaultApi:
|
|
|
933
935
|
_body_params = webhook_worker_create_request
|
|
934
936
|
|
|
935
937
|
# set the HTTP header `Accept`
|
|
936
|
-
|
|
937
|
-
["
|
|
938
|
-
|
|
938
|
+
if "Accept" not in _header_params:
|
|
939
|
+
_header_params["Accept"] = self.api_client.select_header_accept(
|
|
940
|
+
["application/json"]
|
|
941
|
+
)
|
|
939
942
|
|
|
940
943
|
# set the HTTP header `Content-Type`
|
|
941
944
|
if _content_type:
|
|
@@ -1208,9 +1211,10 @@ class DefaultApi:
|
|
|
1208
1211
|
# process the body parameter
|
|
1209
1212
|
|
|
1210
1213
|
# set the HTTP header `Accept`
|
|
1211
|
-
|
|
1212
|
-
["
|
|
1213
|
-
|
|
1214
|
+
if "Accept" not in _header_params:
|
|
1215
|
+
_header_params["Accept"] = self.api_client.select_header_accept(
|
|
1216
|
+
["application/json"]
|
|
1217
|
+
)
|
|
1214
1218
|
|
|
1215
1219
|
# authentication setting
|
|
1216
1220
|
_auth_settings: List[str] = ["cookieAuth", "bearerAuth"]
|
|
@@ -1473,9 +1477,10 @@ class DefaultApi:
|
|
|
1473
1477
|
# process the body parameter
|
|
1474
1478
|
|
|
1475
1479
|
# set the HTTP header `Accept`
|
|
1476
|
-
|
|
1477
|
-
["
|
|
1478
|
-
|
|
1480
|
+
if "Accept" not in _header_params:
|
|
1481
|
+
_header_params["Accept"] = self.api_client.select_header_accept(
|
|
1482
|
+
["application/json"]
|
|
1483
|
+
)
|
|
1479
1484
|
|
|
1480
1485
|
# authentication setting
|
|
1481
1486
|
_auth_settings: List[str] = ["cookieAuth", "bearerAuth"]
|
|
@@ -1738,9 +1743,10 @@ class DefaultApi:
|
|
|
1738
1743
|
# process the body parameter
|
|
1739
1744
|
|
|
1740
1745
|
# set the HTTP header `Accept`
|
|
1741
|
-
|
|
1742
|
-
["
|
|
1743
|
-
|
|
1746
|
+
if "Accept" not in _header_params:
|
|
1747
|
+
_header_params["Accept"] = self.api_client.select_header_accept(
|
|
1748
|
+
["application/json"]
|
|
1749
|
+
)
|
|
1744
1750
|
|
|
1745
1751
|
# authentication setting
|
|
1746
1752
|
_auth_settings: List[str] = ["cookieAuth", "bearerAuth"]
|
|
@@ -319,9 +319,10 @@ class EventApi:
|
|
|
319
319
|
_body_params = create_event_request
|
|
320
320
|
|
|
321
321
|
# set the HTTP header `Accept`
|
|
322
|
-
|
|
323
|
-
["
|
|
324
|
-
|
|
322
|
+
if "Accept" not in _header_params:
|
|
323
|
+
_header_params["Accept"] = self.api_client.select_header_accept(
|
|
324
|
+
["application/json"]
|
|
325
|
+
)
|
|
325
326
|
|
|
326
327
|
# set the HTTP header `Content-Type`
|
|
327
328
|
if _content_type:
|
|
@@ -615,9 +616,10 @@ class EventApi:
|
|
|
615
616
|
_body_params = bulk_create_event_request
|
|
616
617
|
|
|
617
618
|
# set the HTTP header `Accept`
|
|
618
|
-
|
|
619
|
-
["
|
|
620
|
-
|
|
619
|
+
if "Accept" not in _header_params:
|
|
620
|
+
_header_params["Accept"] = self.api_client.select_header_accept(
|
|
621
|
+
["application/json"]
|
|
622
|
+
)
|
|
621
623
|
|
|
622
624
|
# set the HTTP header `Content-Type`
|
|
623
625
|
if _content_type:
|
|
@@ -887,9 +889,10 @@ class EventApi:
|
|
|
887
889
|
# process the body parameter
|
|
888
890
|
|
|
889
891
|
# set the HTTP header `Accept`
|
|
890
|
-
|
|
891
|
-
["
|
|
892
|
-
|
|
892
|
+
if "Accept" not in _header_params:
|
|
893
|
+
_header_params["Accept"] = self.api_client.select_header_accept(
|
|
894
|
+
["application/json"]
|
|
895
|
+
)
|
|
893
896
|
|
|
894
897
|
# authentication setting
|
|
895
898
|
_auth_settings: List[str] = ["cookieAuth", "bearerAuth"]
|
|
@@ -1149,9 +1152,10 @@ class EventApi:
|
|
|
1149
1152
|
# process the body parameter
|
|
1150
1153
|
|
|
1151
1154
|
# set the HTTP header `Accept`
|
|
1152
|
-
|
|
1153
|
-
["
|
|
1154
|
-
|
|
1155
|
+
if "Accept" not in _header_params:
|
|
1156
|
+
_header_params["Accept"] = self.api_client.select_header_accept(
|
|
1157
|
+
["application/json"]
|
|
1158
|
+
)
|
|
1155
1159
|
|
|
1156
1160
|
# authentication setting
|
|
1157
1161
|
_auth_settings: List[str] = ["cookieAuth", "bearerAuth"]
|
|
@@ -1411,9 +1415,10 @@ class EventApi:
|
|
|
1411
1415
|
# process the body parameter
|
|
1412
1416
|
|
|
1413
1417
|
# set the HTTP header `Accept`
|
|
1414
|
-
|
|
1415
|
-
["
|
|
1416
|
-
|
|
1418
|
+
if "Accept" not in _header_params:
|
|
1419
|
+
_header_params["Accept"] = self.api_client.select_header_accept(
|
|
1420
|
+
["application/json"]
|
|
1421
|
+
)
|
|
1417
1422
|
|
|
1418
1423
|
# authentication setting
|
|
1419
1424
|
_auth_settings: List[str] = ["cookieAuth", "bearerAuth"]
|
|
@@ -1927,9 +1932,10 @@ class EventApi:
|
|
|
1927
1932
|
# process the body parameter
|
|
1928
1933
|
|
|
1929
1934
|
# set the HTTP header `Accept`
|
|
1930
|
-
|
|
1931
|
-
["
|
|
1932
|
-
|
|
1935
|
+
if "Accept" not in _header_params:
|
|
1936
|
+
_header_params["Accept"] = self.api_client.select_header_accept(
|
|
1937
|
+
["application/json"]
|
|
1938
|
+
)
|
|
1933
1939
|
|
|
1934
1940
|
# authentication setting
|
|
1935
1941
|
_auth_settings: List[str] = ["cookieAuth", "bearerAuth"]
|
|
@@ -2213,9 +2219,10 @@ class EventApi:
|
|
|
2213
2219
|
_body_params = cancel_event_request
|
|
2214
2220
|
|
|
2215
2221
|
# set the HTTP header `Accept`
|
|
2216
|
-
|
|
2217
|
-
["
|
|
2218
|
-
|
|
2222
|
+
if "Accept" not in _header_params:
|
|
2223
|
+
_header_params["Accept"] = self.api_client.select_header_accept(
|
|
2224
|
+
["application/json"]
|
|
2225
|
+
)
|
|
2219
2226
|
|
|
2220
2227
|
# set the HTTP header `Content-Type`
|
|
2221
2228
|
if _content_type:
|
|
@@ -2509,9 +2516,10 @@ class EventApi:
|
|
|
2509
2516
|
_body_params = replay_event_request
|
|
2510
2517
|
|
|
2511
2518
|
# set the HTTP header `Accept`
|
|
2512
|
-
|
|
2513
|
-
["
|
|
2514
|
-
|
|
2519
|
+
if "Accept" not in _header_params:
|
|
2520
|
+
_header_params["Accept"] = self.api_client.select_header_accept(
|
|
2521
|
+
["application/json"]
|
|
2522
|
+
)
|
|
2515
2523
|
|
|
2516
2524
|
# set the HTTP header `Content-Type`
|
|
2517
2525
|
if _content_type:
|
|
@@ -307,9 +307,10 @@ class GithubApi:
|
|
|
307
307
|
# process the body parameter
|
|
308
308
|
|
|
309
309
|
# set the HTTP header `Accept`
|
|
310
|
-
|
|
311
|
-
["
|
|
312
|
-
|
|
310
|
+
if "Accept" not in _header_params:
|
|
311
|
+
_header_params["Accept"] = self.api_client.select_header_accept(
|
|
312
|
+
["application/json"]
|
|
313
|
+
)
|
|
313
314
|
|
|
314
315
|
# authentication setting
|
|
315
316
|
_auth_settings: List[str] = []
|
|
@@ -423,9 +423,10 @@ class LogApi:
|
|
|
423
423
|
# process the body parameter
|
|
424
424
|
|
|
425
425
|
# set the HTTP header `Accept`
|
|
426
|
-
|
|
427
|
-
["
|
|
428
|
-
|
|
426
|
+
if "Accept" not in _header_params:
|
|
427
|
+
_header_params["Accept"] = self.api_client.select_header_accept(
|
|
428
|
+
["application/json"]
|
|
429
|
+
)
|
|
429
430
|
|
|
430
431
|
# authentication setting
|
|
431
432
|
_auth_settings: List[str] = ["cookieAuth", "bearerAuth"]
|
|
@@ -244,9 +244,10 @@ class MetadataApi:
|
|
|
244
244
|
# process the body parameter
|
|
245
245
|
|
|
246
246
|
# set the HTTP header `Accept`
|
|
247
|
-
|
|
248
|
-
["
|
|
249
|
-
|
|
247
|
+
if "Accept" not in _header_params:
|
|
248
|
+
_header_params["Accept"] = self.api_client.select_header_accept(
|
|
249
|
+
["application/json"]
|
|
250
|
+
)
|
|
250
251
|
|
|
251
252
|
# authentication setting
|
|
252
253
|
_auth_settings: List[str] = []
|
|
@@ -473,9 +474,10 @@ class MetadataApi:
|
|
|
473
474
|
# process the body parameter
|
|
474
475
|
|
|
475
476
|
# set the HTTP header `Accept`
|
|
476
|
-
|
|
477
|
-
["
|
|
478
|
-
|
|
477
|
+
if "Accept" not in _header_params:
|
|
478
|
+
_header_params["Accept"] = self.api_client.select_header_accept(
|
|
479
|
+
["application/json"]
|
|
480
|
+
)
|
|
479
481
|
|
|
480
482
|
# authentication setting
|
|
481
483
|
_auth_settings: List[str] = []
|
|
@@ -702,9 +704,10 @@ class MetadataApi:
|
|
|
702
704
|
# process the body parameter
|
|
703
705
|
|
|
704
706
|
# set the HTTP header `Accept`
|
|
705
|
-
|
|
706
|
-
["
|
|
707
|
-
|
|
707
|
+
if "Accept" not in _header_params:
|
|
708
|
+
_header_params["Accept"] = self.api_client.select_header_accept(
|
|
709
|
+
["application/json"]
|
|
710
|
+
)
|
|
708
711
|
|
|
709
712
|
# authentication setting
|
|
710
713
|
_auth_settings: List[str] = ["cookieAuth", "bearerAuth"]
|
|
@@ -365,7 +365,9 @@ class RateLimitsApi:
|
|
|
365
365
|
_query_params: List[Tuple[str, str]] = []
|
|
366
366
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
367
367
|
_form_params: List[Tuple[str, str]] = []
|
|
368
|
-
_files: Dict[
|
|
368
|
+
_files: Dict[
|
|
369
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
370
|
+
] = {}
|
|
369
371
|
_body_params: Optional[bytes] = None
|
|
370
372
|
|
|
371
373
|
# process the path parameters
|
|
@@ -397,9 +399,10 @@ class RateLimitsApi:
|
|
|
397
399
|
# process the body parameter
|
|
398
400
|
|
|
399
401
|
# set the HTTP header `Accept`
|
|
400
|
-
|
|
401
|
-
["
|
|
402
|
-
|
|
402
|
+
if "Accept" not in _header_params:
|
|
403
|
+
_header_params["Accept"] = self.api_client.select_header_accept(
|
|
404
|
+
["application/json"]
|
|
405
|
+
)
|
|
403
406
|
|
|
404
407
|
# authentication setting
|
|
405
408
|
_auth_settings: List[str] = ["cookieAuth", "bearerAuth"]
|
|
@@ -287,9 +287,10 @@ class SlackApi:
|
|
|
287
287
|
# process the body parameter
|
|
288
288
|
|
|
289
289
|
# set the HTTP header `Accept`
|
|
290
|
-
|
|
291
|
-
["
|
|
292
|
-
|
|
290
|
+
if "Accept" not in _header_params:
|
|
291
|
+
_header_params["Accept"] = self.api_client.select_header_accept(
|
|
292
|
+
["application/json"]
|
|
293
|
+
)
|
|
293
294
|
|
|
294
295
|
# authentication setting
|
|
295
296
|
_auth_settings: List[str] = ["cookieAuth", "bearerAuth"]
|
|
@@ -552,9 +553,10 @@ class SlackApi:
|
|
|
552
553
|
# process the body parameter
|
|
553
554
|
|
|
554
555
|
# set the HTTP header `Accept`
|
|
555
|
-
|
|
556
|
-
["
|
|
557
|
-
|
|
556
|
+
if "Accept" not in _header_params:
|
|
557
|
+
_header_params["Accept"] = self.api_client.select_header_accept(
|
|
558
|
+
["application/json"]
|
|
559
|
+
)
|
|
558
560
|
|
|
559
561
|
# authentication setting
|
|
560
562
|
_auth_settings: List[str] = ["cookieAuth", "bearerAuth"]
|
|
@@ -297,9 +297,10 @@ class SNSApi:
|
|
|
297
297
|
_body_params = create_sns_integration_request
|
|
298
298
|
|
|
299
299
|
# set the HTTP header `Accept`
|
|
300
|
-
|
|
301
|
-
["
|
|
302
|
-
|
|
300
|
+
if "Accept" not in _header_params:
|
|
301
|
+
_header_params["Accept"] = self.api_client.select_header_accept(
|
|
302
|
+
["application/json"]
|
|
303
|
+
)
|
|
303
304
|
|
|
304
305
|
# set the HTTP header `Content-Type`
|
|
305
306
|
if _content_type:
|
|
@@ -581,9 +582,10 @@ class SNSApi:
|
|
|
581
582
|
# process the body parameter
|
|
582
583
|
|
|
583
584
|
# set the HTTP header `Accept`
|
|
584
|
-
|
|
585
|
-
["
|
|
586
|
-
|
|
585
|
+
if "Accept" not in _header_params:
|
|
586
|
+
_header_params["Accept"] = self.api_client.select_header_accept(
|
|
587
|
+
["application/json"]
|
|
588
|
+
)
|
|
587
589
|
|
|
588
590
|
# authentication setting
|
|
589
591
|
_auth_settings: List[str] = ["cookieAuth", "bearerAuth"]
|
|
@@ -846,9 +848,10 @@ class SNSApi:
|
|
|
846
848
|
# process the body parameter
|
|
847
849
|
|
|
848
850
|
# set the HTTP header `Accept`
|
|
849
|
-
|
|
850
|
-
["
|
|
851
|
-
|
|
851
|
+
if "Accept" not in _header_params:
|
|
852
|
+
_header_params["Accept"] = self.api_client.select_header_accept(
|
|
853
|
+
["application/json"]
|
|
854
|
+
)
|
|
852
855
|
|
|
853
856
|
# authentication setting
|
|
854
857
|
_auth_settings: List[str] = ["cookieAuth", "bearerAuth"]
|
|
@@ -311,9 +311,10 @@ class StepRunApi:
|
|
|
311
311
|
# process the body parameter
|
|
312
312
|
|
|
313
313
|
# set the HTTP header `Accept`
|
|
314
|
-
|
|
315
|
-
["
|
|
316
|
-
|
|
314
|
+
if "Accept" not in _header_params:
|
|
315
|
+
_header_params["Accept"] = self.api_client.select_header_accept(
|
|
316
|
+
["application/json"]
|
|
317
|
+
)
|
|
317
318
|
|
|
318
319
|
# authentication setting
|
|
319
320
|
_auth_settings: List[str] = ["cookieAuth", "bearerAuth"]
|
|
@@ -606,9 +607,10 @@ class StepRunApi:
|
|
|
606
607
|
# process the body parameter
|
|
607
608
|
|
|
608
609
|
# set the HTTP header `Accept`
|
|
609
|
-
|
|
610
|
-
["
|
|
611
|
-
|
|
610
|
+
if "Accept" not in _header_params:
|
|
611
|
+
_header_params["Accept"] = self.api_client.select_header_accept(
|
|
612
|
+
["application/json"]
|
|
613
|
+
)
|
|
612
614
|
|
|
613
615
|
# authentication setting
|
|
614
616
|
_auth_settings: List[str] = ["cookieAuth", "bearerAuth"]
|
|
@@ -917,9 +919,10 @@ class StepRunApi:
|
|
|
917
919
|
# process the body parameter
|
|
918
920
|
|
|
919
921
|
# set the HTTP header `Accept`
|
|
920
|
-
|
|
921
|
-
["
|
|
922
|
-
|
|
922
|
+
if "Accept" not in _header_params:
|
|
923
|
+
_header_params["Accept"] = self.api_client.select_header_accept(
|
|
924
|
+
["application/json"]
|
|
925
|
+
)
|
|
923
926
|
|
|
924
927
|
# authentication setting
|
|
925
928
|
_auth_settings: List[str] = ["cookieAuth", "bearerAuth"]
|
|
@@ -1228,9 +1231,10 @@ class StepRunApi:
|
|
|
1228
1231
|
# process the body parameter
|
|
1229
1232
|
|
|
1230
1233
|
# set the HTTP header `Accept`
|
|
1231
|
-
|
|
1232
|
-
["
|
|
1233
|
-
|
|
1234
|
+
if "Accept" not in _header_params:
|
|
1235
|
+
_header_params["Accept"] = self.api_client.select_header_accept(
|
|
1236
|
+
["application/json"]
|
|
1237
|
+
)
|
|
1234
1238
|
|
|
1235
1239
|
# authentication setting
|
|
1236
1240
|
_auth_settings: List[str] = ["cookieAuth", "bearerAuth"]
|
|
@@ -1520,9 +1524,10 @@ class StepRunApi:
|
|
|
1520
1524
|
# process the body parameter
|
|
1521
1525
|
|
|
1522
1526
|
# set the HTTP header `Accept`
|
|
1523
|
-
|
|
1524
|
-
["
|
|
1525
|
-
|
|
1527
|
+
if "Accept" not in _header_params:
|
|
1528
|
+
_header_params["Accept"] = self.api_client.select_header_accept(
|
|
1529
|
+
["application/json"]
|
|
1530
|
+
)
|
|
1526
1531
|
|
|
1527
1532
|
# authentication setting
|
|
1528
1533
|
_auth_settings: List[str] = ["cookieAuth", "bearerAuth"]
|
|
@@ -1833,9 +1838,10 @@ class StepRunApi:
|
|
|
1833
1838
|
_body_params = rerun_step_run_request
|
|
1834
1839
|
|
|
1835
1840
|
# set the HTTP header `Accept`
|
|
1836
|
-
|
|
1837
|
-
["
|
|
1838
|
-
|
|
1841
|
+
if "Accept" not in _header_params:
|
|
1842
|
+
_header_params["Accept"] = self.api_client.select_header_accept(
|
|
1843
|
+
["application/json"]
|
|
1844
|
+
)
|
|
1839
1845
|
|
|
1840
1846
|
# set the HTTP header `Content-Type`
|
|
1841
1847
|
if _content_type:
|
|
@@ -2170,9 +2176,10 @@ class StepRunApi:
|
|
|
2170
2176
|
# process the body parameter
|
|
2171
2177
|
|
|
2172
2178
|
# set the HTTP header `Accept`
|
|
2173
|
-
|
|
2174
|
-
["
|
|
2175
|
-
|
|
2179
|
+
if "Accept" not in _header_params:
|
|
2180
|
+
_header_params["Accept"] = self.api_client.select_header_accept(
|
|
2181
|
+
["application/json"]
|
|
2182
|
+
)
|
|
2176
2183
|
|
|
2177
2184
|
# authentication setting
|
|
2178
2185
|
_auth_settings: List[str] = ["cookieAuth", "bearerAuth"]
|