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
|
@@ -329,9 +329,10 @@ class TenantApi:
|
|
|
329
329
|
_body_params = create_tenant_alert_email_group_request
|
|
330
330
|
|
|
331
331
|
# set the HTTP header `Accept`
|
|
332
|
-
|
|
333
|
-
["
|
|
334
|
-
|
|
332
|
+
if "Accept" not in _header_params:
|
|
333
|
+
_header_params["Accept"] = self.api_client.select_header_accept(
|
|
334
|
+
["application/json"]
|
|
335
|
+
)
|
|
335
336
|
|
|
336
337
|
# set the HTTP header `Content-Type`
|
|
337
338
|
if _content_type:
|
|
@@ -610,9 +611,10 @@ class TenantApi:
|
|
|
610
611
|
# process the body parameter
|
|
611
612
|
|
|
612
613
|
# set the HTTP header `Accept`
|
|
613
|
-
|
|
614
|
-
["
|
|
615
|
-
|
|
614
|
+
if "Accept" not in _header_params:
|
|
615
|
+
_header_params["Accept"] = self.api_client.select_header_accept(
|
|
616
|
+
["application/json"]
|
|
617
|
+
)
|
|
616
618
|
|
|
617
619
|
# authentication setting
|
|
618
620
|
_auth_settings: List[str] = ["cookieAuth", "bearerAuth"]
|
|
@@ -872,9 +874,10 @@ class TenantApi:
|
|
|
872
874
|
# process the body parameter
|
|
873
875
|
|
|
874
876
|
# set the HTTP header `Accept`
|
|
875
|
-
|
|
876
|
-
["
|
|
877
|
-
|
|
877
|
+
if "Accept" not in _header_params:
|
|
878
|
+
_header_params["Accept"] = self.api_client.select_header_accept(
|
|
879
|
+
["application/json"]
|
|
880
|
+
)
|
|
878
881
|
|
|
879
882
|
# authentication setting
|
|
880
883
|
_auth_settings: List[str] = ["cookieAuth", "bearerAuth"]
|
|
@@ -1167,9 +1170,10 @@ class TenantApi:
|
|
|
1167
1170
|
_body_params = update_tenant_alert_email_group_request
|
|
1168
1171
|
|
|
1169
1172
|
# set the HTTP header `Accept`
|
|
1170
|
-
|
|
1171
|
-
["
|
|
1172
|
-
|
|
1173
|
+
if "Accept" not in _header_params:
|
|
1174
|
+
_header_params["Accept"] = self.api_client.select_header_accept(
|
|
1175
|
+
["application/json"]
|
|
1176
|
+
)
|
|
1173
1177
|
|
|
1174
1178
|
# set the HTTP header `Content-Type`
|
|
1175
1179
|
if _content_type:
|
|
@@ -1439,9 +1443,10 @@ class TenantApi:
|
|
|
1439
1443
|
# process the body parameter
|
|
1440
1444
|
|
|
1441
1445
|
# set the HTTP header `Accept`
|
|
1442
|
-
|
|
1443
|
-
["
|
|
1444
|
-
|
|
1446
|
+
if "Accept" not in _header_params:
|
|
1447
|
+
_header_params["Accept"] = self.api_client.select_header_accept(
|
|
1448
|
+
["application/json"]
|
|
1449
|
+
)
|
|
1445
1450
|
|
|
1446
1451
|
# authentication setting
|
|
1447
1452
|
_auth_settings: List[str] = ["cookieAuth", "bearerAuth"]
|
|
@@ -1692,9 +1697,10 @@ class TenantApi:
|
|
|
1692
1697
|
_body_params = create_tenant_request
|
|
1693
1698
|
|
|
1694
1699
|
# set the HTTP header `Accept`
|
|
1695
|
-
|
|
1696
|
-
["
|
|
1697
|
-
|
|
1700
|
+
if "Accept" not in _header_params:
|
|
1701
|
+
_header_params["Accept"] = self.api_client.select_header_accept(
|
|
1702
|
+
["application/json"]
|
|
1703
|
+
)
|
|
1698
1704
|
|
|
1699
1705
|
# set the HTTP header `Content-Type`
|
|
1700
1706
|
if _content_type:
|
|
@@ -1953,7 +1959,9 @@ class TenantApi:
|
|
|
1953
1959
|
_query_params: List[Tuple[str, str]] = []
|
|
1954
1960
|
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1955
1961
|
_form_params: List[Tuple[str, str]] = []
|
|
1956
|
-
_files: Dict[
|
|
1962
|
+
_files: Dict[
|
|
1963
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
1964
|
+
] = {}
|
|
1957
1965
|
_body_params: Optional[bytes] = None
|
|
1958
1966
|
|
|
1959
1967
|
# process the path parameters
|
|
@@ -1965,9 +1973,10 @@ class TenantApi:
|
|
|
1965
1973
|
# process the body parameter
|
|
1966
1974
|
|
|
1967
1975
|
# set the HTTP header `Accept`
|
|
1968
|
-
|
|
1969
|
-
["
|
|
1970
|
-
|
|
1976
|
+
if "Accept" not in _header_params:
|
|
1977
|
+
_header_params["Accept"] = self.api_client.select_header_accept(
|
|
1978
|
+
["application/json"]
|
|
1979
|
+
)
|
|
1971
1980
|
|
|
1972
1981
|
# authentication setting
|
|
1973
1982
|
_auth_settings: List[str] = ["cookieAuth", "bearerAuth"]
|
|
@@ -2212,9 +2221,10 @@ class TenantApi:
|
|
|
2212
2221
|
_body_params = accept_invite_request
|
|
2213
2222
|
|
|
2214
2223
|
# set the HTTP header `Accept`
|
|
2215
|
-
|
|
2216
|
-
["
|
|
2217
|
-
|
|
2224
|
+
if "Accept" not in _header_params:
|
|
2225
|
+
_header_params["Accept"] = self.api_client.select_header_accept(
|
|
2226
|
+
["application/json"]
|
|
2227
|
+
)
|
|
2218
2228
|
|
|
2219
2229
|
# set the HTTP header `Content-Type`
|
|
2220
2230
|
if _content_type:
|
|
@@ -2505,9 +2515,10 @@ class TenantApi:
|
|
|
2505
2515
|
_body_params = create_tenant_invite_request
|
|
2506
2516
|
|
|
2507
2517
|
# set the HTTP header `Accept`
|
|
2508
|
-
|
|
2509
|
-
["
|
|
2510
|
-
|
|
2518
|
+
if "Accept" not in _header_params:
|
|
2519
|
+
_header_params["Accept"] = self.api_client.select_header_accept(
|
|
2520
|
+
["application/json"]
|
|
2521
|
+
)
|
|
2511
2522
|
|
|
2512
2523
|
# set the HTTP header `Content-Type`
|
|
2513
2524
|
if _content_type:
|
|
@@ -2777,9 +2788,10 @@ class TenantApi:
|
|
|
2777
2788
|
# process the body parameter
|
|
2778
2789
|
|
|
2779
2790
|
# set the HTTP header `Accept`
|
|
2780
|
-
|
|
2781
|
-
["
|
|
2782
|
-
|
|
2791
|
+
if "Accept" not in _header_params:
|
|
2792
|
+
_header_params["Accept"] = self.api_client.select_header_accept(
|
|
2793
|
+
["application/json"]
|
|
2794
|
+
)
|
|
2783
2795
|
|
|
2784
2796
|
# authentication setting
|
|
2785
2797
|
_auth_settings: List[str] = ["cookieAuth", "bearerAuth"]
|
|
@@ -3024,9 +3036,10 @@ class TenantApi:
|
|
|
3024
3036
|
_body_params = reject_invite_request
|
|
3025
3037
|
|
|
3026
3038
|
# set the HTTP header `Accept`
|
|
3027
|
-
|
|
3028
|
-
["
|
|
3029
|
-
|
|
3039
|
+
if "Accept" not in _header_params:
|
|
3040
|
+
_header_params["Accept"] = self.api_client.select_header_accept(
|
|
3041
|
+
["application/json"]
|
|
3042
|
+
)
|
|
3030
3043
|
|
|
3031
3044
|
# set the HTTP header `Content-Type`
|
|
3032
3045
|
if _content_type:
|
|
@@ -3338,9 +3351,10 @@ class TenantApi:
|
|
|
3338
3351
|
# process the body parameter
|
|
3339
3352
|
|
|
3340
3353
|
# set the HTTP header `Accept`
|
|
3341
|
-
|
|
3342
|
-
["
|
|
3343
|
-
|
|
3354
|
+
if "Accept" not in _header_params:
|
|
3355
|
+
_header_params["Accept"] = self.api_client.select_header_accept(
|
|
3356
|
+
["application/json"]
|
|
3357
|
+
)
|
|
3344
3358
|
|
|
3345
3359
|
# authentication setting
|
|
3346
3360
|
_auth_settings: List[str] = ["cookieAuth", "bearerAuth"]
|
|
@@ -3600,9 +3614,10 @@ class TenantApi:
|
|
|
3600
3614
|
# process the body parameter
|
|
3601
3615
|
|
|
3602
3616
|
# set the HTTP header `Accept`
|
|
3603
|
-
|
|
3604
|
-
["
|
|
3605
|
-
|
|
3617
|
+
if "Accept" not in _header_params:
|
|
3618
|
+
_header_params["Accept"] = self.api_client.select_header_accept(
|
|
3619
|
+
["application/json"]
|
|
3620
|
+
)
|
|
3606
3621
|
|
|
3607
3622
|
# authentication setting
|
|
3608
3623
|
_auth_settings: List[str] = ["cookieAuth", "bearerAuth"]
|
|
@@ -3862,9 +3877,10 @@ class TenantApi:
|
|
|
3862
3877
|
# process the body parameter
|
|
3863
3878
|
|
|
3864
3879
|
# set the HTTP header `Accept`
|
|
3865
|
-
|
|
3866
|
-
["
|
|
3867
|
-
|
|
3880
|
+
if "Accept" not in _header_params:
|
|
3881
|
+
_header_params["Accept"] = self.api_client.select_header_accept(
|
|
3882
|
+
["application/json"]
|
|
3883
|
+
)
|
|
3868
3884
|
|
|
3869
3885
|
# authentication setting
|
|
3870
3886
|
_auth_settings: List[str] = ["cookieAuth", "bearerAuth"]
|
|
@@ -4145,9 +4161,10 @@ class TenantApi:
|
|
|
4145
4161
|
_body_params = update_tenant_request
|
|
4146
4162
|
|
|
4147
4163
|
# set the HTTP header `Accept`
|
|
4148
|
-
|
|
4149
|
-
["
|
|
4150
|
-
|
|
4164
|
+
if "Accept" not in _header_params:
|
|
4165
|
+
_header_params["Accept"] = self.api_client.select_header_accept(
|
|
4166
|
+
["application/json"]
|
|
4167
|
+
)
|
|
4151
4168
|
|
|
4152
4169
|
# set the HTTP header `Content-Type`
|
|
4153
4170
|
if _content_type:
|
|
@@ -4387,9 +4404,10 @@ class TenantApi:
|
|
|
4387
4404
|
# process the body parameter
|
|
4388
4405
|
|
|
4389
4406
|
# set the HTTP header `Accept`
|
|
4390
|
-
|
|
4391
|
-
["
|
|
4392
|
-
|
|
4407
|
+
if "Accept" not in _header_params:
|
|
4408
|
+
_header_params["Accept"] = self.api_client.select_header_accept(
|
|
4409
|
+
["application/json"]
|
|
4410
|
+
)
|
|
4393
4411
|
|
|
4394
4412
|
# authentication setting
|
|
4395
4413
|
_auth_settings: List[str] = ["cookieAuth"]
|
|
@@ -253,9 +253,10 @@ class UserApi:
|
|
|
253
253
|
# process the body parameter
|
|
254
254
|
|
|
255
255
|
# set the HTTP header `Accept`
|
|
256
|
-
|
|
257
|
-
["
|
|
258
|
-
|
|
256
|
+
if "Accept" not in _header_params:
|
|
257
|
+
_header_params["Accept"] = self.api_client.select_header_accept(
|
|
258
|
+
["application/json"]
|
|
259
|
+
)
|
|
259
260
|
|
|
260
261
|
# authentication setting
|
|
261
262
|
_auth_settings: List[str] = ["cookieAuth"]
|
|
@@ -503,9 +504,10 @@ class UserApi:
|
|
|
503
504
|
_body_params = user_register_request
|
|
504
505
|
|
|
505
506
|
# set the HTTP header `Accept`
|
|
506
|
-
|
|
507
|
-
["
|
|
508
|
-
|
|
507
|
+
if "Accept" not in _header_params:
|
|
508
|
+
_header_params["Accept"] = self.api_client.select_header_accept(
|
|
509
|
+
["application/json"]
|
|
510
|
+
)
|
|
509
511
|
|
|
510
512
|
# set the HTTP header `Content-Type`
|
|
511
513
|
if _content_type:
|
|
@@ -748,9 +750,10 @@ class UserApi:
|
|
|
748
750
|
# process the body parameter
|
|
749
751
|
|
|
750
752
|
# set the HTTP header `Accept`
|
|
751
|
-
|
|
752
|
-
["
|
|
753
|
-
|
|
753
|
+
if "Accept" not in _header_params:
|
|
754
|
+
_header_params["Accept"] = self.api_client.select_header_accept(
|
|
755
|
+
["application/json"]
|
|
756
|
+
)
|
|
754
757
|
|
|
755
758
|
# authentication setting
|
|
756
759
|
_auth_settings: List[str] = ["cookieAuth"]
|
|
@@ -1882,9 +1885,10 @@ class UserApi:
|
|
|
1882
1885
|
_body_params = user_login_request
|
|
1883
1886
|
|
|
1884
1887
|
# set the HTTP header `Accept`
|
|
1885
|
-
|
|
1886
|
-
["
|
|
1887
|
-
|
|
1888
|
+
if "Accept" not in _header_params:
|
|
1889
|
+
_header_params["Accept"] = self.api_client.select_header_accept(
|
|
1890
|
+
["application/json"]
|
|
1891
|
+
)
|
|
1888
1892
|
|
|
1889
1893
|
# set the HTTP header `Content-Type`
|
|
1890
1894
|
if _content_type:
|
|
@@ -2127,9 +2131,10 @@ class UserApi:
|
|
|
2127
2131
|
# process the body parameter
|
|
2128
2132
|
|
|
2129
2133
|
# set the HTTP header `Accept`
|
|
2130
|
-
|
|
2131
|
-
["
|
|
2132
|
-
|
|
2134
|
+
if "Accept" not in _header_params:
|
|
2135
|
+
_header_params["Accept"] = self.api_client.select_header_accept(
|
|
2136
|
+
["application/json"]
|
|
2137
|
+
)
|
|
2133
2138
|
|
|
2134
2139
|
# authentication setting
|
|
2135
2140
|
_auth_settings: List[str] = ["cookieAuth"]
|
|
@@ -2377,9 +2382,10 @@ class UserApi:
|
|
|
2377
2382
|
_body_params = user_change_password_request
|
|
2378
2383
|
|
|
2379
2384
|
# set the HTTP header `Accept`
|
|
2380
|
-
|
|
2381
|
-
["
|
|
2382
|
-
|
|
2385
|
+
if "Accept" not in _header_params:
|
|
2386
|
+
_header_params["Accept"] = self.api_client.select_header_accept(
|
|
2387
|
+
["application/json"]
|
|
2388
|
+
)
|
|
2383
2389
|
|
|
2384
2390
|
# set the HTTP header `Content-Type`
|
|
2385
2391
|
if _content_type:
|
|
@@ -277,9 +277,10 @@ class WorkerApi:
|
|
|
277
277
|
# process the body parameter
|
|
278
278
|
|
|
279
279
|
# set the HTTP header `Accept`
|
|
280
|
-
|
|
281
|
-
["
|
|
282
|
-
|
|
280
|
+
if "Accept" not in _header_params:
|
|
281
|
+
_header_params["Accept"] = self.api_client.select_header_accept(
|
|
282
|
+
["application/json"]
|
|
283
|
+
)
|
|
283
284
|
|
|
284
285
|
# authentication setting
|
|
285
286
|
_auth_settings: List[str] = ["cookieAuth", "bearerAuth"]
|
|
@@ -539,9 +540,10 @@ class WorkerApi:
|
|
|
539
540
|
# process the body parameter
|
|
540
541
|
|
|
541
542
|
# set the HTTP header `Accept`
|
|
542
|
-
|
|
543
|
-
["
|
|
544
|
-
|
|
543
|
+
if "Accept" not in _header_params:
|
|
544
|
+
_header_params["Accept"] = self.api_client.select_header_accept(
|
|
545
|
+
["application/json"]
|
|
546
|
+
)
|
|
545
547
|
|
|
546
548
|
# authentication setting
|
|
547
549
|
_auth_settings: List[str] = ["cookieAuth", "bearerAuth"]
|
|
@@ -822,9 +824,10 @@ class WorkerApi:
|
|
|
822
824
|
_body_params = update_worker_request
|
|
823
825
|
|
|
824
826
|
# set the HTTP header `Accept`
|
|
825
|
-
|
|
826
|
-
["
|
|
827
|
-
|
|
827
|
+
if "Accept" not in _header_params:
|
|
828
|
+
_header_params["Accept"] = self.api_client.select_header_accept(
|
|
829
|
+
["application/json"]
|
|
830
|
+
)
|
|
828
831
|
|
|
829
832
|
# set the HTTP header `Content-Type`
|
|
830
833
|
if _content_type:
|