hatchet-sdk 1.0.3__tar.gz → 1.2.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.

Files changed (517) hide show
  1. hatchet_sdk-1.2.0/PKG-INFO +109 -0
  2. hatchet_sdk-1.2.0/README.md +70 -0
  3. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/__init__.py +2 -1
  4. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/client.py +3 -16
  5. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/admin.py +7 -32
  6. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/dispatcher/action_listener.py +4 -10
  7. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/dispatcher/dispatcher.py +35 -8
  8. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/durable_event_listener.py +11 -12
  9. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/events.py +11 -15
  10. {hatchet_sdk-1.0.3/hatchet_sdk/v0 → hatchet_sdk-1.2.0/hatchet_sdk}/clients/rest/models/tenant_resource.py +2 -0
  11. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/run_event_listener.py +55 -40
  12. hatchet_sdk-1.2.0/hatchet_sdk/clients/v1/api_client.py +44 -0
  13. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/workflow_listener.py +9 -10
  14. hatchet_sdk-1.2.0/hatchet_sdk/contracts/dispatcher_pb2.py +102 -0
  15. {hatchet_sdk-1.0.3/hatchet_sdk/v0 → hatchet_sdk-1.2.0/hatchet_sdk}/contracts/dispatcher_pb2.pyi +4 -2
  16. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/contracts/dispatcher_pb2_grpc.py +1 -1
  17. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/contracts/events_pb2_grpc.py +1 -1
  18. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/contracts/v1/dispatcher_pb2_grpc.py +1 -1
  19. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/contracts/v1/workflows_pb2_grpc.py +1 -1
  20. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/contracts/workflows_pb2_grpc.py +1 -1
  21. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/features/cron.py +5 -4
  22. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/features/logs.py +2 -1
  23. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/features/metrics.py +4 -3
  24. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/features/rate_limits.py +1 -1
  25. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/features/runs.py +8 -7
  26. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/features/scheduled.py +5 -4
  27. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/features/workers.py +4 -3
  28. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/features/workflows.py +4 -3
  29. hatchet_sdk-1.2.0/hatchet_sdk/metadata.py +2 -0
  30. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/runnables/standalone.py +3 -18
  31. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/runnables/task.py +4 -0
  32. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/runnables/workflow.py +28 -0
  33. hatchet_sdk-1.2.0/hatchet_sdk/utils/aio.py +43 -0
  34. {hatchet_sdk-1.0.3/hatchet_sdk → hatchet_sdk-1.2.0/hatchet_sdk/v0}/clients/rest/models/workflow_runs_metrics.py +1 -5
  35. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/worker/action_listener_process.py +7 -1
  36. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/worker/runner/run_loop_manager.py +1 -1
  37. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/worker/runner/runner.py +21 -5
  38. hatchet_sdk-1.2.0/hatchet_sdk/workflow_run.py +32 -0
  39. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/pyproject.toml +1 -1
  40. hatchet_sdk-1.0.3/PKG-INFO +0 -42
  41. hatchet_sdk-1.0.3/README.md +0 -3
  42. hatchet_sdk-1.0.3/hatchet_sdk/clients/v1/api_client.py +0 -81
  43. hatchet_sdk-1.0.3/hatchet_sdk/metadata.py +0 -2
  44. hatchet_sdk-1.0.3/hatchet_sdk/utils/aio_utils.py +0 -18
  45. hatchet_sdk-1.0.3/hatchet_sdk/v0/contracts/dispatcher_pb2.py +0 -102
  46. hatchet_sdk-1.0.3/hatchet_sdk/workflow_run.py +0 -45
  47. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/event_ts.py +0 -0
  48. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/__init__.py +0 -0
  49. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/api/__init__.py +0 -0
  50. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/api/api_token_api.py +0 -0
  51. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/api/default_api.py +0 -0
  52. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/api/event_api.py +0 -0
  53. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/api/github_api.py +0 -0
  54. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/api/healthcheck_api.py +0 -0
  55. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/api/log_api.py +0 -0
  56. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/api/metadata_api.py +0 -0
  57. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/api/rate_limits_api.py +0 -0
  58. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/api/slack_api.py +0 -0
  59. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/api/sns_api.py +0 -0
  60. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/api/step_run_api.py +0 -0
  61. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/api/task_api.py +0 -0
  62. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/api/tenant_api.py +0 -0
  63. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/api/user_api.py +0 -0
  64. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/api/worker_api.py +0 -0
  65. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/api/workflow_api.py +0 -0
  66. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/api/workflow_run_api.py +0 -0
  67. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/api/workflow_runs_api.py +0 -0
  68. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/api_client.py +0 -0
  69. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/api_response.py +0 -0
  70. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/configuration.py +0 -0
  71. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/exceptions.py +0 -0
  72. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/__init__.py +0 -0
  73. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/accept_invite_request.py +0 -0
  74. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/api_error.py +0 -0
  75. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/api_errors.py +0 -0
  76. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/api_meta.py +0 -0
  77. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/api_meta_auth.py +0 -0
  78. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/api_meta_integration.py +0 -0
  79. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/api_meta_posthog.py +0 -0
  80. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/api_resource_meta.py +0 -0
  81. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/api_token.py +0 -0
  82. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/bulk_create_event_request.py +0 -0
  83. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/bulk_create_event_response.py +0 -0
  84. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/cancel_event_request.py +0 -0
  85. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/cancel_step_run_request.py +0 -0
  86. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/concurrency_limit_strategy.py +0 -0
  87. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/create_api_token_request.py +0 -0
  88. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/create_api_token_response.py +0 -0
  89. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/create_cron_workflow_trigger_request.py +0 -0
  90. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/create_event_request.py +0 -0
  91. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/create_pull_request_from_step_run.py +0 -0
  92. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/create_sns_integration_request.py +0 -0
  93. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/create_tenant_alert_email_group_request.py +0 -0
  94. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/create_tenant_invite_request.py +0 -0
  95. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/create_tenant_request.py +0 -0
  96. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/cron_workflows.py +0 -0
  97. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/cron_workflows_list.py +0 -0
  98. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/cron_workflows_method.py +0 -0
  99. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/cron_workflows_order_by_field.py +0 -0
  100. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/event.py +0 -0
  101. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/event_data.py +0 -0
  102. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/event_key_list.py +0 -0
  103. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/event_list.py +0 -0
  104. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/event_order_by_direction.py +0 -0
  105. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/event_order_by_field.py +0 -0
  106. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/event_update_cancel200_response.py +0 -0
  107. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/event_workflow_run_summary.py +0 -0
  108. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/events.py +0 -0
  109. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/get_step_run_diff_response.py +0 -0
  110. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/github_app_installation.py +0 -0
  111. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/github_branch.py +0 -0
  112. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/github_repo.py +0 -0
  113. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/info_get_version200_response.py +0 -0
  114. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/job.py +0 -0
  115. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/job_run.py +0 -0
  116. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/job_run_status.py +0 -0
  117. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/link_github_repository_request.py +0 -0
  118. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/list_api_tokens_response.py +0 -0
  119. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/list_github_app_installations_response.py +0 -0
  120. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/list_pull_requests_response.py +0 -0
  121. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/list_slack_webhooks.py +0 -0
  122. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/list_sns_integrations.py +0 -0
  123. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/log_line.py +0 -0
  124. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/log_line_level.py +0 -0
  125. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/log_line_list.py +0 -0
  126. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/log_line_order_by_direction.py +0 -0
  127. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/log_line_order_by_field.py +0 -0
  128. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/pagination_response.py +0 -0
  129. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/pull_request.py +0 -0
  130. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/pull_request_state.py +0 -0
  131. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/queue_metrics.py +0 -0
  132. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/rate_limit.py +0 -0
  133. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/rate_limit_list.py +0 -0
  134. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/rate_limit_order_by_direction.py +0 -0
  135. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/rate_limit_order_by_field.py +0 -0
  136. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/recent_step_runs.py +0 -0
  137. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/reject_invite_request.py +0 -0
  138. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/replay_event_request.py +0 -0
  139. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/replay_workflow_runs_request.py +0 -0
  140. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/replay_workflow_runs_response.py +0 -0
  141. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/rerun_step_run_request.py +0 -0
  142. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/schedule_workflow_run_request.py +0 -0
  143. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/scheduled_run_status.py +0 -0
  144. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/scheduled_workflows.py +0 -0
  145. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/scheduled_workflows_list.py +0 -0
  146. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/scheduled_workflows_method.py +0 -0
  147. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/scheduled_workflows_order_by_field.py +0 -0
  148. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/semaphore_slots.py +0 -0
  149. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/slack_webhook.py +0 -0
  150. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/sns_integration.py +0 -0
  151. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/step.py +0 -0
  152. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/step_run.py +0 -0
  153. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/step_run_archive.py +0 -0
  154. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/step_run_archive_list.py +0 -0
  155. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/step_run_diff.py +0 -0
  156. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/step_run_event.py +0 -0
  157. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/step_run_event_list.py +0 -0
  158. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/step_run_event_reason.py +0 -0
  159. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/step_run_event_severity.py +0 -0
  160. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/step_run_status.py +0 -0
  161. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/tenant.py +0 -0
  162. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/tenant_alert_email_group.py +0 -0
  163. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/tenant_alert_email_group_list.py +0 -0
  164. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/tenant_alerting_settings.py +0 -0
  165. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/tenant_invite.py +0 -0
  166. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/tenant_invite_list.py +0 -0
  167. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/tenant_list.py +0 -0
  168. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/tenant_member.py +0 -0
  169. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/tenant_member_list.py +0 -0
  170. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/tenant_member_role.py +0 -0
  171. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/tenant_queue_metrics.py +0 -0
  172. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/tenant_resource_limit.py +0 -0
  173. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/tenant_resource_policy.py +0 -0
  174. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/tenant_step_run_queue_metrics.py +0 -0
  175. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/tenant_version.py +0 -0
  176. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/trigger_workflow_run_request.py +0 -0
  177. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/update_tenant_alert_email_group_request.py +0 -0
  178. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/update_tenant_invite_request.py +0 -0
  179. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/update_tenant_request.py +0 -0
  180. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/update_worker_request.py +0 -0
  181. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/user.py +0 -0
  182. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/user_change_password_request.py +0 -0
  183. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/user_login_request.py +0 -0
  184. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/user_register_request.py +0 -0
  185. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/user_tenant_memberships_list.py +0 -0
  186. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/user_tenant_public.py +0 -0
  187. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/v1_cancel_task_request.py +0 -0
  188. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/v1_dag_children.py +0 -0
  189. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/v1_log_line.py +0 -0
  190. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/v1_log_line_level.py +0 -0
  191. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/v1_log_line_list.py +0 -0
  192. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/v1_replay_task_request.py +0 -0
  193. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/v1_task.py +0 -0
  194. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/v1_task_event.py +0 -0
  195. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/v1_task_event_list.py +0 -0
  196. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/v1_task_event_type.py +0 -0
  197. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/v1_task_filter.py +0 -0
  198. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/v1_task_point_metric.py +0 -0
  199. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/v1_task_point_metrics.py +0 -0
  200. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/v1_task_run_metric.py +0 -0
  201. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/v1_task_run_status.py +0 -0
  202. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/v1_task_status.py +0 -0
  203. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/v1_task_summary.py +0 -0
  204. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/v1_task_summary_list.py +0 -0
  205. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/v1_trigger_workflow_run_request.py +0 -0
  206. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/v1_workflow_run.py +0 -0
  207. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/v1_workflow_run_details.py +0 -0
  208. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/v1_workflow_run_display_name.py +0 -0
  209. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/v1_workflow_run_display_name_list.py +0 -0
  210. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/v1_workflow_type.py +0 -0
  211. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/webhook_worker.py +0 -0
  212. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/webhook_worker_create_request.py +0 -0
  213. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/webhook_worker_create_response.py +0 -0
  214. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/webhook_worker_created.py +0 -0
  215. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/webhook_worker_list_response.py +0 -0
  216. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/webhook_worker_request.py +0 -0
  217. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/webhook_worker_request_list_response.py +0 -0
  218. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/webhook_worker_request_method.py +0 -0
  219. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/worker.py +0 -0
  220. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/worker_label.py +0 -0
  221. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/worker_list.py +0 -0
  222. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/worker_runtime_info.py +0 -0
  223. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/worker_runtime_sdks.py +0 -0
  224. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/worker_type.py +0 -0
  225. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/workflow.py +0 -0
  226. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/workflow_concurrency.py +0 -0
  227. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/workflow_deployment_config.py +0 -0
  228. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/workflow_kind.py +0 -0
  229. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/workflow_list.py +0 -0
  230. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/workflow_metrics.py +0 -0
  231. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/workflow_run.py +0 -0
  232. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/workflow_run_cancel200_response.py +0 -0
  233. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/workflow_run_list.py +0 -0
  234. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/workflow_run_order_by_direction.py +0 -0
  235. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/workflow_run_order_by_field.py +0 -0
  236. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/workflow_run_shape.py +0 -0
  237. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/workflow_run_shape_item_for_workflow_run_details.py +0 -0
  238. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/workflow_run_status.py +0 -0
  239. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/workflow_run_triggered_by.py +0 -0
  240. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/workflow_runs_cancel_request.py +0 -0
  241. {hatchet_sdk-1.0.3/hatchet_sdk/v0 → hatchet_sdk-1.2.0/hatchet_sdk}/clients/rest/models/workflow_runs_metrics.py +0 -0
  242. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/workflow_runs_metrics_counts.py +0 -0
  243. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/workflow_tag.py +0 -0
  244. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/workflow_trigger_cron_ref.py +0 -0
  245. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/workflow_trigger_event_ref.py +0 -0
  246. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/workflow_triggers.py +0 -0
  247. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/workflow_update_request.py +0 -0
  248. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/workflow_version.py +0 -0
  249. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/workflow_version_concurrency.py +0 -0
  250. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/workflow_version_definition.py +0 -0
  251. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/workflow_version_meta.py +0 -0
  252. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/models/workflow_workers_count.py +0 -0
  253. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/rest.py +0 -0
  254. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/clients/rest/tenacity_utils.py +0 -0
  255. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/config.py +0 -0
  256. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/connection.py +0 -0
  257. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/context/__init__.py +0 -0
  258. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/context/context.py +0 -0
  259. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/context/worker_context.py +0 -0
  260. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/contracts/events_pb2.py +0 -0
  261. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/contracts/events_pb2.pyi +0 -0
  262. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/contracts/v1/dispatcher_pb2.py +0 -0
  263. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/contracts/v1/dispatcher_pb2.pyi +0 -0
  264. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/contracts/v1/shared/condition_pb2.py +0 -0
  265. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/contracts/v1/shared/condition_pb2.pyi +0 -0
  266. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/contracts/v1/shared/condition_pb2_grpc.py +0 -0
  267. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/contracts/v1/workflows_pb2.py +0 -0
  268. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/contracts/v1/workflows_pb2.pyi +0 -0
  269. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/contracts/workflows_pb2.py +0 -0
  270. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/contracts/workflows_pb2.pyi +0 -0
  271. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/hatchet.py +0 -0
  272. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/labels.py +0 -0
  273. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/logger.py +0 -0
  274. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/opentelemetry/instrumentor.py +0 -0
  275. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/py.typed +0 -0
  276. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/rate_limit.py +0 -0
  277. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/runnables/contextvars.py +0 -0
  278. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/runnables/types.py +0 -0
  279. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/token.py +0 -0
  280. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/utils/backoff.py +0 -0
  281. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/utils/proto_enums.py +0 -0
  282. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/utils/timedelta_to_expression.py +0 -0
  283. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/utils/typing.py +0 -0
  284. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/__init__.py +0 -0
  285. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/client.py +0 -0
  286. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/admin.py +0 -0
  287. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/dispatcher/action_listener.py +0 -0
  288. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/dispatcher/dispatcher.py +0 -0
  289. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/event_ts.py +0 -0
  290. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/events.py +0 -0
  291. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/__init__.py +0 -0
  292. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/api/__init__.py +0 -0
  293. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/api/api_token_api.py +0 -0
  294. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/api/default_api.py +0 -0
  295. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/api/event_api.py +0 -0
  296. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/api/github_api.py +0 -0
  297. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/api/healthcheck_api.py +0 -0
  298. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/api/log_api.py +0 -0
  299. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/api/metadata_api.py +0 -0
  300. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/api/rate_limits_api.py +0 -0
  301. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/api/slack_api.py +0 -0
  302. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/api/sns_api.py +0 -0
  303. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/api/step_run_api.py +0 -0
  304. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/api/tenant_api.py +0 -0
  305. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/api/user_api.py +0 -0
  306. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/api/worker_api.py +0 -0
  307. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/api/workflow_api.py +0 -0
  308. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/api/workflow_run_api.py +0 -0
  309. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/api/workflow_runs_api.py +0 -0
  310. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/api_client.py +0 -0
  311. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/api_response.py +0 -0
  312. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/configuration.py +0 -0
  313. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/exceptions.py +0 -0
  314. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/__init__.py +0 -0
  315. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/accept_invite_request.py +0 -0
  316. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/api_error.py +0 -0
  317. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/api_errors.py +0 -0
  318. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/api_meta.py +0 -0
  319. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/api_meta_auth.py +0 -0
  320. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/api_meta_integration.py +0 -0
  321. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/api_meta_posthog.py +0 -0
  322. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/api_resource_meta.py +0 -0
  323. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/api_token.py +0 -0
  324. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/bulk_create_event_request.py +0 -0
  325. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/bulk_create_event_response.py +0 -0
  326. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/cancel_event_request.py +0 -0
  327. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/cancel_step_run_request.py +0 -0
  328. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/concurrency_limit_strategy.py +0 -0
  329. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/create_api_token_request.py +0 -0
  330. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/create_api_token_response.py +0 -0
  331. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/create_cron_workflow_trigger_request.py +0 -0
  332. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/create_event_request.py +0 -0
  333. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/create_pull_request_from_step_run.py +0 -0
  334. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/create_sns_integration_request.py +0 -0
  335. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/create_tenant_alert_email_group_request.py +0 -0
  336. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/create_tenant_invite_request.py +0 -0
  337. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/create_tenant_request.py +0 -0
  338. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/cron_workflows.py +0 -0
  339. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/cron_workflows_list.py +0 -0
  340. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/cron_workflows_method.py +0 -0
  341. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/cron_workflows_order_by_field.py +0 -0
  342. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/event.py +0 -0
  343. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/event_data.py +0 -0
  344. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/event_key_list.py +0 -0
  345. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/event_list.py +0 -0
  346. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/event_order_by_direction.py +0 -0
  347. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/event_order_by_field.py +0 -0
  348. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/event_update_cancel200_response.py +0 -0
  349. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/event_workflow_run_summary.py +0 -0
  350. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/events.py +0 -0
  351. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/get_step_run_diff_response.py +0 -0
  352. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/github_app_installation.py +0 -0
  353. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/github_branch.py +0 -0
  354. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/github_repo.py +0 -0
  355. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/info_get_version200_response.py +0 -0
  356. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/job.py +0 -0
  357. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/job_run.py +0 -0
  358. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/job_run_status.py +0 -0
  359. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/link_github_repository_request.py +0 -0
  360. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/list_api_tokens_response.py +0 -0
  361. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/list_github_app_installations_response.py +0 -0
  362. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/list_pull_requests_response.py +0 -0
  363. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/list_slack_webhooks.py +0 -0
  364. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/list_sns_integrations.py +0 -0
  365. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/log_line.py +0 -0
  366. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/log_line_level.py +0 -0
  367. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/log_line_list.py +0 -0
  368. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/log_line_order_by_direction.py +0 -0
  369. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/log_line_order_by_field.py +0 -0
  370. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/pagination_response.py +0 -0
  371. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/pull_request.py +0 -0
  372. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/pull_request_state.py +0 -0
  373. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/queue_metrics.py +0 -0
  374. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/rate_limit.py +0 -0
  375. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/rate_limit_list.py +0 -0
  376. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/rate_limit_order_by_direction.py +0 -0
  377. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/rate_limit_order_by_field.py +0 -0
  378. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/recent_step_runs.py +0 -0
  379. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/reject_invite_request.py +0 -0
  380. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/replay_event_request.py +0 -0
  381. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/replay_workflow_runs_request.py +0 -0
  382. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/replay_workflow_runs_response.py +0 -0
  383. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/rerun_step_run_request.py +0 -0
  384. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/schedule_workflow_run_request.py +0 -0
  385. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/scheduled_run_status.py +0 -0
  386. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/scheduled_workflows.py +0 -0
  387. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/scheduled_workflows_list.py +0 -0
  388. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/scheduled_workflows_method.py +0 -0
  389. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/scheduled_workflows_order_by_field.py +0 -0
  390. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/semaphore_slots.py +0 -0
  391. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/slack_webhook.py +0 -0
  392. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/sns_integration.py +0 -0
  393. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/step.py +0 -0
  394. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/step_run.py +0 -0
  395. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/step_run_archive.py +0 -0
  396. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/step_run_archive_list.py +0 -0
  397. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/step_run_diff.py +0 -0
  398. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/step_run_event.py +0 -0
  399. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/step_run_event_list.py +0 -0
  400. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/step_run_event_reason.py +0 -0
  401. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/step_run_event_severity.py +0 -0
  402. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/step_run_status.py +0 -0
  403. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/tenant.py +0 -0
  404. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/tenant_alert_email_group.py +0 -0
  405. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/tenant_alert_email_group_list.py +0 -0
  406. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/tenant_alerting_settings.py +0 -0
  407. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/tenant_invite.py +0 -0
  408. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/tenant_invite_list.py +0 -0
  409. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/tenant_list.py +0 -0
  410. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/tenant_member.py +0 -0
  411. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/tenant_member_list.py +0 -0
  412. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/tenant_member_role.py +0 -0
  413. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/tenant_queue_metrics.py +0 -0
  414. {hatchet_sdk-1.0.3/hatchet_sdk → hatchet_sdk-1.2.0/hatchet_sdk/v0}/clients/rest/models/tenant_resource.py +0 -0
  415. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/tenant_resource_limit.py +0 -0
  416. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/tenant_resource_policy.py +0 -0
  417. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/tenant_step_run_queue_metrics.py +0 -0
  418. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/trigger_workflow_run_request.py +0 -0
  419. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/update_tenant_alert_email_group_request.py +0 -0
  420. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/update_tenant_invite_request.py +0 -0
  421. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/update_tenant_request.py +0 -0
  422. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/update_worker_request.py +0 -0
  423. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/user.py +0 -0
  424. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/user_change_password_request.py +0 -0
  425. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/user_login_request.py +0 -0
  426. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/user_register_request.py +0 -0
  427. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/user_tenant_memberships_list.py +0 -0
  428. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/user_tenant_public.py +0 -0
  429. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/webhook_worker.py +0 -0
  430. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/webhook_worker_create_request.py +0 -0
  431. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/webhook_worker_create_response.py +0 -0
  432. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/webhook_worker_created.py +0 -0
  433. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/webhook_worker_list_response.py +0 -0
  434. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/webhook_worker_request.py +0 -0
  435. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/webhook_worker_request_list_response.py +0 -0
  436. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/webhook_worker_request_method.py +0 -0
  437. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/worker.py +0 -0
  438. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/worker_label.py +0 -0
  439. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/worker_list.py +0 -0
  440. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/worker_runtime_info.py +0 -0
  441. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/worker_runtime_sdks.py +0 -0
  442. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/worker_type.py +0 -0
  443. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/workflow.py +0 -0
  444. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/workflow_concurrency.py +0 -0
  445. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/workflow_deployment_config.py +0 -0
  446. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/workflow_kind.py +0 -0
  447. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/workflow_list.py +0 -0
  448. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/workflow_metrics.py +0 -0
  449. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/workflow_run.py +0 -0
  450. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/workflow_run_cancel200_response.py +0 -0
  451. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/workflow_run_list.py +0 -0
  452. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/workflow_run_order_by_direction.py +0 -0
  453. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/workflow_run_order_by_field.py +0 -0
  454. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/workflow_run_shape.py +0 -0
  455. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/workflow_run_status.py +0 -0
  456. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/workflow_run_triggered_by.py +0 -0
  457. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/workflow_runs_cancel_request.py +0 -0
  458. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/workflow_runs_metrics_counts.py +0 -0
  459. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/workflow_tag.py +0 -0
  460. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/workflow_trigger_cron_ref.py +0 -0
  461. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/workflow_trigger_event_ref.py +0 -0
  462. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/workflow_triggers.py +0 -0
  463. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/workflow_update_request.py +0 -0
  464. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/workflow_version.py +0 -0
  465. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/workflow_version_concurrency.py +0 -0
  466. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/workflow_version_definition.py +0 -0
  467. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/workflow_version_meta.py +0 -0
  468. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/models/workflow_workers_count.py +0 -0
  469. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/rest.py +0 -0
  470. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest/tenacity_utils.py +0 -0
  471. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/rest_client.py +0 -0
  472. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/run_event_listener.py +0 -0
  473. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/clients/workflow_listener.py +0 -0
  474. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/connection.py +0 -0
  475. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/context/__init__.py +0 -0
  476. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/context/context.py +0 -0
  477. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/context/worker_context.py +0 -0
  478. {hatchet_sdk-1.0.3/hatchet_sdk → hatchet_sdk-1.2.0/hatchet_sdk/v0}/contracts/dispatcher_pb2.py +0 -0
  479. {hatchet_sdk-1.0.3/hatchet_sdk → hatchet_sdk-1.2.0/hatchet_sdk/v0}/contracts/dispatcher_pb2.pyi +0 -0
  480. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/contracts/dispatcher_pb2_grpc.py +0 -0
  481. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/contracts/events_pb2.py +0 -0
  482. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/contracts/events_pb2.pyi +0 -0
  483. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/contracts/events_pb2_grpc.py +0 -0
  484. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/contracts/workflows_pb2.py +0 -0
  485. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/contracts/workflows_pb2.pyi +0 -0
  486. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/contracts/workflows_pb2_grpc.py +0 -0
  487. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/features/cron.py +0 -0
  488. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/features/scheduled.py +0 -0
  489. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/hatchet.py +0 -0
  490. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/labels.py +0 -0
  491. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/loader.py +0 -0
  492. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/logger.py +0 -0
  493. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/metadata.py +0 -0
  494. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/opentelemetry/instrumentor.py +0 -0
  495. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/rate_limit.py +0 -0
  496. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/semver.py +0 -0
  497. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/token.py +0 -0
  498. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/utils/aio_utils.py +0 -0
  499. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/utils/backoff.py +0 -0
  500. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/utils/types.py +0 -0
  501. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/utils/typing.py +0 -0
  502. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/v2/callable.py +0 -0
  503. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/v2/concurrency.py +0 -0
  504. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/v2/hatchet.py +0 -0
  505. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/worker/__init__.py +0 -0
  506. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/worker/action_listener_process.py +0 -0
  507. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/worker/runner/run_loop_manager.py +0 -0
  508. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/worker/runner/runner.py +0 -0
  509. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/worker/runner/utils/capture_logs.py +0 -0
  510. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/worker/runner/utils/error_with_traceback.py +0 -0
  511. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/worker/worker.py +0 -0
  512. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/workflow.py +0 -0
  513. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/v0/workflow_run.py +0 -0
  514. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/waits.py +0 -0
  515. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/worker/__init__.py +0 -0
  516. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/worker/runner/utils/capture_logs.py +0 -0
  517. {hatchet_sdk-1.0.3 → hatchet_sdk-1.2.0}/hatchet_sdk/worker/worker.py +0 -0
