hatchet-sdk 0.44.2__tar.gz → 0.45.0__tar.gz
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-0.44.2 → hatchet_sdk-0.45.0}/PKG-INFO +1 -1
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/dispatcher/dispatcher.py +7 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/__init__.py +3 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/api/default_api.py +230 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/__init__.py +3 -0
- hatchet_sdk-0.45.0/hatchet_sdk/clients/rest/models/info_get_version200_response.py +83 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/loader.py +13 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/pyproject.toml +1 -1
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/README.md +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/__init__.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/client.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/admin.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/dispatcher/action_listener.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/event_ts.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/events.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/api/__init__.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/api/api_token_api.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/api/event_api.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/api/github_api.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/api/healthcheck_api.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/api/log_api.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/api/metadata_api.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/api/rate_limits_api.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/api/slack_api.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/api/sns_api.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/api/step_run_api.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/api/tenant_api.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/api/user_api.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/api/worker_api.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/api/workflow_api.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/api/workflow_run_api.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/api/workflow_runs_api.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/api_client.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/api_response.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/configuration.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/exceptions.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/accept_invite_request.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/api_error.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/api_errors.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/api_meta.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/api_meta_auth.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/api_meta_integration.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/api_meta_posthog.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/api_resource_meta.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/api_token.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/bulk_create_event_request.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/bulk_create_event_response.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/cancel_event_request.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/cancel_step_run_request.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/concurrency_limit_strategy.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/create_api_token_request.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/create_api_token_response.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/create_cron_workflow_trigger_request.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/create_event_request.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/create_pull_request_from_step_run.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/create_sns_integration_request.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/create_tenant_alert_email_group_request.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/create_tenant_invite_request.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/create_tenant_request.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/cron_workflows.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/cron_workflows_list.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/cron_workflows_method.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/cron_workflows_order_by_field.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/event.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/event_data.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/event_key_list.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/event_list.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/event_order_by_direction.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/event_order_by_field.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/event_update_cancel200_response.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/event_workflow_run_summary.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/events.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/get_step_run_diff_response.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/github_app_installation.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/github_branch.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/github_repo.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/job.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/job_run.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/job_run_status.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/link_github_repository_request.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/list_api_tokens_response.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/list_github_app_installations_response.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/list_pull_requests_response.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/list_slack_webhooks.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/list_sns_integrations.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/log_line.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/log_line_level.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/log_line_list.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/log_line_order_by_direction.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/log_line_order_by_field.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/pagination_response.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/pull_request.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/pull_request_state.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/queue_metrics.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/rate_limit.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/rate_limit_list.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/rate_limit_order_by_direction.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/rate_limit_order_by_field.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/recent_step_runs.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/reject_invite_request.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/replay_event_request.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/replay_workflow_runs_request.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/replay_workflow_runs_response.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/rerun_step_run_request.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/schedule_workflow_run_request.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/scheduled_run_status.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/scheduled_workflows.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/scheduled_workflows_list.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/scheduled_workflows_method.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/scheduled_workflows_order_by_field.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/semaphore_slots.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/slack_webhook.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/sns_integration.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/step.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/step_run.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/step_run_archive.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/step_run_archive_list.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/step_run_diff.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/step_run_event.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/step_run_event_list.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/step_run_event_reason.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/step_run_event_severity.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/step_run_status.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/tenant.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/tenant_alert_email_group.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/tenant_alert_email_group_list.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/tenant_alerting_settings.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/tenant_invite.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/tenant_invite_list.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/tenant_list.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/tenant_member.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/tenant_member_list.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/tenant_member_role.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/tenant_queue_metrics.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/tenant_resource.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/tenant_resource_limit.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/tenant_resource_policy.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/tenant_step_run_queue_metrics.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/trigger_workflow_run_request.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/update_tenant_alert_email_group_request.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/update_tenant_invite_request.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/update_tenant_request.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/update_worker_request.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/user.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/user_change_password_request.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/user_login_request.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/user_register_request.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/user_tenant_memberships_list.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/user_tenant_public.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/webhook_worker.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/webhook_worker_create_request.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/webhook_worker_create_response.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/webhook_worker_created.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/webhook_worker_list_response.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/webhook_worker_request.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/webhook_worker_request_list_response.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/webhook_worker_request_method.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/worker.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/worker_label.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/worker_list.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/worker_runtime_info.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/worker_runtime_sdks.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/worker_type.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/workflow.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/workflow_concurrency.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/workflow_deployment_config.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/workflow_kind.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/workflow_list.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/workflow_metrics.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/workflow_run.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/workflow_run_cancel200_response.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/workflow_run_list.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/workflow_run_order_by_direction.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/workflow_run_order_by_field.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/workflow_run_shape.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/workflow_run_status.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/workflow_run_triggered_by.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/workflow_runs_cancel_request.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/workflow_runs_metrics.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/workflow_runs_metrics_counts.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/workflow_tag.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/workflow_trigger_cron_ref.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/workflow_trigger_event_ref.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/workflow_triggers.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/workflow_update_request.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/workflow_version.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/workflow_version_concurrency.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/workflow_version_definition.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/workflow_version_meta.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/workflow_workers_count.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/rest.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/tenacity_utils.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest_client.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/run_event_listener.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/workflow_listener.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/connection.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/context/__init__.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/context/context.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/context/worker_context.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/contracts/dispatcher_pb2.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/contracts/dispatcher_pb2.pyi +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/contracts/dispatcher_pb2_grpc.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/contracts/events_pb2.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/contracts/events_pb2.pyi +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/contracts/events_pb2_grpc.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/contracts/workflows_pb2.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/contracts/workflows_pb2.pyi +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/contracts/workflows_pb2_grpc.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/features/cron.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/features/scheduled.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/hatchet.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/labels.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/logger.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/metadata.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/py.typed +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/rate_limit.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/semver.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/token.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/utils/aio_utils.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/utils/backoff.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/utils/serialization.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/utils/tracing.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/utils/types.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/utils/typing.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/v2/callable.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/v2/concurrency.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/v2/hatchet.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/worker/__init__.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/worker/action_listener_process.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/worker/runner/run_loop_manager.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/worker/runner/runner.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/worker/runner/utils/capture_logs.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/worker/runner/utils/error_with_traceback.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/worker/worker.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/workflow.py +0 -0
- {hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/workflow_run.py +0 -0
|
@@ -52,6 +52,13 @@ class DispatcherClient:
|
|
|
52
52
|
async def get_action_listener(
|
|
53
53
|
self, req: GetActionListenerRequest
|
|
54
54
|
) -> ActionListener:
|
|
55
|
+
|
|
56
|
+
# Override labels with the preset labels
|
|
57
|
+
preset_labels = self.config.worker_preset_labels
|
|
58
|
+
|
|
59
|
+
for key, value in preset_labels.items():
|
|
60
|
+
req.labels[key] = WorkerLabels(strValue=str(value))
|
|
61
|
+
|
|
55
62
|
# Register the worker
|
|
56
63
|
response: WorkerRegisterResponse = await self.aio_client.Register(
|
|
57
64
|
WorkerRegisterRequest(
|
|
@@ -111,6 +111,9 @@ from hatchet_sdk.clients.rest.models.events import Events
|
|
|
111
111
|
from hatchet_sdk.clients.rest.models.get_step_run_diff_response import (
|
|
112
112
|
GetStepRunDiffResponse,
|
|
113
113
|
)
|
|
114
|
+
from hatchet_sdk.clients.rest.models.info_get_version200_response import (
|
|
115
|
+
InfoGetVersion200Response,
|
|
116
|
+
)
|
|
114
117
|
from hatchet_sdk.clients.rest.models.job import Job
|
|
115
118
|
from hatchet_sdk.clients.rest.models.job_run import JobRun
|
|
116
119
|
from hatchet_sdk.clients.rest.models.job_run_status import JobRunStatus
|
|
@@ -19,6 +19,9 @@ from typing_extensions import Annotated
|
|
|
19
19
|
|
|
20
20
|
from hatchet_sdk.clients.rest.api_client import ApiClient, RequestSerialized
|
|
21
21
|
from hatchet_sdk.clients.rest.api_response import ApiResponse
|
|
22
|
+
from hatchet_sdk.clients.rest.models.info_get_version200_response import (
|
|
23
|
+
InfoGetVersion200Response,
|
|
24
|
+
)
|
|
22
25
|
from hatchet_sdk.clients.rest.models.tenant_invite import TenantInvite
|
|
23
26
|
from hatchet_sdk.clients.rest.models.update_tenant_invite_request import (
|
|
24
27
|
UpdateTenantInviteRequest,
|
|
@@ -48,6 +51,233 @@ class DefaultApi:
|
|
|
48
51
|
api_client = ApiClient.get_default()
|
|
49
52
|
self.api_client = api_client
|
|
50
53
|
|
|
54
|
+
@validate_call
|
|
55
|
+
async def info_get_version(
|
|
56
|
+
self,
|
|
57
|
+
_request_timeout: Union[
|
|
58
|
+
None,
|
|
59
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
60
|
+
Tuple[
|
|
61
|
+
Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
|
|
62
|
+
],
|
|
63
|
+
] = None,
|
|
64
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
65
|
+
_content_type: Optional[StrictStr] = None,
|
|
66
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
67
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
68
|
+
) -> InfoGetVersion200Response:
|
|
69
|
+
"""We return the version for the currently running server
|
|
70
|
+
|
|
71
|
+
Get the version of the server
|
|
72
|
+
|
|
73
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
74
|
+
number provided, it will be total request
|
|
75
|
+
timeout. It can also be a pair (tuple) of
|
|
76
|
+
(connection, read) timeouts.
|
|
77
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
78
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
79
|
+
request; this effectively ignores the
|
|
80
|
+
authentication in the spec for a single request.
|
|
81
|
+
:type _request_auth: dict, optional
|
|
82
|
+
:param _content_type: force content-type for the request.
|
|
83
|
+
:type _content_type: str, Optional
|
|
84
|
+
:param _headers: set to override the headers for a single
|
|
85
|
+
request; this effectively ignores the headers
|
|
86
|
+
in the spec for a single request.
|
|
87
|
+
:type _headers: dict, optional
|
|
88
|
+
:param _host_index: set to override the host_index for a single
|
|
89
|
+
request; this effectively ignores the host_index
|
|
90
|
+
in the spec for a single request.
|
|
91
|
+
:type _host_index: int, optional
|
|
92
|
+
:return: Returns the result object.
|
|
93
|
+
""" # noqa: E501
|
|
94
|
+
|
|
95
|
+
_param = self._info_get_version_serialize(
|
|
96
|
+
_request_auth=_request_auth,
|
|
97
|
+
_content_type=_content_type,
|
|
98
|
+
_headers=_headers,
|
|
99
|
+
_host_index=_host_index,
|
|
100
|
+
)
|
|
101
|
+
|
|
102
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
103
|
+
"200": "InfoGetVersion200Response",
|
|
104
|
+
}
|
|
105
|
+
response_data = await self.api_client.call_api(
|
|
106
|
+
*_param, _request_timeout=_request_timeout
|
|
107
|
+
)
|
|
108
|
+
await response_data.read()
|
|
109
|
+
return self.api_client.response_deserialize(
|
|
110
|
+
response_data=response_data,
|
|
111
|
+
response_types_map=_response_types_map,
|
|
112
|
+
).data
|
|
113
|
+
|
|
114
|
+
@validate_call
|
|
115
|
+
async def info_get_version_with_http_info(
|
|
116
|
+
self,
|
|
117
|
+
_request_timeout: Union[
|
|
118
|
+
None,
|
|
119
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
120
|
+
Tuple[
|
|
121
|
+
Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
|
|
122
|
+
],
|
|
123
|
+
] = None,
|
|
124
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
125
|
+
_content_type: Optional[StrictStr] = None,
|
|
126
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
127
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
128
|
+
) -> ApiResponse[InfoGetVersion200Response]:
|
|
129
|
+
"""We return the version for the currently running server
|
|
130
|
+
|
|
131
|
+
Get the version of the server
|
|
132
|
+
|
|
133
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
134
|
+
number provided, it will be total request
|
|
135
|
+
timeout. It can also be a pair (tuple) of
|
|
136
|
+
(connection, read) timeouts.
|
|
137
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
138
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
139
|
+
request; this effectively ignores the
|
|
140
|
+
authentication in the spec for a single request.
|
|
141
|
+
:type _request_auth: dict, optional
|
|
142
|
+
:param _content_type: force content-type for the request.
|
|
143
|
+
:type _content_type: str, Optional
|
|
144
|
+
:param _headers: set to override the headers for a single
|
|
145
|
+
request; this effectively ignores the headers
|
|
146
|
+
in the spec for a single request.
|
|
147
|
+
:type _headers: dict, optional
|
|
148
|
+
:param _host_index: set to override the host_index for a single
|
|
149
|
+
request; this effectively ignores the host_index
|
|
150
|
+
in the spec for a single request.
|
|
151
|
+
:type _host_index: int, optional
|
|
152
|
+
:return: Returns the result object.
|
|
153
|
+
""" # noqa: E501
|
|
154
|
+
|
|
155
|
+
_param = self._info_get_version_serialize(
|
|
156
|
+
_request_auth=_request_auth,
|
|
157
|
+
_content_type=_content_type,
|
|
158
|
+
_headers=_headers,
|
|
159
|
+
_host_index=_host_index,
|
|
160
|
+
)
|
|
161
|
+
|
|
162
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
163
|
+
"200": "InfoGetVersion200Response",
|
|
164
|
+
}
|
|
165
|
+
response_data = await self.api_client.call_api(
|
|
166
|
+
*_param, _request_timeout=_request_timeout
|
|
167
|
+
)
|
|
168
|
+
await response_data.read()
|
|
169
|
+
return self.api_client.response_deserialize(
|
|
170
|
+
response_data=response_data,
|
|
171
|
+
response_types_map=_response_types_map,
|
|
172
|
+
)
|
|
173
|
+
|
|
174
|
+
@validate_call
|
|
175
|
+
async def info_get_version_without_preload_content(
|
|
176
|
+
self,
|
|
177
|
+
_request_timeout: Union[
|
|
178
|
+
None,
|
|
179
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
180
|
+
Tuple[
|
|
181
|
+
Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
|
|
182
|
+
],
|
|
183
|
+
] = None,
|
|
184
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
185
|
+
_content_type: Optional[StrictStr] = None,
|
|
186
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
187
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
188
|
+
) -> RESTResponseType:
|
|
189
|
+
"""We return the version for the currently running server
|
|
190
|
+
|
|
191
|
+
Get the version of the server
|
|
192
|
+
|
|
193
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
194
|
+
number provided, it will be total request
|
|
195
|
+
timeout. It can also be a pair (tuple) of
|
|
196
|
+
(connection, read) timeouts.
|
|
197
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
198
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
199
|
+
request; this effectively ignores the
|
|
200
|
+
authentication in the spec for a single request.
|
|
201
|
+
:type _request_auth: dict, optional
|
|
202
|
+
:param _content_type: force content-type for the request.
|
|
203
|
+
:type _content_type: str, Optional
|
|
204
|
+
:param _headers: set to override the headers for a single
|
|
205
|
+
request; this effectively ignores the headers
|
|
206
|
+
in the spec for a single request.
|
|
207
|
+
:type _headers: dict, optional
|
|
208
|
+
:param _host_index: set to override the host_index for a single
|
|
209
|
+
request; this effectively ignores the host_index
|
|
210
|
+
in the spec for a single request.
|
|
211
|
+
:type _host_index: int, optional
|
|
212
|
+
:return: Returns the result object.
|
|
213
|
+
""" # noqa: E501
|
|
214
|
+
|
|
215
|
+
_param = self._info_get_version_serialize(
|
|
216
|
+
_request_auth=_request_auth,
|
|
217
|
+
_content_type=_content_type,
|
|
218
|
+
_headers=_headers,
|
|
219
|
+
_host_index=_host_index,
|
|
220
|
+
)
|
|
221
|
+
|
|
222
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
223
|
+
"200": "InfoGetVersion200Response",
|
|
224
|
+
}
|
|
225
|
+
response_data = await self.api_client.call_api(
|
|
226
|
+
*_param, _request_timeout=_request_timeout
|
|
227
|
+
)
|
|
228
|
+
return response_data.response
|
|
229
|
+
|
|
230
|
+
def _info_get_version_serialize(
|
|
231
|
+
self,
|
|
232
|
+
_request_auth,
|
|
233
|
+
_content_type,
|
|
234
|
+
_headers,
|
|
235
|
+
_host_index,
|
|
236
|
+
) -> RequestSerialized:
|
|
237
|
+
|
|
238
|
+
_host = None
|
|
239
|
+
|
|
240
|
+
_collection_formats: Dict[str, str] = {}
|
|
241
|
+
|
|
242
|
+
_path_params: Dict[str, str] = {}
|
|
243
|
+
_query_params: List[Tuple[str, str]] = []
|
|
244
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
245
|
+
_form_params: List[Tuple[str, str]] = []
|
|
246
|
+
_files: Dict[
|
|
247
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
248
|
+
] = {}
|
|
249
|
+
_body_params: Optional[bytes] = None
|
|
250
|
+
|
|
251
|
+
# process the path parameters
|
|
252
|
+
# process the query parameters
|
|
253
|
+
# process the header parameters
|
|
254
|
+
# process the form parameters
|
|
255
|
+
# process the body parameter
|
|
256
|
+
|
|
257
|
+
# set the HTTP header `Accept`
|
|
258
|
+
if "Accept" not in _header_params:
|
|
259
|
+
_header_params["Accept"] = self.api_client.select_header_accept(
|
|
260
|
+
["application/json"]
|
|
261
|
+
)
|
|
262
|
+
|
|
263
|
+
# authentication setting
|
|
264
|
+
_auth_settings: List[str] = []
|
|
265
|
+
|
|
266
|
+
return self.api_client.param_serialize(
|
|
267
|
+
method="GET",
|
|
268
|
+
resource_path="/api/v1/version",
|
|
269
|
+
path_params=_path_params,
|
|
270
|
+
query_params=_query_params,
|
|
271
|
+
header_params=_header_params,
|
|
272
|
+
body=_body_params,
|
|
273
|
+
post_params=_form_params,
|
|
274
|
+
files=_files,
|
|
275
|
+
auth_settings=_auth_settings,
|
|
276
|
+
collection_formats=_collection_formats,
|
|
277
|
+
_host=_host,
|
|
278
|
+
_request_auth=_request_auth,
|
|
279
|
+
)
|
|
280
|
+
|
|
51
281
|
@validate_call
|
|
52
282
|
async def monitoring_post_run_probe(
|
|
53
283
|
self,
|
|
@@ -78,6 +78,9 @@ from hatchet_sdk.clients.rest.models.events import Events
|
|
|
78
78
|
from hatchet_sdk.clients.rest.models.get_step_run_diff_response import (
|
|
79
79
|
GetStepRunDiffResponse,
|
|
80
80
|
)
|
|
81
|
+
from hatchet_sdk.clients.rest.models.info_get_version200_response import (
|
|
82
|
+
InfoGetVersion200Response,
|
|
83
|
+
)
|
|
81
84
|
from hatchet_sdk.clients.rest.models.job import Job
|
|
82
85
|
from hatchet_sdk.clients.rest.models.job_run import JobRun
|
|
83
86
|
from hatchet_sdk.clients.rest.models.job_run_status import JobRunStatus
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Hatchet API
|
|
5
|
+
|
|
6
|
+
The Hatchet API
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 1.0.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
from __future__ import annotations
|
|
16
|
+
|
|
17
|
+
import json
|
|
18
|
+
import pprint
|
|
19
|
+
import re # noqa: F401
|
|
20
|
+
from typing import Any, ClassVar, Dict, List, Optional, Set
|
|
21
|
+
|
|
22
|
+
from pydantic import BaseModel, ConfigDict, StrictStr
|
|
23
|
+
from typing_extensions import Self
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
class InfoGetVersion200Response(BaseModel):
|
|
27
|
+
"""
|
|
28
|
+
InfoGetVersion200Response
|
|
29
|
+
""" # noqa: E501
|
|
30
|
+
|
|
31
|
+
version: StrictStr
|
|
32
|
+
__properties: ClassVar[List[str]] = ["version"]
|
|
33
|
+
|
|
34
|
+
model_config = ConfigDict(
|
|
35
|
+
populate_by_name=True,
|
|
36
|
+
validate_assignment=True,
|
|
37
|
+
protected_namespaces=(),
|
|
38
|
+
)
|
|
39
|
+
|
|
40
|
+
def to_str(self) -> str:
|
|
41
|
+
"""Returns the string representation of the model using alias"""
|
|
42
|
+
return pprint.pformat(self.model_dump(by_alias=True))
|
|
43
|
+
|
|
44
|
+
def to_json(self) -> str:
|
|
45
|
+
"""Returns the JSON representation of the model using alias"""
|
|
46
|
+
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
|
47
|
+
return json.dumps(self.to_dict())
|
|
48
|
+
|
|
49
|
+
@classmethod
|
|
50
|
+
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
51
|
+
"""Create an instance of InfoGetVersion200Response from a JSON string"""
|
|
52
|
+
return cls.from_dict(json.loads(json_str))
|
|
53
|
+
|
|
54
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
55
|
+
"""Return the dictionary representation of the model using alias.
|
|
56
|
+
|
|
57
|
+
This has the following differences from calling pydantic's
|
|
58
|
+
`self.model_dump(by_alias=True)`:
|
|
59
|
+
|
|
60
|
+
* `None` is only added to the output dict for nullable fields that
|
|
61
|
+
were set at model initialization. Other fields with value `None`
|
|
62
|
+
are ignored.
|
|
63
|
+
"""
|
|
64
|
+
excluded_fields: Set[str] = set([])
|
|
65
|
+
|
|
66
|
+
_dict = self.model_dump(
|
|
67
|
+
by_alias=True,
|
|
68
|
+
exclude=excluded_fields,
|
|
69
|
+
exclude_none=True,
|
|
70
|
+
)
|
|
71
|
+
return _dict
|
|
72
|
+
|
|
73
|
+
@classmethod
|
|
74
|
+
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
75
|
+
"""Create an instance of InfoGetVersion200Response from a dict"""
|
|
76
|
+
if obj is None:
|
|
77
|
+
return None
|
|
78
|
+
|
|
79
|
+
if not isinstance(obj, dict):
|
|
80
|
+
return cls.model_validate(obj)
|
|
81
|
+
|
|
82
|
+
_obj = cls.model_validate({"version": obj.get("version")})
|
|
83
|
+
return _obj
|
|
@@ -45,6 +45,7 @@ class ClientConfig:
|
|
|
45
45
|
otel_exporter_oltp_protocol: str | None = None,
|
|
46
46
|
worker_healthcheck_port: int | None = None,
|
|
47
47
|
worker_healthcheck_enabled: bool | None = None,
|
|
48
|
+
worker_preset_labels: dict[str, str] = {},
|
|
48
49
|
):
|
|
49
50
|
self.tenant_id = tenant_id
|
|
50
51
|
self.tls_config = tls_config
|
|
@@ -61,6 +62,7 @@ class ClientConfig:
|
|
|
61
62
|
self.otel_exporter_oltp_protocol = otel_exporter_oltp_protocol
|
|
62
63
|
self.worker_healthcheck_port = worker_healthcheck_port
|
|
63
64
|
self.worker_healthcheck_enabled = worker_healthcheck_enabled
|
|
65
|
+
self.worker_preset_labels = worker_preset_labels
|
|
64
66
|
|
|
65
67
|
if not self.logInterceptor:
|
|
66
68
|
self.logInterceptor = getLogger()
|
|
@@ -184,6 +186,16 @@ class ConfigLoader:
|
|
|
184
186
|
== "True"
|
|
185
187
|
)
|
|
186
188
|
|
|
189
|
+
# Add preset labels to the worker config
|
|
190
|
+
worker_preset_labels: dict[str, str] = defaults.worker_preset_labels
|
|
191
|
+
|
|
192
|
+
autoscaling_target = get_config_value(
|
|
193
|
+
"autoscaling_target", "HATCHET_CLIENT_AUTOSCALING_TARGET"
|
|
194
|
+
)
|
|
195
|
+
|
|
196
|
+
if autoscaling_target:
|
|
197
|
+
worker_preset_labels["hatchet-autoscaling-target"] = autoscaling_target
|
|
198
|
+
|
|
187
199
|
return ClientConfig(
|
|
188
200
|
tenant_id=tenant_id,
|
|
189
201
|
tls_config=tls_config,
|
|
@@ -201,6 +213,7 @@ class ConfigLoader:
|
|
|
201
213
|
otel_exporter_oltp_protocol=otel_exporter_oltp_protocol,
|
|
202
214
|
worker_healthcheck_port=worker_healthcheck_port,
|
|
203
215
|
worker_healthcheck_enabled=worker_healthcheck_enabled,
|
|
216
|
+
worker_preset_labels=worker_preset_labels,
|
|
204
217
|
)
|
|
205
218
|
|
|
206
219
|
def _load_tls_config(self, tls_data: Dict, host_port) -> ClientTLSConfig:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/accept_invite_request.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/api_meta_integration.py
RENAMED
|
File without changes
|
{hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/api_meta_posthog.py
RENAMED
|
File without changes
|
{hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/api_resource_meta.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/cancel_event_request.py
RENAMED
|
File without changes
|
{hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/cancel_step_run_request.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/create_event_request.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/create_tenant_request.py
RENAMED
|
File without changes
|
|
File without changes
|
{hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/cron_workflows_list.py
RENAMED
|
File without changes
|
{hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/cron_workflows_method.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/event_order_by_field.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/github_app_installation.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/list_slack_webhooks.py
RENAMED
|
File without changes
|
{hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/list_sns_integrations.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/log_line_order_by_field.py
RENAMED
|
File without changes
|
{hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/pagination_response.py
RENAMED
|
File without changes
|
|
File without changes
|
{hatchet_sdk-0.44.2 → hatchet_sdk-0.45.0}/hatchet_sdk/clients/rest/models/pull_request_state.py
RENAMED
|
File without changes
|