hatchet-sdk 1.0.2__tar.gz → 1.1.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.0.2 → hatchet_sdk-1.1.0}/PKG-INFO +1 -1
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/client.py +3 -16
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/admin.py +13 -33
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/dispatcher/action_listener.py +7 -11
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/dispatcher/dispatcher.py +20 -5
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/durable_event_listener.py +11 -12
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/events.py +11 -15
- {hatchet_sdk-1.0.2/hatchet_sdk/v0 → hatchet_sdk-1.1.0/hatchet_sdk}/clients/rest/models/tenant_resource.py +2 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/run_event_listener.py +62 -66
- hatchet_sdk-1.1.0/hatchet_sdk/clients/v1/api_client.py +44 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/workflow_listener.py +9 -10
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/context/context.py +9 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/contracts/dispatcher_pb2_grpc.py +1 -1
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/contracts/events_pb2_grpc.py +1 -1
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/contracts/v1/dispatcher_pb2_grpc.py +1 -1
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/contracts/v1/workflows_pb2_grpc.py +1 -1
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/contracts/workflows_pb2_grpc.py +1 -1
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/features/cron.py +5 -4
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/features/logs.py +2 -1
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/features/metrics.py +4 -3
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/features/rate_limits.py +1 -1
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/features/runs.py +8 -7
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/features/scheduled.py +5 -4
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/features/workers.py +4 -3
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/features/workflows.py +4 -3
- hatchet_sdk-1.1.0/hatchet_sdk/metadata.py +2 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/runnables/standalone.py +3 -18
- hatchet_sdk-1.1.0/hatchet_sdk/utils/aio.py +43 -0
- {hatchet_sdk-1.0.2/hatchet_sdk → hatchet_sdk-1.1.0/hatchet_sdk/v0}/clients/rest/models/workflow_runs_metrics.py +1 -5
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/worker/runner/run_loop_manager.py +1 -1
- hatchet_sdk-1.1.0/hatchet_sdk/workflow_run.py +32 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/pyproject.toml +2 -1
- hatchet_sdk-1.0.2/hatchet_sdk/clients/v1/api_client.py +0 -81
- hatchet_sdk-1.0.2/hatchet_sdk/metadata.py +0 -2
- hatchet_sdk-1.0.2/hatchet_sdk/utils/aio_utils.py +0 -18
- hatchet_sdk-1.0.2/hatchet_sdk/workflow_run.py +0 -45
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/README.md +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/__init__.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/event_ts.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/__init__.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/api/__init__.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/api/api_token_api.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/api/default_api.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/api/event_api.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/api/github_api.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/api/healthcheck_api.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/api/log_api.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/api/metadata_api.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/api/rate_limits_api.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/api/slack_api.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/api/sns_api.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/api/step_run_api.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/api/task_api.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/api/tenant_api.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/api/user_api.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/api/worker_api.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/api/workflow_api.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/api/workflow_run_api.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/api/workflow_runs_api.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/api_client.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/api_response.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/configuration.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/exceptions.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/__init__.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/accept_invite_request.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/api_error.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/api_errors.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/api_meta.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/api_meta_auth.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/api_meta_integration.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/api_meta_posthog.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/api_resource_meta.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/api_token.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/bulk_create_event_request.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/bulk_create_event_response.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/cancel_event_request.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/cancel_step_run_request.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/concurrency_limit_strategy.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/create_api_token_request.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/create_api_token_response.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/create_cron_workflow_trigger_request.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/create_event_request.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/create_pull_request_from_step_run.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/create_sns_integration_request.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/create_tenant_alert_email_group_request.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/create_tenant_invite_request.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/create_tenant_request.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/cron_workflows.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/cron_workflows_list.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/cron_workflows_method.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/cron_workflows_order_by_field.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/event.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/event_data.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/event_key_list.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/event_list.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/event_order_by_direction.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/event_order_by_field.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/event_update_cancel200_response.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/event_workflow_run_summary.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/events.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/get_step_run_diff_response.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/github_app_installation.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/github_branch.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/github_repo.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/info_get_version200_response.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/job.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/job_run.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/job_run_status.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/link_github_repository_request.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/list_api_tokens_response.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/list_github_app_installations_response.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/list_pull_requests_response.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/list_slack_webhooks.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/list_sns_integrations.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/log_line.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/log_line_level.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/log_line_list.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/log_line_order_by_direction.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/log_line_order_by_field.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/pagination_response.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/pull_request.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/pull_request_state.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/queue_metrics.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/rate_limit.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/rate_limit_list.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/rate_limit_order_by_direction.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/rate_limit_order_by_field.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/recent_step_runs.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/reject_invite_request.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/replay_event_request.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/replay_workflow_runs_request.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/replay_workflow_runs_response.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/rerun_step_run_request.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/schedule_workflow_run_request.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/scheduled_run_status.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/scheduled_workflows.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/scheduled_workflows_list.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/scheduled_workflows_method.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/scheduled_workflows_order_by_field.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/semaphore_slots.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/slack_webhook.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/sns_integration.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/step.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/step_run.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/step_run_archive.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/step_run_archive_list.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/step_run_diff.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/step_run_event.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/step_run_event_list.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/step_run_event_reason.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/step_run_event_severity.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/step_run_status.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/tenant.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/tenant_alert_email_group.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/tenant_alert_email_group_list.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/tenant_alerting_settings.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/tenant_invite.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/tenant_invite_list.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/tenant_list.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/tenant_member.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/tenant_member_list.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/tenant_member_role.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/tenant_queue_metrics.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/tenant_resource_limit.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/tenant_resource_policy.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/tenant_step_run_queue_metrics.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/tenant_version.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/trigger_workflow_run_request.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/update_tenant_alert_email_group_request.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/update_tenant_invite_request.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/update_tenant_request.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/update_worker_request.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/user.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/user_change_password_request.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/user_login_request.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/user_register_request.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/user_tenant_memberships_list.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/user_tenant_public.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/v1_cancel_task_request.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/v1_dag_children.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/v1_log_line.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/v1_log_line_level.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/v1_log_line_list.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/v1_replay_task_request.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/v1_task.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/v1_task_event.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/v1_task_event_list.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/v1_task_event_type.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/v1_task_filter.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/v1_task_point_metric.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/v1_task_point_metrics.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/v1_task_run_metric.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/v1_task_run_status.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/v1_task_status.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/v1_task_summary.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/v1_task_summary_list.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/v1_trigger_workflow_run_request.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/v1_workflow_run.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/v1_workflow_run_details.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/v1_workflow_run_display_name.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/v1_workflow_run_display_name_list.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/v1_workflow_type.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/webhook_worker.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/webhook_worker_create_request.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/webhook_worker_create_response.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/webhook_worker_created.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/webhook_worker_list_response.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/webhook_worker_request.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/webhook_worker_request_list_response.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/webhook_worker_request_method.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/worker.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/worker_label.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/worker_list.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/worker_runtime_info.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/worker_runtime_sdks.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/worker_type.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/workflow.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/workflow_concurrency.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/workflow_deployment_config.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/workflow_kind.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/workflow_list.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/workflow_metrics.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/workflow_run.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/workflow_run_cancel200_response.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/workflow_run_list.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/workflow_run_order_by_direction.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/workflow_run_order_by_field.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/workflow_run_shape.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/workflow_run_shape_item_for_workflow_run_details.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/workflow_run_status.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/workflow_run_triggered_by.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/workflow_runs_cancel_request.py +0 -0
- {hatchet_sdk-1.0.2/hatchet_sdk/v0 → hatchet_sdk-1.1.0/hatchet_sdk}/clients/rest/models/workflow_runs_metrics.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/workflow_runs_metrics_counts.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/workflow_tag.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/workflow_trigger_cron_ref.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/workflow_trigger_event_ref.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/workflow_triggers.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/workflow_update_request.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/workflow_version.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/workflow_version_concurrency.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/workflow_version_definition.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/workflow_version_meta.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/models/workflow_workers_count.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/rest.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/clients/rest/tenacity_utils.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/config.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/connection.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/context/__init__.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/context/worker_context.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/contracts/dispatcher_pb2.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/contracts/dispatcher_pb2.pyi +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/contracts/events_pb2.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/contracts/events_pb2.pyi +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/contracts/v1/dispatcher_pb2.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/contracts/v1/dispatcher_pb2.pyi +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/contracts/v1/shared/condition_pb2.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/contracts/v1/shared/condition_pb2.pyi +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/contracts/v1/shared/condition_pb2_grpc.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/contracts/v1/workflows_pb2.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/contracts/v1/workflows_pb2.pyi +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/contracts/workflows_pb2.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/contracts/workflows_pb2.pyi +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/hatchet.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/labels.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/logger.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/opentelemetry/instrumentor.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/py.typed +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/rate_limit.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/runnables/contextvars.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/runnables/task.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/runnables/types.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/runnables/workflow.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/token.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/utils/backoff.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/utils/proto_enums.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/utils/timedelta_to_expression.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/utils/typing.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/__init__.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/client.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/admin.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/dispatcher/action_listener.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/dispatcher/dispatcher.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/event_ts.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/events.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/__init__.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/api/__init__.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/api/api_token_api.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/api/default_api.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/api/event_api.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/api/github_api.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/api/healthcheck_api.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/api/log_api.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/api/metadata_api.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/api/rate_limits_api.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/api/slack_api.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/api/sns_api.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/api/step_run_api.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/api/tenant_api.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/api/user_api.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/api/worker_api.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/api/workflow_api.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/api/workflow_run_api.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/api/workflow_runs_api.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/api_client.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/api_response.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/configuration.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/exceptions.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/__init__.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/accept_invite_request.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/api_error.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/api_errors.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/api_meta.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/api_meta_auth.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/api_meta_integration.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/api_meta_posthog.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/api_resource_meta.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/api_token.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/bulk_create_event_request.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/bulk_create_event_response.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/cancel_event_request.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/cancel_step_run_request.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/concurrency_limit_strategy.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/create_api_token_request.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/create_api_token_response.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/create_cron_workflow_trigger_request.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/create_event_request.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/create_pull_request_from_step_run.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/create_sns_integration_request.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/create_tenant_alert_email_group_request.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/create_tenant_invite_request.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/create_tenant_request.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/cron_workflows.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/cron_workflows_list.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/cron_workflows_method.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/cron_workflows_order_by_field.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/event.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/event_data.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/event_key_list.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/event_list.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/event_order_by_direction.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/event_order_by_field.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/event_update_cancel200_response.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/event_workflow_run_summary.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/events.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/get_step_run_diff_response.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/github_app_installation.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/github_branch.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/github_repo.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/info_get_version200_response.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/job.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/job_run.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/job_run_status.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/link_github_repository_request.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/list_api_tokens_response.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/list_github_app_installations_response.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/list_pull_requests_response.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/list_slack_webhooks.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/list_sns_integrations.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/log_line.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/log_line_level.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/log_line_list.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/log_line_order_by_direction.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/log_line_order_by_field.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/pagination_response.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/pull_request.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/pull_request_state.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/queue_metrics.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/rate_limit.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/rate_limit_list.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/rate_limit_order_by_direction.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/rate_limit_order_by_field.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/recent_step_runs.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/reject_invite_request.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/replay_event_request.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/replay_workflow_runs_request.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/replay_workflow_runs_response.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/rerun_step_run_request.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/schedule_workflow_run_request.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/scheduled_run_status.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/scheduled_workflows.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/scheduled_workflows_list.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/scheduled_workflows_method.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/scheduled_workflows_order_by_field.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/semaphore_slots.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/slack_webhook.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/sns_integration.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/step.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/step_run.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/step_run_archive.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/step_run_archive_list.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/step_run_diff.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/step_run_event.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/step_run_event_list.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/step_run_event_reason.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/step_run_event_severity.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/step_run_status.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/tenant.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/tenant_alert_email_group.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/tenant_alert_email_group_list.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/tenant_alerting_settings.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/tenant_invite.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/tenant_invite_list.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/tenant_list.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/tenant_member.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/tenant_member_list.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/tenant_member_role.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/tenant_queue_metrics.py +0 -0
- {hatchet_sdk-1.0.2/hatchet_sdk → hatchet_sdk-1.1.0/hatchet_sdk/v0}/clients/rest/models/tenant_resource.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/tenant_resource_limit.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/tenant_resource_policy.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/tenant_step_run_queue_metrics.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/trigger_workflow_run_request.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/update_tenant_alert_email_group_request.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/update_tenant_invite_request.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/update_tenant_request.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/update_worker_request.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/user.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/user_change_password_request.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/user_login_request.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/user_register_request.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/user_tenant_memberships_list.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/user_tenant_public.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/webhook_worker.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/webhook_worker_create_request.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/webhook_worker_create_response.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/webhook_worker_created.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/webhook_worker_list_response.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/webhook_worker_request.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/webhook_worker_request_list_response.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/webhook_worker_request_method.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/worker.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/worker_label.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/worker_list.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/worker_runtime_info.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/worker_runtime_sdks.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/worker_type.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/workflow.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/workflow_concurrency.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/workflow_deployment_config.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/workflow_kind.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/workflow_list.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/workflow_metrics.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/workflow_run.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/workflow_run_cancel200_response.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/workflow_run_list.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/workflow_run_order_by_direction.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/workflow_run_order_by_field.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/workflow_run_shape.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/workflow_run_status.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/workflow_run_triggered_by.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/workflow_runs_cancel_request.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/workflow_runs_metrics_counts.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/workflow_tag.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/workflow_trigger_cron_ref.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/workflow_trigger_event_ref.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/workflow_triggers.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/workflow_update_request.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/workflow_version.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/workflow_version_concurrency.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/workflow_version_definition.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/workflow_version_meta.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/models/workflow_workers_count.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/rest.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest/tenacity_utils.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/rest_client.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/run_event_listener.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/clients/workflow_listener.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/connection.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/context/__init__.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/context/context.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/context/worker_context.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/contracts/dispatcher_pb2.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/contracts/dispatcher_pb2.pyi +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/contracts/dispatcher_pb2_grpc.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/contracts/events_pb2.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/contracts/events_pb2.pyi +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/contracts/events_pb2_grpc.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/contracts/workflows_pb2.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/contracts/workflows_pb2.pyi +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/contracts/workflows_pb2_grpc.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/features/cron.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/features/scheduled.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/hatchet.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/labels.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/loader.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/logger.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/metadata.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/opentelemetry/instrumentor.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/rate_limit.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/semver.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/token.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/utils/aio_utils.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/utils/backoff.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/utils/types.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/utils/typing.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/v2/callable.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/v2/concurrency.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/v2/hatchet.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/worker/__init__.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/worker/action_listener_process.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/worker/runner/run_loop_manager.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/worker/runner/runner.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/worker/runner/utils/capture_logs.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/worker/runner/utils/error_with_traceback.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/worker/worker.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/workflow.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/v0/workflow_run.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/waits.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/worker/__init__.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/worker/action_listener_process.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/worker/runner/runner.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/worker/runner/utils/capture_logs.py +0 -0
- {hatchet_sdk-1.0.2 → hatchet_sdk-1.1.0}/hatchet_sdk/worker/worker.py +0 -0
|
@@ -1,14 +1,9 @@
|
|
|
1
|
-
import asyncio
|
|
2
|
-
|
|
3
|
-
import grpc
|
|
4
|
-
|
|
5
1
|
from hatchet_sdk.clients.admin import AdminClient
|
|
6
2
|
from hatchet_sdk.clients.dispatcher.dispatcher import DispatcherClient
|
|
7
|
-
from hatchet_sdk.clients.events import EventClient
|
|
3
|
+
from hatchet_sdk.clients.events import EventClient
|
|
8
4
|
from hatchet_sdk.clients.run_event_listener import RunEventListenerClient
|
|
9
5
|
from hatchet_sdk.clients.workflow_listener import PooledWorkflowRunListener
|
|
10
6
|
from hatchet_sdk.config import ClientConfig
|
|
11
|
-
from hatchet_sdk.connection import new_conn
|
|
12
7
|
from hatchet_sdk.features.cron import CronClient
|
|
13
8
|
from hatchet_sdk.features.logs import LogsClient
|
|
14
9
|
from hatchet_sdk.features.metrics import MetricsClient
|
|
@@ -29,21 +24,13 @@ class Client:
|
|
|
29
24
|
workflow_listener: PooledWorkflowRunListener | None | None = None,
|
|
30
25
|
debug: bool = False,
|
|
31
26
|
):
|
|
32
|
-
try:
|
|
33
|
-
loop = asyncio.get_running_loop()
|
|
34
|
-
except RuntimeError:
|
|
35
|
-
loop = asyncio.new_event_loop()
|
|
36
|
-
asyncio.set_event_loop(loop)
|
|
37
|
-
|
|
38
|
-
conn: grpc.Channel = new_conn(config, False)
|
|
39
|
-
|
|
40
27
|
self.config = config
|
|
41
28
|
self.admin = admin_client or AdminClient(config)
|
|
42
29
|
self.dispatcher = dispatcher_client or DispatcherClient(config)
|
|
43
|
-
self.event = event_client or
|
|
30
|
+
self.event = event_client or EventClient(config)
|
|
44
31
|
self.listener = RunEventListenerClient(config)
|
|
45
32
|
self.workflow_listener = workflow_listener
|
|
46
|
-
self.
|
|
33
|
+
self.log_interceptor = config.logger
|
|
47
34
|
self.debug = debug
|
|
48
35
|
|
|
49
36
|
self.cron = CronClient(self.config)
|
|
@@ -8,8 +8,6 @@ from google.protobuf import timestamp_pb2
|
|
|
8
8
|
from pydantic import BaseModel, ConfigDict, Field, field_validator
|
|
9
9
|
|
|
10
10
|
from hatchet_sdk.clients.rest.tenacity_utils import tenacity_retry
|
|
11
|
-
from hatchet_sdk.clients.run_event_listener import RunEventListenerClient
|
|
12
|
-
from hatchet_sdk.clients.workflow_listener import PooledWorkflowRunListener
|
|
13
11
|
from hatchet_sdk.config import ClientConfig
|
|
14
12
|
from hatchet_sdk.connection import new_conn
|
|
15
13
|
from hatchet_sdk.contracts import workflows_pb2 as v0_workflow_protos
|
|
@@ -36,6 +34,7 @@ class ScheduleTriggerWorkflowOptions(BaseModel):
|
|
|
36
34
|
child_index: int | None = None
|
|
37
35
|
child_key: str | None = None
|
|
38
36
|
namespace: str | None = None
|
|
37
|
+
additional_metadata: JSONSerializableMapping = Field(default_factory=dict)
|
|
39
38
|
|
|
40
39
|
|
|
41
40
|
class TriggerWorkflowOptions(ScheduleTriggerWorkflowOptions):
|
|
@@ -63,14 +62,11 @@ class AdminClient:
|
|
|
63
62
|
def __init__(self, config: ClientConfig):
|
|
64
63
|
conn = new_conn(config, False)
|
|
65
64
|
self.config = config
|
|
66
|
-
self.client = AdminServiceStub(conn)
|
|
67
|
-
self.v0_client = WorkflowServiceStub(conn)
|
|
65
|
+
self.client = AdminServiceStub(conn)
|
|
66
|
+
self.v0_client = WorkflowServiceStub(conn)
|
|
68
67
|
self.token = config.token
|
|
69
|
-
self.listener_client = RunEventListenerClient(config=config)
|
|
70
68
|
self.namespace = config.namespace
|
|
71
69
|
|
|
72
|
-
self.pooled_workflow_listener: PooledWorkflowRunListener | None = None
|
|
73
|
-
|
|
74
70
|
class TriggerWorkflowRequest(BaseModel):
|
|
75
71
|
model_config = ConfigDict(extra="ignore")
|
|
76
72
|
|
|
@@ -153,7 +149,11 @@ class AdminClient:
|
|
|
153
149
|
name=name,
|
|
154
150
|
schedules=[self._parse_schedule(schedule) for schedule in schedules],
|
|
155
151
|
input=json.dumps(input),
|
|
156
|
-
|
|
152
|
+
parent_id=options.parent_id,
|
|
153
|
+
parent_step_run_id=options.parent_step_run_id,
|
|
154
|
+
child_index=options.child_index,
|
|
155
|
+
child_key=options.child_key,
|
|
156
|
+
additional_metadata=json.dumps(options.additional_metadata),
|
|
157
157
|
)
|
|
158
158
|
|
|
159
159
|
@tenacity_retry
|
|
@@ -302,9 +302,6 @@ class AdminClient:
|
|
|
302
302
|
) -> WorkflowRunRef:
|
|
303
303
|
request = self._create_workflow_run_request(workflow_name, input, options)
|
|
304
304
|
|
|
305
|
-
if not self.pooled_workflow_listener:
|
|
306
|
-
self.pooled_workflow_listener = PooledWorkflowRunListener(self.config)
|
|
307
|
-
|
|
308
305
|
try:
|
|
309
306
|
resp = cast(
|
|
310
307
|
v0_workflow_protos.TriggerWorkflowResponse,
|
|
@@ -320,8 +317,7 @@ class AdminClient:
|
|
|
320
317
|
|
|
321
318
|
return WorkflowRunRef(
|
|
322
319
|
workflow_run_id=resp.workflow_run_id,
|
|
323
|
-
|
|
324
|
-
workflow_run_event_listener=self.listener_client,
|
|
320
|
+
config=self.config,
|
|
325
321
|
)
|
|
326
322
|
|
|
327
323
|
## IMPORTANT: Keep this method's signature in sync with the wrapper in the OTel instrumentor
|
|
@@ -338,9 +334,6 @@ class AdminClient:
|
|
|
338
334
|
async with spawn_index_lock:
|
|
339
335
|
request = self._create_workflow_run_request(workflow_name, input, options)
|
|
340
336
|
|
|
341
|
-
if not self.pooled_workflow_listener:
|
|
342
|
-
self.pooled_workflow_listener = PooledWorkflowRunListener(self.config)
|
|
343
|
-
|
|
344
337
|
try:
|
|
345
338
|
resp = cast(
|
|
346
339
|
v0_workflow_protos.TriggerWorkflowResponse,
|
|
@@ -357,8 +350,7 @@ class AdminClient:
|
|
|
357
350
|
|
|
358
351
|
return WorkflowRunRef(
|
|
359
352
|
workflow_run_id=resp.workflow_run_id,
|
|
360
|
-
|
|
361
|
-
workflow_run_event_listener=self.listener_client,
|
|
353
|
+
config=self.config,
|
|
362
354
|
)
|
|
363
355
|
|
|
364
356
|
## IMPORTANT: Keep this method's signature in sync with the wrapper in the OTel instrumentor
|
|
@@ -367,9 +359,6 @@ class AdminClient:
|
|
|
367
359
|
self,
|
|
368
360
|
workflows: list[WorkflowRunTriggerConfig],
|
|
369
361
|
) -> list[WorkflowRunRef]:
|
|
370
|
-
if not self.pooled_workflow_listener:
|
|
371
|
-
self.pooled_workflow_listener = PooledWorkflowRunListener(self.config)
|
|
372
|
-
|
|
373
362
|
bulk_request = v0_workflow_protos.BulkTriggerWorkflowRequest(
|
|
374
363
|
workflows=[
|
|
375
364
|
self._create_workflow_run_request(
|
|
@@ -390,8 +379,7 @@ class AdminClient:
|
|
|
390
379
|
return [
|
|
391
380
|
WorkflowRunRef(
|
|
392
381
|
workflow_run_id=workflow_run_id,
|
|
393
|
-
|
|
394
|
-
workflow_run_event_listener=self.listener_client,
|
|
382
|
+
config=self.config,
|
|
395
383
|
)
|
|
396
384
|
for workflow_run_id in resp.workflow_run_ids
|
|
397
385
|
]
|
|
@@ -404,9 +392,6 @@ class AdminClient:
|
|
|
404
392
|
## IMPORTANT: The `pooled_workflow_listener` must be created 1) lazily, and not at `init` time, and 2) on the
|
|
405
393
|
## main thread. If 1) is not followed, you'll get an error about something being attached to the wrong event
|
|
406
394
|
## loop. If 2) is not followed, you'll get an error about the event loop not being set up.
|
|
407
|
-
if not self.pooled_workflow_listener:
|
|
408
|
-
self.pooled_workflow_listener = PooledWorkflowRunListener(self.config)
|
|
409
|
-
|
|
410
395
|
async with spawn_index_lock:
|
|
411
396
|
bulk_request = v0_workflow_protos.BulkTriggerWorkflowRequest(
|
|
412
397
|
workflows=[
|
|
@@ -428,18 +413,13 @@ class AdminClient:
|
|
|
428
413
|
return [
|
|
429
414
|
WorkflowRunRef(
|
|
430
415
|
workflow_run_id=workflow_run_id,
|
|
431
|
-
|
|
432
|
-
workflow_run_event_listener=self.listener_client,
|
|
416
|
+
config=self.config,
|
|
433
417
|
)
|
|
434
418
|
for workflow_run_id in resp.workflow_run_ids
|
|
435
419
|
]
|
|
436
420
|
|
|
437
421
|
def get_workflow_run(self, workflow_run_id: str) -> WorkflowRunRef:
|
|
438
|
-
if not self.pooled_workflow_listener:
|
|
439
|
-
self.pooled_workflow_listener = PooledWorkflowRunListener(self.config)
|
|
440
|
-
|
|
441
422
|
return WorkflowRunRef(
|
|
442
423
|
workflow_run_id=workflow_run_id,
|
|
443
|
-
|
|
444
|
-
workflow_run_event_listener=self.listener_client,
|
|
424
|
+
config=self.config,
|
|
445
425
|
)
|
|
@@ -152,7 +152,7 @@ class ActionListener:
|
|
|
152
152
|
self.config = config
|
|
153
153
|
self.worker_id = worker_id
|
|
154
154
|
|
|
155
|
-
self.aio_client = DispatcherStub(new_conn(self.config, True))
|
|
155
|
+
self.aio_client = DispatcherStub(new_conn(self.config, True))
|
|
156
156
|
self.token = self.config.token
|
|
157
157
|
|
|
158
158
|
self.retries = 0
|
|
@@ -232,14 +232,8 @@ class ActionListener:
|
|
|
232
232
|
if self.heartbeat_task is not None:
|
|
233
233
|
return
|
|
234
234
|
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
except RuntimeError as e:
|
|
238
|
-
if str(e).startswith("There is no current event loop in thread"):
|
|
239
|
-
loop = asyncio.new_event_loop()
|
|
240
|
-
asyncio.set_event_loop(loop)
|
|
241
|
-
else:
|
|
242
|
-
raise e
|
|
235
|
+
loop = asyncio.get_event_loop()
|
|
236
|
+
|
|
243
237
|
self.heartbeat_task = loop.create_task(self.heartbeat())
|
|
244
238
|
|
|
245
239
|
def __aiter__(self) -> AsyncGenerator[Action | None, None]:
|
|
@@ -298,7 +292,9 @@ class ActionListener:
|
|
|
298
292
|
)
|
|
299
293
|
)
|
|
300
294
|
except (ValueError, json.JSONDecodeError) as e:
|
|
301
|
-
|
|
295
|
+
logger.error(f"Error decoding payload: {e}")
|
|
296
|
+
|
|
297
|
+
action_payload = ActionPayload()
|
|
302
298
|
|
|
303
299
|
action = Action(
|
|
304
300
|
tenant_id=assigned_action.tenantId,
|
|
@@ -384,7 +380,7 @@ class ActionListener:
|
|
|
384
380
|
f"action listener connection interrupted, retrying... ({self.retries}/{DEFAULT_ACTION_LISTENER_RETRY_COUNT})"
|
|
385
381
|
)
|
|
386
382
|
|
|
387
|
-
self.aio_client = DispatcherStub(new_conn(self.config, True))
|
|
383
|
+
self.aio_client = DispatcherStub(new_conn(self.config, True))
|
|
388
384
|
|
|
389
385
|
if self.listen_strategy == "v2":
|
|
390
386
|
# we should await for the listener to be established before
|
|
@@ -34,20 +34,23 @@ DEFAULT_REGISTER_TIMEOUT = 30
|
|
|
34
34
|
|
|
35
35
|
|
|
36
36
|
class DispatcherClient:
|
|
37
|
-
config: ClientConfig
|
|
38
|
-
|
|
39
37
|
def __init__(self, config: ClientConfig):
|
|
40
38
|
conn = new_conn(config, False)
|
|
41
|
-
self.client = DispatcherStub(conn)
|
|
39
|
+
self.client = DispatcherStub(conn)
|
|
42
40
|
|
|
43
|
-
aio_conn = new_conn(config, True)
|
|
44
|
-
self.aio_client = DispatcherStub(aio_conn) # type: ignore[no-untyped-call]
|
|
45
41
|
self.token = config.token
|
|
46
42
|
self.config = config
|
|
47
43
|
|
|
44
|
+
## IMPORTANT: This needs to be created lazily so we don't require
|
|
45
|
+
## an event loop to instantiate the client.
|
|
46
|
+
self.aio_client: DispatcherStub | None = None
|
|
47
|
+
|
|
48
48
|
async def get_action_listener(
|
|
49
49
|
self, req: GetActionListenerRequest
|
|
50
50
|
) -> ActionListener:
|
|
51
|
+
if not self.aio_client:
|
|
52
|
+
aio_conn = new_conn(self.config, True)
|
|
53
|
+
self.aio_client = DispatcherStub(aio_conn)
|
|
51
54
|
|
|
52
55
|
# Override labels with the preset labels
|
|
53
56
|
preset_labels = self.config.worker_preset_labels
|
|
@@ -95,6 +98,10 @@ class DispatcherClient:
|
|
|
95
98
|
async def _try_send_step_action_event(
|
|
96
99
|
self, action: Action, event_type: StepActionEventType, payload: str
|
|
97
100
|
) -> grpc.aio.UnaryUnaryCall[StepActionEvent, ActionEventResponse]:
|
|
101
|
+
if not self.aio_client:
|
|
102
|
+
aio_conn = new_conn(self.config, True)
|
|
103
|
+
self.aio_client = DispatcherStub(aio_conn)
|
|
104
|
+
|
|
98
105
|
event_timestamp = Timestamp()
|
|
99
106
|
event_timestamp.GetCurrentTime()
|
|
100
107
|
|
|
@@ -122,6 +129,10 @@ class DispatcherClient:
|
|
|
122
129
|
async def send_group_key_action_event(
|
|
123
130
|
self, action: Action, event_type: GroupKeyActionEventType, payload: str
|
|
124
131
|
) -> grpc.aio.UnaryUnaryCall[GroupKeyActionEvent, ActionEventResponse]:
|
|
132
|
+
if not self.aio_client:
|
|
133
|
+
aio_conn = new_conn(self.config, True)
|
|
134
|
+
self.aio_client = DispatcherStub(aio_conn)
|
|
135
|
+
|
|
125
136
|
event_timestamp = Timestamp()
|
|
126
137
|
event_timestamp.GetCurrentTime()
|
|
127
138
|
|
|
@@ -191,6 +202,10 @@ class DispatcherClient:
|
|
|
191
202
|
worker_id: str | None,
|
|
192
203
|
labels: dict[str, str | int],
|
|
193
204
|
) -> None:
|
|
205
|
+
if not self.aio_client:
|
|
206
|
+
aio_conn = new_conn(self.config, True)
|
|
207
|
+
self.aio_client = DispatcherStub(aio_conn)
|
|
208
|
+
|
|
194
209
|
worker_labels = {}
|
|
195
210
|
|
|
196
211
|
for key, value in labels.items():
|
|
@@ -84,14 +84,6 @@ class RegisterDurableEventRequest(BaseModel):
|
|
|
84
84
|
|
|
85
85
|
class DurableEventListener:
|
|
86
86
|
def __init__(self, config: ClientConfig):
|
|
87
|
-
try:
|
|
88
|
-
asyncio.get_running_loop()
|
|
89
|
-
except RuntimeError:
|
|
90
|
-
loop = asyncio.new_event_loop()
|
|
91
|
-
asyncio.set_event_loop(loop)
|
|
92
|
-
|
|
93
|
-
conn = new_conn(config, True)
|
|
94
|
-
self.client = V1DispatcherStub(conn) # type: ignore[no-untyped-call]
|
|
95
87
|
self.token = config.token
|
|
96
88
|
self.config = config
|
|
97
89
|
|
|
@@ -129,11 +121,14 @@ class DurableEventListener:
|
|
|
129
121
|
self.interrupt.set()
|
|
130
122
|
|
|
131
123
|
async def _init_producer(self) -> None:
|
|
124
|
+
conn = new_conn(self.config, True)
|
|
125
|
+
client = V1DispatcherStub(conn)
|
|
126
|
+
|
|
132
127
|
try:
|
|
133
128
|
if not self.listener:
|
|
134
129
|
while True:
|
|
135
130
|
try:
|
|
136
|
-
self.listener = await self._retry_subscribe()
|
|
131
|
+
self.listener = await self._retry_subscribe(client)
|
|
137
132
|
|
|
138
133
|
logger.debug("Workflow run listener connected.")
|
|
139
134
|
|
|
@@ -282,6 +277,7 @@ class DurableEventListener:
|
|
|
282
277
|
|
|
283
278
|
async def _retry_subscribe(
|
|
284
279
|
self,
|
|
280
|
+
client: V1DispatcherStub,
|
|
285
281
|
) -> grpc.aio.UnaryStreamCall[ListenForDurableEventRequest, DurableEvent]:
|
|
286
282
|
retries = 0
|
|
287
283
|
|
|
@@ -298,8 +294,8 @@ class DurableEventListener:
|
|
|
298
294
|
grpc.aio.UnaryStreamCall[
|
|
299
295
|
ListenForDurableEventRequest, DurableEvent
|
|
300
296
|
],
|
|
301
|
-
|
|
302
|
-
self._request(),
|
|
297
|
+
client.ListenForDurableEvent(
|
|
298
|
+
self._request(), # type: ignore[arg-type]
|
|
303
299
|
metadata=get_metadata(self.token),
|
|
304
300
|
),
|
|
305
301
|
)
|
|
@@ -315,7 +311,10 @@ class DurableEventListener:
|
|
|
315
311
|
def register_durable_event(
|
|
316
312
|
self, request: RegisterDurableEventRequest
|
|
317
313
|
) -> Literal[True]:
|
|
318
|
-
self.
|
|
314
|
+
conn = new_conn(self.config, True)
|
|
315
|
+
client = V1DispatcherStub(conn)
|
|
316
|
+
|
|
317
|
+
client.RegisterDurableEvent(
|
|
319
318
|
request.to_proto(),
|
|
320
319
|
timeout=5,
|
|
321
320
|
metadata=get_metadata(self.token),
|
|
@@ -3,15 +3,16 @@ import datetime
|
|
|
3
3
|
import json
|
|
4
4
|
from typing import List, cast
|
|
5
5
|
|
|
6
|
-
import grpc
|
|
7
6
|
from google.protobuf import timestamp_pb2
|
|
8
7
|
from pydantic import BaseModel, Field
|
|
9
8
|
|
|
10
9
|
from hatchet_sdk.clients.rest.tenacity_utils import tenacity_retry
|
|
11
10
|
from hatchet_sdk.config import ClientConfig
|
|
11
|
+
from hatchet_sdk.connection import new_conn
|
|
12
12
|
from hatchet_sdk.contracts.events_pb2 import (
|
|
13
13
|
BulkPushEventRequest,
|
|
14
14
|
Event,
|
|
15
|
+
Events,
|
|
15
16
|
PushEventRequest,
|
|
16
17
|
PutLogRequest,
|
|
17
18
|
PutStreamEventRequest,
|
|
@@ -21,13 +22,6 @@ from hatchet_sdk.metadata import get_metadata
|
|
|
21
22
|
from hatchet_sdk.utils.typing import JSONSerializableMapping
|
|
22
23
|
|
|
23
24
|
|
|
24
|
-
def new_event(conn: grpc.Channel, config: ClientConfig) -> "EventClient":
|
|
25
|
-
return EventClient(
|
|
26
|
-
client=EventsServiceStub(conn), # type: ignore[no-untyped-call]
|
|
27
|
-
config=config,
|
|
28
|
-
)
|
|
29
|
-
|
|
30
|
-
|
|
31
25
|
def proto_timestamp_now() -> timestamp_pb2.Timestamp:
|
|
32
26
|
t = datetime.datetime.now().timestamp()
|
|
33
27
|
seconds = int(t)
|
|
@@ -52,8 +46,10 @@ class BulkPushEventWithMetadata(BaseModel):
|
|
|
52
46
|
|
|
53
47
|
|
|
54
48
|
class EventClient:
|
|
55
|
-
def __init__(self,
|
|
56
|
-
|
|
49
|
+
def __init__(self, config: ClientConfig):
|
|
50
|
+
conn = new_conn(config, False)
|
|
51
|
+
self.client = EventsServiceStub(conn)
|
|
52
|
+
|
|
57
53
|
self.token = config.token
|
|
58
54
|
self.namespace = config.namespace
|
|
59
55
|
|
|
@@ -146,11 +142,11 @@ class EventClient:
|
|
|
146
142
|
]
|
|
147
143
|
)
|
|
148
144
|
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
145
|
+
return list(
|
|
146
|
+
cast(
|
|
147
|
+
Events,
|
|
148
|
+
self.client.BulkPush(bulk_request, metadata=get_metadata(self.token)),
|
|
149
|
+
).events
|
|
154
150
|
)
|
|
155
151
|
|
|
156
152
|
def log(self, message: str, step_run_id: str) -> None:
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import asyncio
|
|
2
|
-
import json
|
|
3
2
|
from enum import Enum
|
|
4
|
-
from
|
|
3
|
+
from queue import Empty, Queue
|
|
4
|
+
from threading import Thread
|
|
5
|
+
from typing import Any, AsyncGenerator, Callable, Generator, Literal, TypeVar, cast
|
|
5
6
|
|
|
6
7
|
import grpc
|
|
7
8
|
from pydantic import BaseModel
|
|
@@ -56,6 +57,8 @@ workflow_run_event_type_mapping = {
|
|
|
56
57
|
ResourceEventType.RESOURCE_EVENT_TYPE_TIMED_OUT: WorkflowRunEventType.WORKFLOW_RUN_EVENT_TYPE_TIMED_OUT,
|
|
57
58
|
}
|
|
58
59
|
|
|
60
|
+
T = TypeVar("T")
|
|
61
|
+
|
|
59
62
|
|
|
60
63
|
class StepRunEvent(BaseModel):
|
|
61
64
|
type: StepRunEventType
|
|
@@ -65,18 +68,20 @@ class StepRunEvent(BaseModel):
|
|
|
65
68
|
class RunEventListener:
|
|
66
69
|
def __init__(
|
|
67
70
|
self,
|
|
68
|
-
|
|
69
|
-
token: str,
|
|
71
|
+
config: ClientConfig,
|
|
70
72
|
workflow_run_id: str | None = None,
|
|
71
73
|
additional_meta_kv: tuple[str, str] | None = None,
|
|
72
74
|
):
|
|
73
|
-
self.
|
|
75
|
+
self.config = config
|
|
74
76
|
self.stop_signal = False
|
|
75
|
-
self.token = token
|
|
76
77
|
|
|
77
78
|
self.workflow_run_id = workflow_run_id
|
|
78
79
|
self.additional_meta_kv = additional_meta_kv
|
|
79
80
|
|
|
81
|
+
## IMPORTANT: This needs to be created lazily so we don't require
|
|
82
|
+
## an event loop to instantiate the client.
|
|
83
|
+
self.client: DispatcherStub | None = None
|
|
84
|
+
|
|
80
85
|
def abort(self) -> None:
|
|
81
86
|
self.stop_signal = True
|
|
82
87
|
|
|
@@ -86,27 +91,46 @@ class RunEventListener:
|
|
|
86
91
|
async def __anext__(self) -> StepRunEvent:
|
|
87
92
|
return await self._generator().__anext__()
|
|
88
93
|
|
|
89
|
-
def
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
94
|
+
def async_to_sync_thread(
|
|
95
|
+
self, async_iter: AsyncGenerator[T, None]
|
|
96
|
+
) -> Generator[T, None, None]:
|
|
97
|
+
q = Queue[T | Literal["DONE"]]()
|
|
98
|
+
done_sentinel: Literal["DONE"] = "DONE"
|
|
99
|
+
|
|
100
|
+
def runner() -> None:
|
|
101
|
+
loop = asyncio.new_event_loop()
|
|
102
|
+
asyncio.set_event_loop(loop)
|
|
103
|
+
|
|
104
|
+
async def consume() -> None:
|
|
105
|
+
try:
|
|
106
|
+
async for item in async_iter:
|
|
107
|
+
q.put(item)
|
|
108
|
+
finally:
|
|
109
|
+
q.put(done_sentinel)
|
|
98
110
|
|
|
99
|
-
|
|
111
|
+
try:
|
|
112
|
+
loop.run_until_complete(consume())
|
|
113
|
+
finally:
|
|
114
|
+
loop.stop()
|
|
115
|
+
loop.close()
|
|
116
|
+
|
|
117
|
+
thread = Thread(target=runner)
|
|
118
|
+
thread.start()
|
|
100
119
|
|
|
101
120
|
while True:
|
|
102
121
|
try:
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
except
|
|
108
|
-
|
|
109
|
-
|
|
122
|
+
item = q.get(timeout=1)
|
|
123
|
+
if item == "DONE":
|
|
124
|
+
break
|
|
125
|
+
yield item
|
|
126
|
+
except Empty:
|
|
127
|
+
continue
|
|
128
|
+
|
|
129
|
+
thread.join()
|
|
130
|
+
|
|
131
|
+
def __iter__(self) -> Generator[StepRunEvent, None, None]:
|
|
132
|
+
for item in self.async_to_sync_thread(self.__aiter__()):
|
|
133
|
+
yield item
|
|
110
134
|
|
|
111
135
|
async def _generator(self) -> AsyncGenerator[StepRunEvent, None]:
|
|
112
136
|
while True:
|
|
@@ -128,18 +152,10 @@ class RunEventListener:
|
|
|
128
152
|
raise Exception(
|
|
129
153
|
f"Unknown event type: {workflow_event.eventType}"
|
|
130
154
|
)
|
|
131
|
-
payload = None
|
|
132
|
-
|
|
133
|
-
try:
|
|
134
|
-
if workflow_event.eventPayload:
|
|
135
|
-
payload = json.loads(workflow_event.eventPayload)
|
|
136
|
-
except Exception:
|
|
137
|
-
payload = workflow_event.eventPayload
|
|
138
|
-
pass
|
|
139
155
|
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
156
|
+
yield StepRunEvent(
|
|
157
|
+
type=eventType, payload=workflow_event.eventPayload
|
|
158
|
+
)
|
|
143
159
|
elif workflow_event.resourceType == RESOURCE_TYPE_WORKFLOW_RUN:
|
|
144
160
|
if workflow_event.eventType in step_run_event_type_mapping:
|
|
145
161
|
workflowRunEventType = step_run_event_type_mapping[
|
|
@@ -150,17 +166,10 @@ class RunEventListener:
|
|
|
150
166
|
f"Unknown event type: {workflow_event.eventType}"
|
|
151
167
|
)
|
|
152
168
|
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
payload = json.loads(workflow_event.eventPayload)
|
|
158
|
-
except Exception:
|
|
159
|
-
pass
|
|
160
|
-
|
|
161
|
-
assert isinstance(payload, str)
|
|
162
|
-
|
|
163
|
-
yield StepRunEvent(type=workflowRunEventType, payload=payload)
|
|
169
|
+
yield StepRunEvent(
|
|
170
|
+
type=workflowRunEventType,
|
|
171
|
+
payload=workflow_event.eventPayload,
|
|
172
|
+
)
|
|
164
173
|
|
|
165
174
|
if workflow_event.hangup:
|
|
166
175
|
listener = None
|
|
@@ -188,6 +197,10 @@ class RunEventListener:
|
|
|
188
197
|
async def retry_subscribe(self) -> AsyncGenerator[WorkflowEvent, None]:
|
|
189
198
|
retries = 0
|
|
190
199
|
|
|
200
|
+
if self.client is None:
|
|
201
|
+
aio_conn = new_conn(self.config, True)
|
|
202
|
+
self.client = DispatcherStub(aio_conn)
|
|
203
|
+
|
|
191
204
|
while retries < DEFAULT_ACTION_LISTENER_RETRY_COUNT:
|
|
192
205
|
try:
|
|
193
206
|
if retries > 0:
|
|
@@ -200,7 +213,7 @@ class RunEventListener:
|
|
|
200
213
|
SubscribeToWorkflowEventsRequest(
|
|
201
214
|
workflowRunId=self.workflow_run_id,
|
|
202
215
|
),
|
|
203
|
-
metadata=get_metadata(self.token),
|
|
216
|
+
metadata=get_metadata(self.config.token),
|
|
204
217
|
),
|
|
205
218
|
)
|
|
206
219
|
elif self.additional_meta_kv is not None:
|
|
@@ -211,7 +224,7 @@ class RunEventListener:
|
|
|
211
224
|
additionalMetaKey=self.additional_meta_kv[0],
|
|
212
225
|
additionalMetaValue=self.additional_meta_kv[1],
|
|
213
226
|
),
|
|
214
|
-
metadata=get_metadata(self.token),
|
|
227
|
+
metadata=get_metadata(self.config.token),
|
|
215
228
|
),
|
|
216
229
|
)
|
|
217
230
|
else:
|
|
@@ -228,33 +241,16 @@ class RunEventListener:
|
|
|
228
241
|
|
|
229
242
|
class RunEventListenerClient:
|
|
230
243
|
def __init__(self, config: ClientConfig):
|
|
231
|
-
self.token = config.token
|
|
232
244
|
self.config = config
|
|
233
|
-
self.client: DispatcherStub | None = None
|
|
234
245
|
|
|
235
246
|
def stream_by_run_id(self, workflow_run_id: str) -> RunEventListener:
|
|
236
247
|
return self.stream(workflow_run_id)
|
|
237
248
|
|
|
238
249
|
def stream(self, workflow_run_id: str) -> RunEventListener:
|
|
239
|
-
|
|
240
|
-
workflow_run_id = str(workflow_run_id)
|
|
241
|
-
|
|
242
|
-
if not self.client:
|
|
243
|
-
aio_conn = new_conn(self.config, True)
|
|
244
|
-
self.client = DispatcherStub(aio_conn) # type: ignore[no-untyped-call]
|
|
245
|
-
|
|
246
|
-
return RunEventListener(
|
|
247
|
-
client=self.client, token=self.token, workflow_run_id=workflow_run_id
|
|
248
|
-
)
|
|
250
|
+
return RunEventListener(config=self.config, workflow_run_id=workflow_run_id)
|
|
249
251
|
|
|
250
252
|
def stream_by_additional_metadata(self, key: str, value: str) -> RunEventListener:
|
|
251
|
-
|
|
252
|
-
aio_conn = new_conn(self.config, True)
|
|
253
|
-
self.client = DispatcherStub(aio_conn) # type: ignore[no-untyped-call]
|
|
254
|
-
|
|
255
|
-
return RunEventListener(
|
|
256
|
-
client=self.client, token=self.token, additional_meta_kv=(key, value)
|
|
257
|
-
)
|
|
253
|
+
return RunEventListener(config=self.config, additional_meta_kv=(key, value))
|
|
258
254
|
|
|
259
255
|
async def on(
|
|
260
256
|
self, workflow_run_id: str, handler: Callable[[StepRunEvent], Any] | None = None
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
from typing import AsyncContextManager, ParamSpec, TypeVar
|
|
2
|
+
|
|
3
|
+
from hatchet_sdk.clients.rest.api_client import ApiClient
|
|
4
|
+
from hatchet_sdk.clients.rest.configuration import Configuration
|
|
5
|
+
from hatchet_sdk.config import ClientConfig
|
|
6
|
+
from hatchet_sdk.utils.typing import JSONSerializableMapping
|
|
7
|
+
|
|
8
|
+
## Type variables to use with coroutines.
|
|
9
|
+
## See https://stackoverflow.com/questions/73240620/the-right-way-to-type-hint-a-coroutine-function
|
|
10
|
+
## Return type
|
|
11
|
+
R = TypeVar("R")
|
|
12
|
+
|
|
13
|
+
## Yield type
|
|
14
|
+
Y = TypeVar("Y")
|
|
15
|
+
|
|
16
|
+
## Send type
|
|
17
|
+
S = TypeVar("S")
|
|
18
|
+
|
|
19
|
+
P = ParamSpec("P")
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
def maybe_additional_metadata_to_kv(
|
|
23
|
+
additional_metadata: dict[str, str] | JSONSerializableMapping | None
|
|
24
|
+
) -> list[str] | None:
|
|
25
|
+
if not additional_metadata:
|
|
26
|
+
return None
|
|
27
|
+
|
|
28
|
+
return [f"{k}:{v}" for k, v in additional_metadata.items()]
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
class BaseRestClient:
|
|
32
|
+
def __init__(self, config: ClientConfig) -> None:
|
|
33
|
+
self.tenant_id = config.tenant_id
|
|
34
|
+
|
|
35
|
+
self.client_config = config
|
|
36
|
+
self.api_config = Configuration(
|
|
37
|
+
host=config.server_url,
|
|
38
|
+
access_token=config.token,
|
|
39
|
+
)
|
|
40
|
+
|
|
41
|
+
self.api_config.datetime_format = "%Y-%m-%dT%H:%M:%S.%fZ"
|
|
42
|
+
|
|
43
|
+
def client(self) -> AsyncContextManager[ApiClient]:
|
|
44
|
+
return ApiClient(self.api_config)
|