@@ -0,0 +1,109 @@
1
+ Metadata-Version: 2.1
2
+ Name: hatchet-sdk
3
+ Version: 1.2.0
4
+ Summary:
5
+ Author: Alexander Belanger
6
+ Author-email: alexander@hatchet.run
7
+ Requires-Python: >=3.10,<4.0
8
+ Classifier: Programming Language :: Python :: 3
9
+ Classifier: Programming Language :: Python :: 3.10
10
+ Classifier: Programming Language :: Python :: 3.11
11
+ Classifier: Programming Language :: Python :: 3.12
12
+ Provides-Extra: otel
13
+ Requires-Dist: aiohttp (>=3.10.5,<4.0.0)
14
+ Requires-Dist: aiohttp-retry (>=2.8.3,<3.0.0)
15
+ Requires-Dist: aiostream (>=0.5.2,<0.6.0)
16
+ Requires-Dist: cel-python (>=0.2.0,<0.3.0)
17
+ Requires-Dist: grpcio (>=1.64.1,!=1.68.*) ; python_version < "3.13"
18
+ Requires-Dist: grpcio (>=1.69.0) ; python_version >= "3.13"
19
+ Requires-Dist: grpcio-tools (>=1.64.1,!=1.68.*) ; python_version < "3.13"
20
+ Requires-Dist: grpcio-tools (>=1.69.0) ; python_version >= "3.13"
21
+ Requires-Dist: nest-asyncio (>=1.6.0,<2.0.0)
22
+ Requires-Dist: opentelemetry-api (>=1.28.0,<2.0.0) ; extra == "otel"
23
+ Requires-Dist: opentelemetry-distro (>=0.49b0) ; extra == "otel"
24
+ Requires-Dist: opentelemetry-exporter-otlp (>=1.28.0,<2.0.0) ; extra == "otel"
25
+ Requires-Dist: opentelemetry-exporter-otlp-proto-http (>=1.28.0,<2.0.0) ; extra == "otel"
26
+ Requires-Dist: opentelemetry-instrumentation (>=0.49b0) ; extra == "otel"
27
+ Requires-Dist: opentelemetry-sdk (>=1.28.0,<2.0.0) ; extra == "otel"
28
+ Requires-Dist: prometheus-client (>=0.21.1,<0.22.0)
29
+ Requires-Dist: protobuf (>=5.29.1,<6.0.0)
30
+ Requires-Dist: pydantic (>=2.6.3,<3.0.0)
31
+ Requires-Dist: pydantic-settings (>=2.7.1,<3.0.0)
32
+ Requires-Dist: pytest-timeout (>=2.3.1,<3.0.0)
33
+ Requires-Dist: python-dateutil (>=2.9.0.post0,<3.0.0)
34
+ Requires-Dist: pyyaml (>=6.0.1,<7.0.0)
35
+ Requires-Dist: tenacity (>=8.4.1)
36
+ Requires-Dist: urllib3 (>=1.26.20)
37
+ Description-Content-Type: text/markdown
38
+
39
+ # Hatchet Python SDK
40
+
41
+ <div align="center">
42
+
43
+ [![PyPI version](https://badge.fury.io/py/hatchet-sdk.svg)](https://badge.fury.io/py/hatchet-sdk)
44
+ [![Documentation](https://img.shields.io/badge/docs-hatchet.run-blue)](https://docs.hatchet.run)
45
+ [![License: MIT](https://img.shields.io/badge/License-MIT-purple.svg)](https://opensource.org/licenses/MIT)
46
+
47
+ </div>
48
+
49
+ This is the official Python SDK for [Hatchet](https://hatchet.run), a distributed, fault-tolerant task queue. The SDK allows you to easily integrate Hatchet's task scheduling and workflow orchestration capabilities into your Python applications.
50
+
51
+ ## Installation
52
+
53
+ Install the SDK using pip:
54
+
55
+ ```bash
56
+ pip install hatchet-sdk
57
+ ```
58
+
59
+ Or using poetry:
60
+
61
+ ```bash
62
+ poetry add hatchet-sdk
63
+ ```
64
+
65
+ ## Quick Start
66
+
67
+ Here's a simple example of how to use the Hatchet Python SDK:
68
+
69
+ ```python
70
+ from hatchet_sdk import Context, EmptyModel, Hatchet
71
+
72
+ hatchet = Hatchet(debug=True)
73
+
74
+
75
+ @hatchet.task(name="SimpleWorkflow")
76
+ def step1(input: EmptyModel, ctx: Context) -> None:
77
+ print("executed step1")
78
+
79
+
80
+ def main() -> None:
81
+ worker = hatchet.worker("test-worker", slots=1, workflows=[step1])
82
+ worker.start()
83
+
84
+ if __name__ == "__main__":
85
+ main()
86
+ ```
87
+
88
+ ## Features
89
+
90
+ - 🔄 **Workflow Orchestration**: Define complex workflows with dependencies and parallel execution
91
+ - 🔁 **Automatic Retries**: Configure retry policies for handling transient failures
92
+ - 📊 **Observability**: Track workflow progress and monitor execution metrics
93
+ - ⏰ **Scheduling**: Schedule workflows to run at specific times or on a recurring basis
94
+ - 🔄 **Event-Driven**: Trigger workflows based on events in your system
95
+
96
+ ## Documentation
97
+
98
+ For detailed documentation, examples, and best practices, visit:
99
+ - [Hatchet Documentation](https://docs.hatchet.run)
100
+ - [Examples](https://github.com/hatchet-dev/hatchet/tree/main/sdks/python/examples)
101
+
102
+ ## Contributing
103
+
104
+ We welcome contributions! Please check out our [contributing guidelines](https://docs.hatchet.run/contributing) and join our [Discord community](https://discord.gg/ZMeUafwH89) for discussions and support.
105
+
106
+ ## License
107
+
108
+ This SDK is released under the MIT License. See [LICENSE](https://github.com/hatchet-dev/hatchet/blob/main/LICENSE) for details.
109
+
@@ -0,0 +1,70 @@
1
+ # Hatchet Python SDK
2
+
3
+ <div align="center">
4
+
5
+ [![PyPI version](https://badge.fury.io/py/hatchet-sdk.svg)](https://badge.fury.io/py/hatchet-sdk)
6
+ [![Documentation](https://img.shields.io/badge/docs-hatchet.run-blue)](https://docs.hatchet.run)
7
+ [![License: MIT](https://img.shields.io/badge/License-MIT-purple.svg)](https://opensource.org/licenses/MIT)
8
+
9
+ </div>
10
+
11
+ This is the official Python SDK for [Hatchet](https://hatchet.run), a distributed, fault-tolerant task queue. The SDK allows you to easily integrate Hatchet's task scheduling and workflow orchestration capabilities into your Python applications.
12
+
13
+ ## Installation
14
+
15
+ Install the SDK using pip:
16
+
17
+ ```bash
18
+ pip install hatchet-sdk
19
+ ```
20
+
21
+ Or using poetry:
22
+
23
+ ```bash
24
+ poetry add hatchet-sdk
25
+ ```
26
+
27
+ ## Quick Start
28
+
29
+ Here's a simple example of how to use the Hatchet Python SDK:
30
+
31
+ ```python
32
+ from hatchet_sdk import Context, EmptyModel, Hatchet
33
+
34
+ hatchet = Hatchet(debug=True)
35
+
36
+
37
+ @hatchet.task(name="SimpleWorkflow")
38
+ def step1(input: EmptyModel, ctx: Context) -> None:
39
+ print("executed step1")
40
+
41
+
42
+ def main() -> None:
43
+ worker = hatchet.worker("test-worker", slots=1, workflows=[step1])
44
+ worker.start()
45
+
46
+ if __name__ == "__main__":
47
+ main()
48
+ ```
49
+
50
+ ## Features
51
+
52
+ - 🔄 **Workflow Orchestration**: Define complex workflows with dependencies and parallel execution
53
+ - 🔁 **Automatic Retries**: Configure retry policies for handling transient failures
54
+ - 📊 **Observability**: Track workflow progress and monitor execution metrics
55
+ - ⏰ **Scheduling**: Schedule workflows to run at specific times or on a recurring basis
56
+ - 🔄 **Event-Driven**: Trigger workflows based on events in your system
57
+
58
+ ## Documentation
59
+
60
+ For detailed documentation, examples, and best practices, visit:
61
+ - [Hatchet Documentation](https://docs.hatchet.run)
62
+ - [Examples](https://github.com/hatchet-dev/hatchet/tree/main/sdks/python/examples)
63
+
64
+ ## Contributing
65
+
66
+ We welcome contributions! Please check out our [contributing guidelines](https://docs.hatchet.run/contributing) and join our [Discord community](https://discord.gg/ZMeUafwH89) for discussions and support.
67
+
68
+ ## License
69
+
70
+ This SDK is released under the MIT License. See [LICENSE](https://github.com/hatchet-dev/hatchet/blob/main/LICENSE) for details.
@@ -138,7 +138,7 @@ from hatchet_sdk.contracts.workflows_pb2 import (
138
138
  )
139
139
  from hatchet_sdk.features.runs import BulkCancelReplayOpts, RunFilter
140
140
  from hatchet_sdk.hatchet import Hatchet
141
- from hatchet_sdk.runnables.task import Task
141
+ from hatchet_sdk.runnables.task import NonRetryableException, Task
142
142
  from hatchet_sdk.runnables.types import (
143
143
  ConcurrencyExpression,
144
144
  ConcurrencyLimitStrategy,
@@ -269,4 +269,5 @@ __all__ = [
269
269
  "BulkCancelReplayOpts",
270
270
  "RunFilter",
271
271
  "V1TaskStatus",
272
+ "NonRetryableException",
272
273
  ]
@@ -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, new_event
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 new_event(conn, config)
30
+ self.event = event_client or EventClient(config)
44
31
  self.listener = RunEventListenerClient(config)
45
32
  self.workflow_listener = workflow_listener
46
- self.logInterceptor = config.logger
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
@@ -64,14 +62,11 @@ class AdminClient:
64
62
  def __init__(self, config: ClientConfig):
65
63
  conn = new_conn(config, False)
66
64
  self.config = config
67
- self.client = AdminServiceStub(conn) # type: ignore[no-untyped-call]
68
- self.v0_client = WorkflowServiceStub(conn) # type: ignore[no-untyped-call]
65
+ self.client = AdminServiceStub(conn)
66
+ self.v0_client = WorkflowServiceStub(conn)
69
67
  self.token = config.token
70
- self.listener_client = RunEventListenerClient(config=config)
71
68
  self.namespace = config.namespace
72
69
 
73
- self.pooled_workflow_listener: PooledWorkflowRunListener | None = None
74
-
75
70
  class TriggerWorkflowRequest(BaseModel):
76
71
  model_config = ConfigDict(extra="ignore")
77
72
 
@@ -307,9 +302,6 @@ class AdminClient:
307
302
  ) -> WorkflowRunRef:
308
303
  request = self._create_workflow_run_request(workflow_name, input, options)
309
304
 
310
- if not self.pooled_workflow_listener:
311
- self.pooled_workflow_listener = PooledWorkflowRunListener(self.config)
312
-
313
305
  try:
314
306
  resp = cast(
315
307
  v0_workflow_protos.TriggerWorkflowResponse,
@@ -325,8 +317,7 @@ class AdminClient:
325
317
 
326
318
  return WorkflowRunRef(
327
319
  workflow_run_id=resp.workflow_run_id,
328
- workflow_listener=self.pooled_workflow_listener,
329
- workflow_run_event_listener=self.listener_client,
320
+ config=self.config,
330
321
  )
331
322
 
332
323
  ## IMPORTANT: Keep this method's signature in sync with the wrapper in the OTel instrumentor
@@ -343,9 +334,6 @@ class AdminClient:
343
334
  async with spawn_index_lock:
344
335
  request = self._create_workflow_run_request(workflow_name, input, options)
345
336
 
346
- if not self.pooled_workflow_listener:
347
- self.pooled_workflow_listener = PooledWorkflowRunListener(self.config)
348
-
349
337
  try:
350
338
  resp = cast(
351
339
  v0_workflow_protos.TriggerWorkflowResponse,
@@ -362,8 +350,7 @@ class AdminClient:
362
350
 
363
351
  return WorkflowRunRef(
364
352
  workflow_run_id=resp.workflow_run_id,
365
- workflow_listener=self.pooled_workflow_listener,
366
- workflow_run_event_listener=self.listener_client,
353
+ config=self.config,
367
354
  )
368
355
 
369
356
  ## IMPORTANT: Keep this method's signature in sync with the wrapper in the OTel instrumentor
@@ -372,9 +359,6 @@ class AdminClient:
372
359
  self,
373
360
  workflows: list[WorkflowRunTriggerConfig],
374
361
  ) -> list[WorkflowRunRef]:
375
- if not self.pooled_workflow_listener:
376
- self.pooled_workflow_listener = PooledWorkflowRunListener(self.config)
377
-
378
362
  bulk_request = v0_workflow_protos.BulkTriggerWorkflowRequest(
379
363
  workflows=[
380
364
  self._create_workflow_run_request(
@@ -395,8 +379,7 @@ class AdminClient:
395
379
  return [
396
380
  WorkflowRunRef(
397
381
  workflow_run_id=workflow_run_id,
398
- workflow_listener=self.pooled_workflow_listener,
399
- workflow_run_event_listener=self.listener_client,
382
+ config=self.config,
400
383
  )
401
384
  for workflow_run_id in resp.workflow_run_ids
402
385
  ]
@@ -409,9 +392,6 @@ class AdminClient:
409
392
  ## IMPORTANT: The `pooled_workflow_listener` must be created 1) lazily, and not at `init` time, and 2) on the
410
393
  ## main thread. If 1) is not followed, you'll get an error about something being attached to the wrong event
411
394
  ## loop. If 2) is not followed, you'll get an error about the event loop not being set up.
412
- if not self.pooled_workflow_listener:
413
- self.pooled_workflow_listener = PooledWorkflowRunListener(self.config)
414
-
415
395
  async with spawn_index_lock:
416
396
  bulk_request = v0_workflow_protos.BulkTriggerWorkflowRequest(
417
397
  workflows=[
@@ -433,18 +413,13 @@ class AdminClient:
433
413
  return [
434
414
  WorkflowRunRef(
435
415
  workflow_run_id=workflow_run_id,
436
- workflow_listener=self.pooled_workflow_listener,
437
- workflow_run_event_listener=self.listener_client,
416
+ config=self.config,
438
417
  )
439
418
  for workflow_run_id in resp.workflow_run_ids
440
419
  ]
441
420
 
442
421
  def get_workflow_run(self, workflow_run_id: str) -> WorkflowRunRef:
443
- if not self.pooled_workflow_listener:
444
- self.pooled_workflow_listener = PooledWorkflowRunListener(self.config)
445
-
446
422
  return WorkflowRunRef(
447
423
  workflow_run_id=workflow_run_id,
448
- workflow_listener=self.pooled_workflow_listener,
449
- workflow_run_event_listener=self.listener_client,
424
+ config=self.config,
450
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)) # type: ignore[no-untyped-call]
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
- try:
236
- loop = asyncio.get_event_loop()
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]:
@@ -386,7 +380,7 @@ class ActionListener:
386
380
  f"action listener connection interrupted, retrying... ({self.retries}/{DEFAULT_ACTION_LISTENER_RETRY_COUNT})"
387
381
  )
388
382
 
389
- self.aio_client = DispatcherStub(new_conn(self.config, True)) # type: ignore[no-untyped-call]
383
+ self.aio_client = DispatcherStub(new_conn(self.config, True))
390
384
 
391
385
  if self.listen_strategy == "v2":
392
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) # type: ignore[no-untyped-call]
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
@@ -73,10 +76,16 @@ class DispatcherClient:
73
76
  return ActionListener(self.config, response.workerId)
74
77
 
75
78
  async def send_step_action_event(
76
- self, action: Action, event_type: StepActionEventType, payload: str
79
+ self,
80
+ action: Action,
81
+ event_type: StepActionEventType,
82
+ payload: str,
83
+ should_not_retry: bool,
77
84
  ) -> grpc.aio.UnaryUnaryCall[StepActionEvent, ActionEventResponse] | None:
78
85
  try:
79
- return await self._try_send_step_action_event(action, event_type, payload)
86
+ return await self._try_send_step_action_event(
87
+ action, event_type, payload, should_not_retry
88
+ )
80
89
  except Exception as e:
81
90
  # for step action events, send a failure event when we cannot send the completed event
82
91
  if (
@@ -87,14 +96,23 @@ class DispatcherClient:
87
96
  action,
88
97
  STEP_EVENT_TYPE_FAILED,
89
98
  "Failed to send finished event: " + str(e),
99
+ should_not_retry=True,
90
100
  )
91
101
 
92
102
  return None
93
103
 
94
104
  @tenacity_retry
95
105
  async def _try_send_step_action_event(
96
- self, action: Action, event_type: StepActionEventType, payload: str
106
+ self,
107
+ action: Action,
108
+ event_type: StepActionEventType,
109
+ payload: str,
110
+ should_not_retry: bool,
97
111
  ) -> grpc.aio.UnaryUnaryCall[StepActionEvent, ActionEventResponse]:
112
+ if not self.aio_client:
113
+ aio_conn = new_conn(self.config, True)
114
+ self.aio_client = DispatcherStub(aio_conn)
115
+
98
116
  event_timestamp = Timestamp()
99
117
  event_timestamp.GetCurrentTime()
100
118
 
@@ -109,6 +127,7 @@ class DispatcherClient:
109
127
  eventType=event_type,
110
128
  eventPayload=payload,
111
129
  retryCount=action.retry_count,
130
+ shouldNotRetry=should_not_retry,
112
131
  )
113
132
 
114
133
  return cast(
@@ -122,6 +141,10 @@ class DispatcherClient:
122
141
  async def send_group_key_action_event(
123
142
  self, action: Action, event_type: GroupKeyActionEventType, payload: str
124
143
  ) -> grpc.aio.UnaryUnaryCall[GroupKeyActionEvent, ActionEventResponse]:
144
+ if not self.aio_client:
145
+ aio_conn = new_conn(self.config, True)
146
+ self.aio_client = DispatcherStub(aio_conn)
147
+
125
148
  event_timestamp = Timestamp()
126
149
  event_timestamp.GetCurrentTime()
127
150
 
@@ -191,6 +214,10 @@ class DispatcherClient:
191
214
  worker_id: str | None,
192
215
  labels: dict[str, str | int],
193
216
  ) -> None:
217
+ if not self.aio_client:
218
+ aio_conn = new_conn(self.config, True)
219
+ self.aio_client = DispatcherStub(aio_conn)
220
+
194
221
  worker_labels = {}
195
222
 
196
223
  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
- self.client.ListenForDurableEvent(
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.client.RegisterDurableEvent(
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, client: EventsServiceStub, config: ClientConfig):
56
- self.client = client
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
- response = self.client.BulkPush(bulk_request, metadata=get_metadata(self.token))
150
-
151
- return cast(
152
- list[Event],
153
- response.events,
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:
@@ -29,8 +29,10 @@ class TenantResource(str, Enum):
29
29
  allowed enum values
30
30
  """
31
31
  WORKER = "WORKER"
32
+ WORKER_SLOT = "WORKER_SLOT"
32
33
  EVENT = "EVENT"
33
34
  WORKFLOW_RUN = "WORKFLOW_RUN"
35
+ TASK_RUN = "TASK_RUN"
34
36
  CRON = "CRON"
35
37
  SCHEDULE = "SCHEDULE"
36
38