hatchet-sdk 1.3.1__tar.gz → 1.4.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-1.3.1 → hatchet_sdk-1.4.0}/PKG-INFO +3 -1
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/dispatcher/action_listener.py +1 -1
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/context/context.py +9 -19
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/hatchet.py +5 -1
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/runnables/task.py +9 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/utils/typing.py +2 -4
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/worker/runner/run_loop_manager.py +4 -5
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/worker/runner/runner.py +5 -5
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/worker/worker.py +74 -18
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/pyproject.toml +5 -1
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/README.md +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/__init__.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/client.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/admin.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/dispatcher/dispatcher.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/event_ts.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/events.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/listeners/durable_event_listener.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/listeners/pooled_listener.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/listeners/run_event_listener.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/listeners/workflow_listener.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/__init__.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/api/__init__.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/api/api_token_api.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/api/default_api.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/api/event_api.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/api/github_api.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/api/healthcheck_api.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/api/log_api.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/api/metadata_api.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/api/rate_limits_api.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/api/slack_api.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/api/sns_api.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/api/step_run_api.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/api/task_api.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/api/tenant_api.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/api/user_api.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/api/worker_api.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/api/workflow_api.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/api/workflow_run_api.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/api/workflow_runs_api.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/api_client.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/api_response.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/configuration.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/exceptions.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/__init__.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/accept_invite_request.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/api_error.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/api_errors.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/api_meta.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/api_meta_auth.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/api_meta_integration.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/api_meta_posthog.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/api_resource_meta.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/api_token.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/bulk_create_event_request.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/bulk_create_event_response.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/cancel_event_request.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/cancel_step_run_request.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/concurrency_limit_strategy.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/create_api_token_request.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/create_api_token_response.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/create_cron_workflow_trigger_request.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/create_event_request.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/create_pull_request_from_step_run.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/create_sns_integration_request.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/create_tenant_alert_email_group_request.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/create_tenant_invite_request.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/create_tenant_request.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/cron_workflows.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/cron_workflows_list.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/cron_workflows_method.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/cron_workflows_order_by_field.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/event.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/event_data.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/event_key_list.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/event_list.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/event_order_by_direction.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/event_order_by_field.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/event_update_cancel200_response.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/event_workflow_run_summary.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/events.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/get_step_run_diff_response.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/github_app_installation.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/github_branch.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/github_repo.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/info_get_version200_response.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/job.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/job_run.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/job_run_status.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/link_github_repository_request.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/list_api_tokens_response.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/list_github_app_installations_response.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/list_pull_requests_response.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/list_slack_webhooks.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/list_sns_integrations.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/log_line.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/log_line_level.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/log_line_list.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/log_line_order_by_direction.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/log_line_order_by_field.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/pagination_response.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/pull_request.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/pull_request_state.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/queue_metrics.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/rate_limit.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/rate_limit_list.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/rate_limit_order_by_direction.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/rate_limit_order_by_field.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/recent_step_runs.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/reject_invite_request.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/replay_event_request.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/replay_workflow_runs_request.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/replay_workflow_runs_response.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/rerun_step_run_request.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/schedule_workflow_run_request.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/scheduled_run_status.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/scheduled_workflows.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/scheduled_workflows_list.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/scheduled_workflows_method.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/scheduled_workflows_order_by_field.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/semaphore_slots.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/slack_webhook.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/sns_integration.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/step.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/step_run.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/step_run_archive.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/step_run_archive_list.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/step_run_diff.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/step_run_event.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/step_run_event_list.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/step_run_event_reason.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/step_run_event_severity.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/step_run_status.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/tenant.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/tenant_alert_email_group.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/tenant_alert_email_group_list.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/tenant_alerting_settings.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/tenant_invite.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/tenant_invite_list.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/tenant_list.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/tenant_member.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/tenant_member_list.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/tenant_member_role.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/tenant_queue_metrics.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/tenant_resource.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/tenant_resource_limit.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/tenant_resource_policy.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/tenant_step_run_queue_metrics.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/tenant_version.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/trigger_workflow_run_request.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/update_tenant_alert_email_group_request.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/update_tenant_invite_request.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/update_tenant_request.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/update_worker_request.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/user.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/user_change_password_request.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/user_login_request.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/user_register_request.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/user_tenant_memberships_list.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/user_tenant_public.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/v1_cancel_task_request.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/v1_dag_children.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/v1_log_line.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/v1_log_line_level.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/v1_log_line_list.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/v1_replay_task_request.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/v1_task.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/v1_task_event.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/v1_task_event_list.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/v1_task_event_type.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/v1_task_filter.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/v1_task_point_metric.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/v1_task_point_metrics.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/v1_task_run_metric.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/v1_task_run_status.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/v1_task_status.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/v1_task_summary.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/v1_task_summary_list.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/v1_trigger_workflow_run_request.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/v1_workflow_run.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/v1_workflow_run_details.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/v1_workflow_run_display_name.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/v1_workflow_run_display_name_list.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/v1_workflow_type.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/webhook_worker.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/webhook_worker_create_request.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/webhook_worker_create_response.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/webhook_worker_created.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/webhook_worker_list_response.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/webhook_worker_request.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/webhook_worker_request_list_response.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/webhook_worker_request_method.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/worker.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/worker_label.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/worker_list.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/worker_runtime_info.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/worker_runtime_sdks.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/worker_type.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/workflow.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/workflow_concurrency.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/workflow_deployment_config.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/workflow_kind.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/workflow_list.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/workflow_metrics.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/workflow_run.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/workflow_run_cancel200_response.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/workflow_run_list.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/workflow_run_order_by_direction.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/workflow_run_order_by_field.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/workflow_run_shape.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/workflow_run_shape_item_for_workflow_run_details.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/workflow_run_status.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/workflow_run_triggered_by.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/workflow_runs_cancel_request.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/workflow_runs_metrics.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/workflow_runs_metrics_counts.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/workflow_tag.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/workflow_trigger_cron_ref.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/workflow_trigger_event_ref.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/workflow_triggers.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/workflow_update_request.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/workflow_version.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/workflow_version_concurrency.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/workflow_version_definition.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/workflow_version_meta.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/workflow_workers_count.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/rest.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/tenacity_utils.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/v1/api_client.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/config.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/connection.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/context/__init__.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/context/worker_context.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/contracts/dispatcher_pb2.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/contracts/dispatcher_pb2.pyi +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/contracts/dispatcher_pb2_grpc.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/contracts/events_pb2.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/contracts/events_pb2.pyi +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/contracts/events_pb2_grpc.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/contracts/v1/dispatcher_pb2.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/contracts/v1/dispatcher_pb2.pyi +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/contracts/v1/dispatcher_pb2_grpc.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/contracts/v1/shared/condition_pb2.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/contracts/v1/shared/condition_pb2.pyi +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/contracts/v1/shared/condition_pb2_grpc.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/contracts/v1/workflows_pb2.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/contracts/v1/workflows_pb2.pyi +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/contracts/v1/workflows_pb2_grpc.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/contracts/workflows_pb2.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/contracts/workflows_pb2.pyi +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/contracts/workflows_pb2_grpc.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/exceptions.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/features/cron.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/features/logs.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/features/metrics.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/features/rate_limits.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/features/runs.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/features/scheduled.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/features/workers.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/features/workflows.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/labels.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/logger.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/metadata.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/opentelemetry/instrumentor.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/py.typed +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/rate_limit.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/runnables/contextvars.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/runnables/standalone.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/runnables/types.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/runnables/workflow.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/token.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/utils/backoff.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/utils/proto_enums.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/utils/timedelta_to_expression.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/__init__.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/client.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/admin.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/dispatcher/action_listener.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/dispatcher/dispatcher.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/event_ts.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/events.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/__init__.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/api/__init__.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/api/api_token_api.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/api/default_api.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/api/event_api.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/api/github_api.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/api/healthcheck_api.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/api/log_api.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/api/metadata_api.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/api/rate_limits_api.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/api/slack_api.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/api/sns_api.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/api/step_run_api.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/api/tenant_api.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/api/user_api.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/api/worker_api.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/api/workflow_api.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/api/workflow_run_api.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/api/workflow_runs_api.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/api_client.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/api_response.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/configuration.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/exceptions.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/__init__.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/accept_invite_request.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/api_error.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/api_errors.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/api_meta.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/api_meta_auth.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/api_meta_integration.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/api_meta_posthog.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/api_resource_meta.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/api_token.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/bulk_create_event_request.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/bulk_create_event_response.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/cancel_event_request.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/cancel_step_run_request.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/concurrency_limit_strategy.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/create_api_token_request.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/create_api_token_response.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/create_cron_workflow_trigger_request.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/create_event_request.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/create_pull_request_from_step_run.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/create_sns_integration_request.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/create_tenant_alert_email_group_request.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/create_tenant_invite_request.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/create_tenant_request.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/cron_workflows.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/cron_workflows_list.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/cron_workflows_method.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/cron_workflows_order_by_field.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/event.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/event_data.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/event_key_list.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/event_list.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/event_order_by_direction.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/event_order_by_field.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/event_update_cancel200_response.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/event_workflow_run_summary.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/events.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/get_step_run_diff_response.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/github_app_installation.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/github_branch.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/github_repo.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/info_get_version200_response.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/job.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/job_run.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/job_run_status.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/link_github_repository_request.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/list_api_tokens_response.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/list_github_app_installations_response.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/list_pull_requests_response.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/list_slack_webhooks.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/list_sns_integrations.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/log_line.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/log_line_level.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/log_line_list.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/log_line_order_by_direction.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/log_line_order_by_field.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/pagination_response.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/pull_request.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/pull_request_state.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/queue_metrics.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/rate_limit.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/rate_limit_list.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/rate_limit_order_by_direction.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/rate_limit_order_by_field.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/recent_step_runs.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/reject_invite_request.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/replay_event_request.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/replay_workflow_runs_request.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/replay_workflow_runs_response.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/rerun_step_run_request.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/schedule_workflow_run_request.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/scheduled_run_status.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/scheduled_workflows.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/scheduled_workflows_list.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/scheduled_workflows_method.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/scheduled_workflows_order_by_field.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/semaphore_slots.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/slack_webhook.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/sns_integration.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/step.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/step_run.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/step_run_archive.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/step_run_archive_list.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/step_run_diff.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/step_run_event.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/step_run_event_list.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/step_run_event_reason.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/step_run_event_severity.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/step_run_status.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/tenant.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/tenant_alert_email_group.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/tenant_alert_email_group_list.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/tenant_alerting_settings.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/tenant_invite.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/tenant_invite_list.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/tenant_list.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/tenant_member.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/tenant_member_list.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/tenant_member_role.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/tenant_queue_metrics.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/tenant_resource.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/tenant_resource_limit.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/tenant_resource_policy.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/tenant_step_run_queue_metrics.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/trigger_workflow_run_request.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/update_tenant_alert_email_group_request.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/update_tenant_invite_request.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/update_tenant_request.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/update_worker_request.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/user.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/user_change_password_request.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/user_login_request.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/user_register_request.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/user_tenant_memberships_list.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/user_tenant_public.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/webhook_worker.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/webhook_worker_create_request.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/webhook_worker_create_response.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/webhook_worker_created.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/webhook_worker_list_response.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/webhook_worker_request.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/webhook_worker_request_list_response.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/webhook_worker_request_method.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/worker.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/worker_label.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/worker_list.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/worker_runtime_info.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/worker_runtime_sdks.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/worker_type.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/workflow.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/workflow_concurrency.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/workflow_deployment_config.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/workflow_kind.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/workflow_list.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/workflow_metrics.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/workflow_run.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/workflow_run_cancel200_response.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/workflow_run_list.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/workflow_run_order_by_direction.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/workflow_run_order_by_field.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/workflow_run_shape.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/workflow_run_status.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/workflow_run_triggered_by.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/workflow_runs_cancel_request.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/workflow_runs_metrics.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/workflow_runs_metrics_counts.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/workflow_tag.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/workflow_trigger_cron_ref.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/workflow_trigger_event_ref.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/workflow_triggers.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/workflow_update_request.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/workflow_version.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/workflow_version_concurrency.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/workflow_version_definition.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/workflow_version_meta.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/models/workflow_workers_count.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/rest.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest/tenacity_utils.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/rest_client.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/run_event_listener.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/clients/workflow_listener.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/connection.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/context/__init__.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/context/context.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/context/worker_context.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/contracts/dispatcher_pb2.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/contracts/dispatcher_pb2.pyi +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/contracts/dispatcher_pb2_grpc.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/contracts/events_pb2.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/contracts/events_pb2.pyi +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/contracts/events_pb2_grpc.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/contracts/workflows_pb2.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/contracts/workflows_pb2.pyi +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/contracts/workflows_pb2_grpc.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/features/cron.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/features/scheduled.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/hatchet.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/labels.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/loader.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/logger.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/metadata.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/opentelemetry/instrumentor.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/rate_limit.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/semver.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/token.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/utils/aio_utils.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/utils/backoff.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/utils/types.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/utils/typing.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/v2/callable.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/v2/concurrency.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/v2/hatchet.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/worker/__init__.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/worker/action_listener_process.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/worker/runner/run_loop_manager.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/worker/runner/runner.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/worker/runner/utils/capture_logs.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/worker/runner/utils/error_with_traceback.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/worker/worker.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/workflow.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/v0/workflow_run.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/waits.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/worker/__init__.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/worker/action_listener_process.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/worker/runner/utils/capture_logs.py +0 -0
- {hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/workflow_run.py +0 -0
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: hatchet-sdk
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.4.0
|
|
4
4
|
Summary:
|
|
5
|
+
License: MIT
|
|
5
6
|
Author: Alexander Belanger
|
|
6
7
|
Author-email: alexander@hatchet.run
|
|
7
8
|
Requires-Python: >=3.10,<4.0
|
|
9
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
8
10
|
Classifier: Programming Language :: Python :: 3
|
|
9
11
|
Classifier: Programming Language :: Python :: 3.10
|
|
10
12
|
Classifier: Programming Language :: Python :: 3.11
|
|
@@ -42,7 +42,7 @@ class GetActionListenerRequest(BaseModel):
|
|
|
42
42
|
worker_name: str
|
|
43
43
|
services: list[str]
|
|
44
44
|
actions: list[str]
|
|
45
|
-
slots: int
|
|
45
|
+
slots: int
|
|
46
46
|
raw_labels: dict[str, str | int] = Field(default_factory=dict)
|
|
47
47
|
|
|
48
48
|
labels: dict[str, WorkerLabels] = Field(default_factory=dict)
|
|
@@ -19,7 +19,7 @@ from hatchet_sdk.context.worker_context import WorkerContext
|
|
|
19
19
|
from hatchet_sdk.features.runs import RunsClient
|
|
20
20
|
from hatchet_sdk.logger import logger
|
|
21
21
|
from hatchet_sdk.utils.timedelta_to_expression import Duration, timedelta_to_expr
|
|
22
|
-
from hatchet_sdk.utils.typing import JSONSerializableMapping
|
|
22
|
+
from hatchet_sdk.utils.typing import JSONSerializableMapping
|
|
23
23
|
from hatchet_sdk.waits import SleepCondition, UserEventCondition
|
|
24
24
|
|
|
25
25
|
if TYPE_CHECKING:
|
|
@@ -37,10 +37,9 @@ class Context:
|
|
|
37
37
|
durable_event_listener: DurableEventListener | None,
|
|
38
38
|
worker: WorkerContext,
|
|
39
39
|
runs_client: RunsClient,
|
|
40
|
-
|
|
40
|
+
lifespan_context: Any | None,
|
|
41
41
|
):
|
|
42
42
|
self.worker = worker
|
|
43
|
-
self.validator_registry = validator_registry
|
|
44
43
|
|
|
45
44
|
self.data = action.action_payload
|
|
46
45
|
|
|
@@ -61,6 +60,8 @@ class Context:
|
|
|
61
60
|
|
|
62
61
|
self.input = self.data.input
|
|
63
62
|
|
|
63
|
+
self._lifespan_context = lifespan_context
|
|
64
|
+
|
|
64
65
|
def was_skipped(self, task: "Task[TWorkflowInput, R]") -> bool:
|
|
65
66
|
return self.data.parents.get(task.name, {}).get("skipped", False)
|
|
66
67
|
|
|
@@ -74,27 +75,12 @@ class Context:
|
|
|
74
75
|
if self.was_skipped(task):
|
|
75
76
|
raise ValueError("{task.name} was skipped")
|
|
76
77
|
|
|
77
|
-
action_prefix = self.action.action_id.split(":")[0]
|
|
78
|
-
|
|
79
|
-
workflow_validator = next(
|
|
80
|
-
(
|
|
81
|
-
v
|
|
82
|
-
for k, v in self.validator_registry.items()
|
|
83
|
-
if k == f"{action_prefix}:{task.name}"
|
|
84
|
-
),
|
|
85
|
-
None,
|
|
86
|
-
)
|
|
87
|
-
|
|
88
78
|
try:
|
|
89
79
|
parent_step_data = cast(R, self.data.parents[task.name])
|
|
90
80
|
except KeyError:
|
|
91
81
|
raise ValueError(f"Step output for '{task.name}' not found")
|
|
92
82
|
|
|
93
|
-
if (
|
|
94
|
-
parent_step_data
|
|
95
|
-
and workflow_validator
|
|
96
|
-
and (v := workflow_validator.step_output)
|
|
97
|
-
):
|
|
83
|
+
if parent_step_data and (v := task.validators.step_output):
|
|
98
84
|
return cast(R, v.model_validate(parent_step_data))
|
|
99
85
|
|
|
100
86
|
return parent_step_data
|
|
@@ -133,6 +119,10 @@ class Context:
|
|
|
133
119
|
def workflow_input(self) -> JSONSerializableMapping:
|
|
134
120
|
return self.input
|
|
135
121
|
|
|
122
|
+
@property
|
|
123
|
+
def lifespan(self) -> Any:
|
|
124
|
+
return self._lifespan_context
|
|
125
|
+
|
|
136
126
|
@property
|
|
137
127
|
def workflow_run_id(self) -> str:
|
|
138
128
|
return self.action.workflow_run_id
|
|
@@ -33,7 +33,7 @@ from hatchet_sdk.runnables.types import (
|
|
|
33
33
|
)
|
|
34
34
|
from hatchet_sdk.runnables.workflow import BaseWorkflow, Workflow
|
|
35
35
|
from hatchet_sdk.utils.timedelta_to_expression import Duration
|
|
36
|
-
from hatchet_sdk.worker.worker import Worker
|
|
36
|
+
from hatchet_sdk.worker.worker import LifespanFn, Worker
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
class Hatchet:
|
|
@@ -134,8 +134,10 @@ class Hatchet:
|
|
|
134
134
|
self,
|
|
135
135
|
name: str,
|
|
136
136
|
slots: int = 100,
|
|
137
|
+
durable_slots: int = 1_000,
|
|
137
138
|
labels: dict[str, str | int] = {},
|
|
138
139
|
workflows: list[BaseWorkflow[Any]] = [],
|
|
140
|
+
lifespan: LifespanFn | None = None,
|
|
139
141
|
) -> Worker:
|
|
140
142
|
"""
|
|
141
143
|
Create a Hatchet worker on which to run workflows.
|
|
@@ -165,11 +167,13 @@ class Hatchet:
|
|
|
165
167
|
return Worker(
|
|
166
168
|
name=name,
|
|
167
169
|
slots=slots,
|
|
170
|
+
durable_slots=durable_slots,
|
|
168
171
|
labels=labels,
|
|
169
172
|
config=self._client.config,
|
|
170
173
|
debug=self._client.debug,
|
|
171
174
|
owned_loop=loop is None,
|
|
172
175
|
workflows=workflows,
|
|
176
|
+
lifespan=lifespan,
|
|
173
177
|
)
|
|
174
178
|
|
|
175
179
|
@overload
|
|
@@ -7,6 +7,7 @@ from typing import (
|
|
|
7
7
|
TypeVar,
|
|
8
8
|
Union,
|
|
9
9
|
cast,
|
|
10
|
+
get_type_hints,
|
|
10
11
|
)
|
|
11
12
|
|
|
12
13
|
from hatchet_sdk.context.context import Context, DurableContext
|
|
@@ -28,6 +29,7 @@ from hatchet_sdk.runnables.types import (
|
|
|
28
29
|
is_sync_fn,
|
|
29
30
|
)
|
|
30
31
|
from hatchet_sdk.utils.timedelta_to_expression import Duration, timedelta_to_expr
|
|
32
|
+
from hatchet_sdk.utils.typing import TaskIOValidator, is_basemodel_subclass
|
|
31
33
|
from hatchet_sdk.waits import (
|
|
32
34
|
Action,
|
|
33
35
|
Condition,
|
|
@@ -106,6 +108,13 @@ class Task(Generic[TWorkflowInput, R]):
|
|
|
106
108
|
self.skip_if = self._flatten_conditions(skip_if)
|
|
107
109
|
self.cancel_if = self._flatten_conditions(cancel_if)
|
|
108
110
|
|
|
111
|
+
return_type = get_type_hints(_fn).get("return")
|
|
112
|
+
|
|
113
|
+
self.validators: TaskIOValidator = TaskIOValidator(
|
|
114
|
+
workflow_input=workflow.config.input_validator,
|
|
115
|
+
step_output=return_type if is_basemodel_subclass(return_type) else None,
|
|
116
|
+
)
|
|
117
|
+
|
|
109
118
|
def _flatten_conditions(
|
|
110
119
|
self, conditions: list[Condition | OrGroup]
|
|
111
120
|
) -> list[Condition]:
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
from typing import Any, Mapping, Type, TypeGuard
|
|
1
|
+
from typing import Any, Mapping, Type, TypeGuard
|
|
2
2
|
|
|
3
3
|
from pydantic import BaseModel
|
|
4
4
|
|
|
5
|
-
T = TypeVar("T", bound=BaseModel)
|
|
6
|
-
|
|
7
5
|
|
|
8
6
|
def is_basemodel_subclass(model: Any) -> TypeGuard[Type[BaseModel]]:
|
|
9
7
|
try:
|
|
@@ -12,7 +10,7 @@ def is_basemodel_subclass(model: Any) -> TypeGuard[Type[BaseModel]]:
|
|
|
12
10
|
return False
|
|
13
11
|
|
|
14
12
|
|
|
15
|
-
class
|
|
13
|
+
class TaskIOValidator(BaseModel):
|
|
16
14
|
workflow_input: Type[BaseModel] | None = None
|
|
17
15
|
step_output: Type[BaseModel] | None = None
|
|
18
16
|
|
|
@@ -8,7 +8,6 @@ from hatchet_sdk.clients.dispatcher.action_listener import Action
|
|
|
8
8
|
from hatchet_sdk.config import ClientConfig
|
|
9
9
|
from hatchet_sdk.logger import logger
|
|
10
10
|
from hatchet_sdk.runnables.task import Task
|
|
11
|
-
from hatchet_sdk.utils.typing import WorkflowValidator
|
|
12
11
|
from hatchet_sdk.worker.action_listener_process import ActionEvent
|
|
13
12
|
from hatchet_sdk.worker.runner.runner import Runner
|
|
14
13
|
from hatchet_sdk.worker.runner.utils.capture_logs import capture_logs
|
|
@@ -24,8 +23,7 @@ class WorkerActionRunLoopManager:
|
|
|
24
23
|
self,
|
|
25
24
|
name: str,
|
|
26
25
|
action_registry: dict[str, Task[Any, Any]],
|
|
27
|
-
|
|
28
|
-
slots: int | None,
|
|
26
|
+
slots: int,
|
|
29
27
|
config: ClientConfig,
|
|
30
28
|
action_queue: "Queue[Action | STOP_LOOP_TYPE]",
|
|
31
29
|
event_queue: "Queue[ActionEvent]",
|
|
@@ -33,10 +31,10 @@ class WorkerActionRunLoopManager:
|
|
|
33
31
|
handle_kill: bool = True,
|
|
34
32
|
debug: bool = False,
|
|
35
33
|
labels: dict[str, str | int] = {},
|
|
34
|
+
lifespan_context: Any | None = None,
|
|
36
35
|
) -> None:
|
|
37
36
|
self.name = name
|
|
38
37
|
self.action_registry = action_registry
|
|
39
|
-
self.validator_registry = validator_registry
|
|
40
38
|
self.slots = slots
|
|
41
39
|
self.config = config
|
|
42
40
|
self.action_queue = action_queue
|
|
@@ -45,6 +43,7 @@ class WorkerActionRunLoopManager:
|
|
|
45
43
|
self.handle_kill = handle_kill
|
|
46
44
|
self.debug = debug
|
|
47
45
|
self.labels = labels
|
|
46
|
+
self.lifespan_context = lifespan_context
|
|
48
47
|
|
|
49
48
|
if self.debug:
|
|
50
49
|
logger.setLevel(logging.DEBUG)
|
|
@@ -88,8 +87,8 @@ class WorkerActionRunLoopManager:
|
|
|
88
87
|
self.slots,
|
|
89
88
|
self.handle_kill,
|
|
90
89
|
self.action_registry,
|
|
91
|
-
self.validator_registry,
|
|
92
90
|
self.labels,
|
|
91
|
+
self.lifespan_context,
|
|
93
92
|
)
|
|
94
93
|
|
|
95
94
|
logger.debug(f"'{self.name}' waiting for {list(self.action_registry.keys())}")
|
|
@@ -43,7 +43,6 @@ from hatchet_sdk.runnables.contextvars import (
|
|
|
43
43
|
)
|
|
44
44
|
from hatchet_sdk.runnables.task import Task
|
|
45
45
|
from hatchet_sdk.runnables.types import R, TWorkflowInput
|
|
46
|
-
from hatchet_sdk.utils.typing import WorkflowValidator
|
|
47
46
|
from hatchet_sdk.worker.action_listener_process import ActionEvent
|
|
48
47
|
from hatchet_sdk.worker.runner.utils.capture_logs import copy_context_vars
|
|
49
48
|
|
|
@@ -60,11 +59,11 @@ class Runner:
|
|
|
60
59
|
self,
|
|
61
60
|
event_queue: "Queue[ActionEvent]",
|
|
62
61
|
config: ClientConfig,
|
|
63
|
-
slots: int
|
|
62
|
+
slots: int,
|
|
64
63
|
handle_kill: bool = True,
|
|
65
64
|
action_registry: dict[str, Task[TWorkflowInput, R]] = {},
|
|
66
|
-
validator_registry: dict[str, WorkflowValidator] = {},
|
|
67
65
|
labels: dict[str, str | int] = {},
|
|
66
|
+
lifespan_context: Any | None = None,
|
|
68
67
|
):
|
|
69
68
|
# We store the config so we can dynamically create clients for the dispatcher client.
|
|
70
69
|
self.config = config
|
|
@@ -73,7 +72,6 @@ class Runner:
|
|
|
73
72
|
self.tasks: dict[str, asyncio.Task[Any]] = {} # Store run ids and futures
|
|
74
73
|
self.contexts: dict[str, Context] = {} # Store run ids and contexts
|
|
75
74
|
self.action_registry = action_registry
|
|
76
|
-
self.validator_registry = validator_registry
|
|
77
75
|
|
|
78
76
|
self.event_queue = event_queue
|
|
79
77
|
|
|
@@ -105,6 +103,8 @@ class Runner:
|
|
|
105
103
|
labels=labels, client=Client(config=config).dispatcher
|
|
106
104
|
)
|
|
107
105
|
|
|
106
|
+
self.lifespan_context = lifespan_context
|
|
107
|
+
|
|
108
108
|
def create_workflow_run_url(self, action: Action) -> str:
|
|
109
109
|
return f"{self.config.server_url}/workflow-runs/{action.workflow_run_id}?tenant={action.tenant_id}"
|
|
110
110
|
|
|
@@ -305,8 +305,8 @@ class Runner:
|
|
|
305
305
|
event_client=self.event_client,
|
|
306
306
|
durable_event_listener=self.durable_event_listener,
|
|
307
307
|
worker=self.worker_context,
|
|
308
|
-
validator_registry=self.validator_registry,
|
|
309
308
|
runs_client=self.runs_client,
|
|
309
|
+
lifespan_context=self.lifespan_context,
|
|
310
310
|
)
|
|
311
311
|
|
|
312
312
|
## IMPORTANT: Keep this method's signature in sync with the wrapper in the OTel instrumentor
|
|
@@ -5,12 +5,13 @@ import os
|
|
|
5
5
|
import re
|
|
6
6
|
import signal
|
|
7
7
|
import sys
|
|
8
|
+
from contextlib import AsyncExitStack, asynccontextmanager
|
|
8
9
|
from dataclasses import dataclass, field
|
|
9
10
|
from enum import Enum
|
|
10
11
|
from multiprocessing import Queue
|
|
11
12
|
from multiprocessing.process import BaseProcess
|
|
12
13
|
from types import FrameType
|
|
13
|
-
from typing import Any,
|
|
14
|
+
from typing import Any, AsyncGenerator, Callable, TypeVar
|
|
14
15
|
from warnings import warn
|
|
15
16
|
|
|
16
17
|
from aiohttp import web
|
|
@@ -26,7 +27,6 @@ from hatchet_sdk.contracts.v1.workflows_pb2 import CreateWorkflowVersionRequest
|
|
|
26
27
|
from hatchet_sdk.logger import logger
|
|
27
28
|
from hatchet_sdk.runnables.task import Task
|
|
28
29
|
from hatchet_sdk.runnables.workflow import BaseWorkflow
|
|
29
|
-
from hatchet_sdk.utils.typing import WorkflowValidator, is_basemodel_subclass
|
|
30
30
|
from hatchet_sdk.worker.action_listener_process import (
|
|
31
31
|
ActionEvent,
|
|
32
32
|
worker_action_listener_process,
|
|
@@ -64,21 +64,41 @@ class HealthCheckResponse(BaseModel):
|
|
|
64
64
|
python_version: str
|
|
65
65
|
|
|
66
66
|
|
|
67
|
+
LifespanGenerator = AsyncGenerator[Any, Any]
|
|
68
|
+
LifespanFn = Callable[[], LifespanGenerator]
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
@asynccontextmanager
|
|
72
|
+
async def _create_async_context_manager(
|
|
73
|
+
gen: LifespanGenerator,
|
|
74
|
+
) -> AsyncGenerator[None, None]:
|
|
75
|
+
try:
|
|
76
|
+
yield
|
|
77
|
+
finally:
|
|
78
|
+
try:
|
|
79
|
+
await anext(gen)
|
|
80
|
+
except StopAsyncIteration:
|
|
81
|
+
pass
|
|
82
|
+
|
|
83
|
+
|
|
67
84
|
class Worker:
|
|
68
85
|
def __init__(
|
|
69
86
|
self,
|
|
70
87
|
name: str,
|
|
71
88
|
config: ClientConfig,
|
|
72
|
-
slots: int
|
|
89
|
+
slots: int,
|
|
90
|
+
durable_slots: int,
|
|
73
91
|
labels: dict[str, str | int] = {},
|
|
74
92
|
debug: bool = False,
|
|
75
93
|
owned_loop: bool = True,
|
|
76
94
|
handle_kill: bool = True,
|
|
77
95
|
workflows: list[BaseWorkflow[Any]] = [],
|
|
96
|
+
lifespan: LifespanFn | None = None,
|
|
78
97
|
) -> None:
|
|
79
98
|
self.config = config
|
|
80
99
|
self.name = self.config.namespace + name
|
|
81
100
|
self.slots = slots
|
|
101
|
+
self.durable_slots = durable_slots
|
|
82
102
|
self.debug = debug
|
|
83
103
|
self.labels = labels
|
|
84
104
|
self.handle_kill = handle_kill
|
|
@@ -87,8 +107,6 @@ class Worker:
|
|
|
87
107
|
self.action_registry: dict[str, Task[Any, Any]] = {}
|
|
88
108
|
self.durable_action_registry: dict[str, Task[Any, Any]] = {}
|
|
89
109
|
|
|
90
|
-
self.validator_registry: dict[str, WorkflowValidator] = {}
|
|
91
|
-
|
|
92
110
|
self.killing: bool = False
|
|
93
111
|
self._status: WorkerStatus
|
|
94
112
|
|
|
@@ -122,6 +140,9 @@ class Worker:
|
|
|
122
140
|
self.has_any_durable = False
|
|
123
141
|
self.has_any_non_durable = False
|
|
124
142
|
|
|
143
|
+
self.lifespan = lifespan
|
|
144
|
+
self.lifespan_stack: AsyncExitStack | None = None
|
|
145
|
+
|
|
125
146
|
self.register_workflows(workflows)
|
|
126
147
|
|
|
127
148
|
def register_workflow_from_opts(self, opts: CreateWorkflowVersionRequest) -> None:
|
|
@@ -133,6 +154,11 @@ class Worker:
|
|
|
133
154
|
sys.exit(1)
|
|
134
155
|
|
|
135
156
|
def register_workflow(self, workflow: BaseWorkflow[Any]) -> None:
|
|
157
|
+
if not workflow.tasks:
|
|
158
|
+
raise ValueError(
|
|
159
|
+
"workflow must have at least one task registered before registering"
|
|
160
|
+
)
|
|
161
|
+
|
|
136
162
|
opts = workflow.to_proto()
|
|
137
163
|
name = workflow.name
|
|
138
164
|
|
|
@@ -153,13 +179,6 @@ class Worker:
|
|
|
153
179
|
self.has_any_non_durable = True
|
|
154
180
|
self.action_registry[action_name] = step
|
|
155
181
|
|
|
156
|
-
return_type = get_type_hints(step.fn).get("return")
|
|
157
|
-
|
|
158
|
-
self.validator_registry[action_name] = WorkflowValidator(
|
|
159
|
-
workflow_input=workflow.config.input_validator,
|
|
160
|
-
step_output=return_type if is_basemodel_subclass(return_type) else None,
|
|
161
|
-
)
|
|
162
|
-
|
|
163
182
|
def register_workflows(self, workflows: list[BaseWorkflow[Any]]) -> None:
|
|
164
183
|
for workflow in workflows:
|
|
165
184
|
self.register_workflow(workflow)
|
|
@@ -223,6 +242,11 @@ class Worker:
|
|
|
223
242
|
logger.info(f"healthcheck server running on port {port}")
|
|
224
243
|
|
|
225
244
|
def start(self, options: WorkerStartOptions = WorkerStartOptions()) -> None:
|
|
245
|
+
if not (self.action_registry or self.durable_action_registry):
|
|
246
|
+
raise ValueError(
|
|
247
|
+
"no actions registered, register workflows before starting worker"
|
|
248
|
+
)
|
|
249
|
+
|
|
226
250
|
if options.loop is not None:
|
|
227
251
|
warn(
|
|
228
252
|
"Passing a custom event loop is deprecated and will be removed in the future. This option no longer has any effect",
|
|
@@ -262,15 +286,23 @@ class Worker:
|
|
|
262
286
|
if self.config.healthcheck.enabled:
|
|
263
287
|
await self._start_health_server()
|
|
264
288
|
|
|
289
|
+
lifespan_context = None
|
|
290
|
+
if self.lifespan:
|
|
291
|
+
lifespan_context = await self._setup_lifespan()
|
|
292
|
+
|
|
265
293
|
if self.has_any_non_durable:
|
|
266
294
|
self.action_listener_process = self._start_action_listener(is_durable=False)
|
|
267
|
-
self.action_runner = self._run_action_runner(
|
|
295
|
+
self.action_runner = self._run_action_runner(
|
|
296
|
+
is_durable=False, lifespan_context=lifespan_context
|
|
297
|
+
)
|
|
268
298
|
|
|
269
299
|
if self.has_any_durable:
|
|
270
300
|
self.durable_action_listener_process = self._start_action_listener(
|
|
271
301
|
is_durable=True
|
|
272
302
|
)
|
|
273
|
-
self.durable_action_runner = self._run_action_runner(
|
|
303
|
+
self.durable_action_runner = self._run_action_runner(
|
|
304
|
+
is_durable=True, lifespan_context=lifespan_context
|
|
305
|
+
)
|
|
274
306
|
|
|
275
307
|
if self.loop:
|
|
276
308
|
self.action_listener_health_check = self.loop.create_task(
|
|
@@ -279,14 +311,15 @@ class Worker:
|
|
|
279
311
|
|
|
280
312
|
await self.action_listener_health_check
|
|
281
313
|
|
|
282
|
-
def _run_action_runner(
|
|
314
|
+
def _run_action_runner(
|
|
315
|
+
self, is_durable: bool, lifespan_context: Any | None
|
|
316
|
+
) -> WorkerActionRunLoopManager:
|
|
283
317
|
# Retrieve the shared queue
|
|
284
318
|
if self.loop:
|
|
285
319
|
return WorkerActionRunLoopManager(
|
|
286
320
|
self.name + ("_durable" if is_durable else ""),
|
|
287
321
|
self.durable_action_registry if is_durable else self.action_registry,
|
|
288
|
-
self.
|
|
289
|
-
1_000 if is_durable else self.slots,
|
|
322
|
+
self.durable_slots if is_durable else self.slots,
|
|
290
323
|
self.config,
|
|
291
324
|
self.durable_action_queue if is_durable else self.action_queue,
|
|
292
325
|
self.durable_event_queue if is_durable else self.event_queue,
|
|
@@ -294,10 +327,31 @@ class Worker:
|
|
|
294
327
|
self.handle_kill,
|
|
295
328
|
self.client.debug,
|
|
296
329
|
self.labels,
|
|
330
|
+
lifespan_context,
|
|
297
331
|
)
|
|
298
332
|
|
|
299
333
|
raise RuntimeError("event loop not set, cannot start action runner")
|
|
300
334
|
|
|
335
|
+
async def _setup_lifespan(self) -> Any:
|
|
336
|
+
if self.lifespan is None:
|
|
337
|
+
return None
|
|
338
|
+
|
|
339
|
+
self.lifespan_stack = AsyncExitStack()
|
|
340
|
+
|
|
341
|
+
lifespan_gen = self.lifespan()
|
|
342
|
+
try:
|
|
343
|
+
context = await anext(lifespan_gen)
|
|
344
|
+
await self.lifespan_stack.enter_async_context(
|
|
345
|
+
_create_async_context_manager(lifespan_gen)
|
|
346
|
+
)
|
|
347
|
+
return context
|
|
348
|
+
except StopAsyncIteration:
|
|
349
|
+
return None
|
|
350
|
+
|
|
351
|
+
async def _cleanup_lifespan(self) -> None:
|
|
352
|
+
if self.lifespan_stack is not None:
|
|
353
|
+
await self.lifespan_stack.aclose()
|
|
354
|
+
|
|
301
355
|
def _start_action_listener(
|
|
302
356
|
self, is_durable: bool
|
|
303
357
|
) -> multiprocessing.context.SpawnProcess:
|
|
@@ -311,7 +365,7 @@ class Worker:
|
|
|
311
365
|
if is_durable
|
|
312
366
|
else list(self.action_registry.keys())
|
|
313
367
|
),
|
|
314
|
-
|
|
368
|
+
self.durable_slots if is_durable else self.slots,
|
|
315
369
|
self.config,
|
|
316
370
|
self.durable_action_queue if is_durable else self.action_queue,
|
|
317
371
|
self.durable_event_queue if is_durable else self.event_queue,
|
|
@@ -405,6 +459,8 @@ class Worker:
|
|
|
405
459
|
):
|
|
406
460
|
self.durable_action_listener_process.kill()
|
|
407
461
|
|
|
462
|
+
await self._cleanup_lifespan()
|
|
463
|
+
|
|
408
464
|
await self._close()
|
|
409
465
|
if self.loop and self.owned_loop:
|
|
410
466
|
self.loop.stop()
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "hatchet-sdk"
|
|
3
|
-
version = "1.
|
|
3
|
+
version = "1.4.0"
|
|
4
4
|
description = ""
|
|
5
5
|
authors = ["Alexander Belanger <alexander@hatchet.run>"]
|
|
6
6
|
readme = "README.md"
|
|
7
7
|
include = ["hatchet_sdk/py.typed"]
|
|
8
|
+
license = "MIT"
|
|
8
9
|
|
|
9
10
|
[tool.poetry.dependencies]
|
|
10
11
|
python = "^3.10"
|
|
@@ -50,6 +51,7 @@ pytest = "^8.3.5"
|
|
|
50
51
|
pytest-asyncio = "^0.25.3"
|
|
51
52
|
pytest-env = "^1.1.5"
|
|
52
53
|
pytest-retry = "^1.7.0"
|
|
54
|
+
psycopg = { extras = ["pool"], version = "^3.2.6" }
|
|
53
55
|
|
|
54
56
|
[tool.poetry.extras]
|
|
55
57
|
otel = [
|
|
@@ -120,6 +122,7 @@ exclude = [
|
|
|
120
122
|
"hatchet_sdk/clients/rest/rest.py",
|
|
121
123
|
"hatchet_sdk/v0/*",
|
|
122
124
|
]
|
|
125
|
+
target-version = "py310"
|
|
123
126
|
|
|
124
127
|
[tool.poetry.scripts]
|
|
125
128
|
|
|
@@ -151,3 +154,4 @@ otel = "examples.opentelemetry_instrumentation.worker:main"
|
|
|
151
154
|
waits = "examples.waits.worker:main"
|
|
152
155
|
durable = "examples.durable.worker:main"
|
|
153
156
|
streaming = "examples.streaming.worker:main"
|
|
157
|
+
lifespans = "examples.lifespans.worker:main"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/listeners/durable_event_listener.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
|
|
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-1.3.1 → hatchet_sdk-1.4.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-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/api_meta_integration.py
RENAMED
|
File without changes
|
|
File without changes
|
{hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/api_resource_meta.py
RENAMED
|
File without changes
|
|
File without changes
|
{hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/bulk_create_event_request.py
RENAMED
|
File without changes
|
|
File without changes
|
{hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/cancel_event_request.py
RENAMED
|
File without changes
|
{hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/cancel_step_run_request.py
RENAMED
|
File without changes
|
|
File without changes
|
{hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/create_api_token_request.py
RENAMED
|
File without changes
|
{hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/create_api_token_response.py
RENAMED
|
File without changes
|
|
File without changes
|
{hatchet_sdk-1.3.1 → hatchet_sdk-1.4.0}/hatchet_sdk/clients/rest/models/create_event_request.py
RENAMED
|
File without changes
|