hatchet-sdk 1.15.2__tar.gz → 1.16.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 (519) hide show
  1. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/PKG-INFO +1 -1
  2. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/admin.py +3 -1
  3. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/dispatcher/action_listener.py +13 -13
  4. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/event_ts.py +1 -1
  5. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/listeners/pooled_listener.py +4 -4
  6. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/tenacity_utils.py +1 -1
  7. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/v1/api_client.py +3 -3
  8. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/context/context.py +6 -6
  9. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/features/runs.py +21 -1
  10. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/opentelemetry/instrumentor.py +3 -3
  11. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/runnables/contextvars.py +4 -0
  12. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/runnables/task.py +133 -0
  13. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/runnables/workflow.py +218 -11
  14. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/utils/serde.py +8 -10
  15. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/worker/action_listener_process.py +11 -11
  16. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/worker/runner/runner.py +39 -21
  17. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/worker/runner/utils/capture_logs.py +30 -15
  18. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/worker/worker.py +11 -14
  19. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/pyproject.toml +5 -1
  20. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/README.md +0 -0
  21. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/__init__.py +0 -0
  22. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/client.py +0 -0
  23. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/dispatcher/dispatcher.py +0 -0
  24. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/events.py +0 -0
  25. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/listeners/durable_event_listener.py +0 -0
  26. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/listeners/run_event_listener.py +0 -0
  27. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/listeners/workflow_listener.py +0 -0
  28. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/__init__.py +0 -0
  29. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/api/__init__.py +0 -0
  30. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/api/api_token_api.py +0 -0
  31. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/api/default_api.py +0 -0
  32. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/api/event_api.py +0 -0
  33. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/api/filter_api.py +0 -0
  34. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/api/github_api.py +0 -0
  35. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/api/healthcheck_api.py +0 -0
  36. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/api/log_api.py +0 -0
  37. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/api/metadata_api.py +0 -0
  38. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/api/rate_limits_api.py +0 -0
  39. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/api/slack_api.py +0 -0
  40. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/api/sns_api.py +0 -0
  41. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/api/step_run_api.py +0 -0
  42. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/api/task_api.py +0 -0
  43. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/api/tenant_api.py +0 -0
  44. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/api/user_api.py +0 -0
  45. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/api/worker_api.py +0 -0
  46. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/api/workflow_api.py +0 -0
  47. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/api/workflow_run_api.py +0 -0
  48. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/api/workflow_runs_api.py +0 -0
  49. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/api_client.py +0 -0
  50. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/api_response.py +0 -0
  51. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/configuration.py +0 -0
  52. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/exceptions.py +0 -0
  53. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/__init__.py +0 -0
  54. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/accept_invite_request.py +0 -0
  55. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/api_error.py +0 -0
  56. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/api_errors.py +0 -0
  57. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/api_meta.py +0 -0
  58. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/api_meta_auth.py +0 -0
  59. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/api_meta_integration.py +0 -0
  60. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/api_meta_posthog.py +0 -0
  61. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/api_resource_meta.py +0 -0
  62. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/api_token.py +0 -0
  63. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/bulk_create_event_request.py +0 -0
  64. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/bulk_create_event_response.py +0 -0
  65. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/cancel_event_request.py +0 -0
  66. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/cancel_step_run_request.py +0 -0
  67. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/concurrency_limit_strategy.py +0 -0
  68. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/create_api_token_request.py +0 -0
  69. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/create_api_token_response.py +0 -0
  70. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/create_cron_workflow_trigger_request.py +0 -0
  71. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/create_event_request.py +0 -0
  72. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/create_pull_request_from_step_run.py +0 -0
  73. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/create_sns_integration_request.py +0 -0
  74. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/create_tenant_alert_email_group_request.py +0 -0
  75. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/create_tenant_invite_request.py +0 -0
  76. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/create_tenant_request.py +0 -0
  77. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/cron_workflows.py +0 -0
  78. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/cron_workflows_list.py +0 -0
  79. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/cron_workflows_method.py +0 -0
  80. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/cron_workflows_order_by_field.py +0 -0
  81. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/event.py +0 -0
  82. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/event_data.py +0 -0
  83. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/event_key_list.py +0 -0
  84. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/event_list.py +0 -0
  85. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/event_order_by_direction.py +0 -0
  86. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/event_order_by_field.py +0 -0
  87. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/event_update_cancel200_response.py +0 -0
  88. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/event_workflow_run_summary.py +0 -0
  89. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/events.py +0 -0
  90. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/get_step_run_diff_response.py +0 -0
  91. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/github_app_installation.py +0 -0
  92. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/github_branch.py +0 -0
  93. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/github_repo.py +0 -0
  94. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/info_get_version200_response.py +0 -0
  95. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/job.py +0 -0
  96. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/job_run.py +0 -0
  97. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/job_run_status.py +0 -0
  98. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/link_github_repository_request.py +0 -0
  99. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/list_api_tokens_response.py +0 -0
  100. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/list_github_app_installations_response.py +0 -0
  101. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/list_pull_requests_response.py +0 -0
  102. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/list_slack_webhooks.py +0 -0
  103. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/list_sns_integrations.py +0 -0
  104. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/log_line.py +0 -0
  105. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/log_line_level.py +0 -0
  106. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/log_line_list.py +0 -0
  107. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/log_line_order_by_direction.py +0 -0
  108. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/log_line_order_by_field.py +0 -0
  109. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/pagination_response.py +0 -0
  110. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/pull_request.py +0 -0
  111. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/pull_request_state.py +0 -0
  112. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/queue_metrics.py +0 -0
  113. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/rate_limit.py +0 -0
  114. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/rate_limit_list.py +0 -0
  115. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/rate_limit_order_by_direction.py +0 -0
  116. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/rate_limit_order_by_field.py +0 -0
  117. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/recent_step_runs.py +0 -0
  118. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/reject_invite_request.py +0 -0
  119. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/replay_event_request.py +0 -0
  120. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/replay_workflow_runs_request.py +0 -0
  121. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/replay_workflow_runs_response.py +0 -0
  122. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/rerun_step_run_request.py +0 -0
  123. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/schedule_workflow_run_request.py +0 -0
  124. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/scheduled_run_status.py +0 -0
  125. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/scheduled_workflows.py +0 -0
  126. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/scheduled_workflows_list.py +0 -0
  127. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/scheduled_workflows_method.py +0 -0
  128. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/scheduled_workflows_order_by_field.py +0 -0
  129. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/semaphore_slots.py +0 -0
  130. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/slack_webhook.py +0 -0
  131. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/sns_integration.py +0 -0
  132. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/step.py +0 -0
  133. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/step_run.py +0 -0
  134. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/step_run_archive.py +0 -0
  135. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/step_run_archive_list.py +0 -0
  136. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/step_run_diff.py +0 -0
  137. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/step_run_event.py +0 -0
  138. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/step_run_event_list.py +0 -0
  139. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/step_run_event_reason.py +0 -0
  140. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/step_run_event_severity.py +0 -0
  141. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/step_run_status.py +0 -0
  142. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/tenant.py +0 -0
  143. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/tenant_alert_email_group.py +0 -0
  144. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/tenant_alert_email_group_list.py +0 -0
  145. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/tenant_alerting_settings.py +0 -0
  146. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/tenant_invite.py +0 -0
  147. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/tenant_invite_list.py +0 -0
  148. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/tenant_list.py +0 -0
  149. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/tenant_member.py +0 -0
  150. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/tenant_member_list.py +0 -0
  151. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/tenant_member_role.py +0 -0
  152. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/tenant_queue_metrics.py +0 -0
  153. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/tenant_resource.py +0 -0
  154. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/tenant_resource_limit.py +0 -0
  155. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/tenant_resource_policy.py +0 -0
  156. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/tenant_step_run_queue_metrics.py +0 -0
  157. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/tenant_ui_version.py +0 -0
  158. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/tenant_version.py +0 -0
  159. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/trigger_workflow_run_request.py +0 -0
  160. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/update_tenant_alert_email_group_request.py +0 -0
  161. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/update_tenant_invite_request.py +0 -0
  162. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/update_tenant_request.py +0 -0
  163. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/update_worker_request.py +0 -0
  164. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/user.py +0 -0
  165. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/user_change_password_request.py +0 -0
  166. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/user_login_request.py +0 -0
  167. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/user_register_request.py +0 -0
  168. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/user_tenant_memberships_list.py +0 -0
  169. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/user_tenant_public.py +0 -0
  170. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/v1_cancel_task_request.py +0 -0
  171. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/v1_create_filter_request.py +0 -0
  172. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/v1_dag_children.py +0 -0
  173. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/v1_event.py +0 -0
  174. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/v1_event_list.py +0 -0
  175. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/v1_event_triggered_run.py +0 -0
  176. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/v1_event_workflow_run_summary.py +0 -0
  177. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/v1_filter.py +0 -0
  178. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/v1_filter_list.py +0 -0
  179. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/v1_log_line.py +0 -0
  180. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/v1_log_line_level.py +0 -0
  181. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/v1_log_line_list.py +0 -0
  182. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/v1_replay_task_request.py +0 -0
  183. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/v1_task.py +0 -0
  184. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/v1_task_event.py +0 -0
  185. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/v1_task_event_list.py +0 -0
  186. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/v1_task_event_type.py +0 -0
  187. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/v1_task_filter.py +0 -0
  188. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/v1_task_point_metric.py +0 -0
  189. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/v1_task_point_metrics.py +0 -0
  190. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/v1_task_run_metric.py +0 -0
  191. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/v1_task_run_status.py +0 -0
  192. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/v1_task_status.py +0 -0
  193. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/v1_task_summary.py +0 -0
  194. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/v1_task_summary_list.py +0 -0
  195. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/v1_task_timing.py +0 -0
  196. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/v1_task_timing_list.py +0 -0
  197. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/v1_trigger_workflow_run_request.py +0 -0
  198. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/v1_update_filter_request.py +0 -0
  199. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/v1_workflow_run.py +0 -0
  200. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/v1_workflow_run_details.py +0 -0
  201. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/v1_workflow_run_display_name.py +0 -0
  202. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/v1_workflow_run_display_name_list.py +0 -0
  203. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/v1_workflow_type.py +0 -0
  204. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/webhook_worker.py +0 -0
  205. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/webhook_worker_create_request.py +0 -0
  206. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/webhook_worker_create_response.py +0 -0
  207. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/webhook_worker_created.py +0 -0
  208. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/webhook_worker_list_response.py +0 -0
  209. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/webhook_worker_request.py +0 -0
  210. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/webhook_worker_request_list_response.py +0 -0
  211. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/webhook_worker_request_method.py +0 -0
  212. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/worker.py +0 -0
  213. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/worker_label.py +0 -0
  214. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/worker_list.py +0 -0
  215. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/worker_runtime_info.py +0 -0
  216. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/worker_runtime_sdks.py +0 -0
  217. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/worker_type.py +0 -0
  218. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/workflow.py +0 -0
  219. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/workflow_concurrency.py +0 -0
  220. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/workflow_deployment_config.py +0 -0
  221. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/workflow_kind.py +0 -0
  222. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/workflow_list.py +0 -0
  223. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/workflow_metrics.py +0 -0
  224. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/workflow_run.py +0 -0
  225. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/workflow_run_cancel200_response.py +0 -0
  226. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/workflow_run_list.py +0 -0
  227. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/workflow_run_order_by_direction.py +0 -0
  228. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/workflow_run_order_by_field.py +0 -0
  229. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/workflow_run_shape.py +0 -0
  230. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/workflow_run_shape_item_for_workflow_run_details.py +0 -0
  231. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/workflow_run_status.py +0 -0
  232. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/workflow_run_triggered_by.py +0 -0
  233. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/workflow_runs_cancel_request.py +0 -0
  234. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/workflow_runs_metrics.py +0 -0
  235. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/workflow_runs_metrics_counts.py +0 -0
  236. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/workflow_tag.py +0 -0
  237. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/workflow_trigger_cron_ref.py +0 -0
  238. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/workflow_trigger_event_ref.py +0 -0
  239. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/workflow_triggers.py +0 -0
  240. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/workflow_update_request.py +0 -0
  241. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/workflow_version.py +0 -0
  242. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/workflow_version_concurrency.py +0 -0
  243. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/workflow_version_definition.py +0 -0
  244. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/workflow_version_meta.py +0 -0
  245. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/models/workflow_workers_count.py +0 -0
  246. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/clients/rest/rest.py +0 -0
  247. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/conditions.py +0 -0
  248. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/config.py +0 -0
  249. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/connection.py +0 -0
  250. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/context/__init__.py +0 -0
  251. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/context/worker_context.py +0 -0
  252. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/contracts/dispatcher_pb2.py +0 -0
  253. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/contracts/dispatcher_pb2.pyi +0 -0
  254. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/contracts/dispatcher_pb2_grpc.py +0 -0
  255. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/contracts/events_pb2.py +0 -0
  256. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/contracts/events_pb2.pyi +0 -0
  257. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/contracts/events_pb2_grpc.py +0 -0
  258. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/contracts/v1/dispatcher_pb2.py +0 -0
  259. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/contracts/v1/dispatcher_pb2.pyi +0 -0
  260. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/contracts/v1/dispatcher_pb2_grpc.py +0 -0
  261. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/contracts/v1/shared/condition_pb2.py +0 -0
  262. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/contracts/v1/shared/condition_pb2.pyi +0 -0
  263. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/contracts/v1/shared/condition_pb2_grpc.py +0 -0
  264. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/contracts/v1/workflows_pb2.py +0 -0
  265. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/contracts/v1/workflows_pb2.pyi +0 -0
  266. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/contracts/v1/workflows_pb2_grpc.py +0 -0
  267. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/contracts/workflows_pb2.py +0 -0
  268. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/contracts/workflows_pb2.pyi +0 -0
  269. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/contracts/workflows_pb2_grpc.py +0 -0
  270. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/exceptions.py +0 -0
  271. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/features/cron.py +0 -0
  272. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/features/filters.py +0 -0
  273. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/features/logs.py +0 -0
  274. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/features/metrics.py +0 -0
  275. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/features/rate_limits.py +0 -0
  276. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/features/scheduled.py +0 -0
  277. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/features/tenant.py +0 -0
  278. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/features/workers.py +0 -0
  279. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/features/workflows.py +0 -0
  280. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/hatchet.py +0 -0
  281. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/labels.py +0 -0
  282. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/logger.py +0 -0
  283. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/metadata.py +0 -0
  284. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/py.typed +0 -0
  285. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/rate_limit.py +0 -0
  286. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/runnables/action.py +0 -0
  287. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/runnables/types.py +0 -0
  288. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/token.py +0 -0
  289. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/utils/aio.py +0 -0
  290. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/utils/backoff.py +0 -0
  291. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/utils/datetimes.py +0 -0
  292. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/utils/opentelemetry.py +0 -0
  293. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/utils/proto_enums.py +0 -0
  294. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/utils/timedelta_to_expression.py +0 -0
  295. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/utils/typing.py +0 -0
  296. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/__init__.py +0 -0
  297. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/client.py +0 -0
  298. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/admin.py +0 -0
  299. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/dispatcher/action_listener.py +0 -0
  300. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/dispatcher/dispatcher.py +0 -0
  301. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/event_ts.py +0 -0
  302. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/events.py +0 -0
  303. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/__init__.py +0 -0
  304. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/api/__init__.py +0 -0
  305. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/api/api_token_api.py +0 -0
  306. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/api/default_api.py +0 -0
  307. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/api/event_api.py +0 -0
  308. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/api/github_api.py +0 -0
  309. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/api/healthcheck_api.py +0 -0
  310. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/api/log_api.py +0 -0
  311. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/api/metadata_api.py +0 -0
  312. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/api/rate_limits_api.py +0 -0
  313. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/api/slack_api.py +0 -0
  314. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/api/sns_api.py +0 -0
  315. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/api/step_run_api.py +0 -0
  316. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/api/tenant_api.py +0 -0
  317. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/api/user_api.py +0 -0
  318. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/api/worker_api.py +0 -0
  319. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/api/workflow_api.py +0 -0
  320. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/api/workflow_run_api.py +0 -0
  321. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/api/workflow_runs_api.py +0 -0
  322. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/api_client.py +0 -0
  323. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/api_response.py +0 -0
  324. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/configuration.py +0 -0
  325. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/exceptions.py +0 -0
  326. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/__init__.py +0 -0
  327. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/accept_invite_request.py +0 -0
  328. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/api_error.py +0 -0
  329. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/api_errors.py +0 -0
  330. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/api_meta.py +0 -0
  331. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/api_meta_auth.py +0 -0
  332. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/api_meta_integration.py +0 -0
  333. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/api_meta_posthog.py +0 -0
  334. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/api_resource_meta.py +0 -0
  335. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/api_token.py +0 -0
  336. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/bulk_create_event_request.py +0 -0
  337. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/bulk_create_event_response.py +0 -0
  338. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/cancel_event_request.py +0 -0
  339. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/cancel_step_run_request.py +0 -0
  340. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/concurrency_limit_strategy.py +0 -0
  341. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/create_api_token_request.py +0 -0
  342. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/create_api_token_response.py +0 -0
  343. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/create_cron_workflow_trigger_request.py +0 -0
  344. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/create_event_request.py +0 -0
  345. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/create_pull_request_from_step_run.py +0 -0
  346. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/create_sns_integration_request.py +0 -0
  347. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/create_tenant_alert_email_group_request.py +0 -0
  348. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/create_tenant_invite_request.py +0 -0
  349. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/create_tenant_request.py +0 -0
  350. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/cron_workflows.py +0 -0
  351. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/cron_workflows_list.py +0 -0
  352. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/cron_workflows_method.py +0 -0
  353. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/cron_workflows_order_by_field.py +0 -0
  354. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/event.py +0 -0
  355. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/event_data.py +0 -0
  356. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/event_key_list.py +0 -0
  357. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/event_list.py +0 -0
  358. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/event_order_by_direction.py +0 -0
  359. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/event_order_by_field.py +0 -0
  360. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/event_update_cancel200_response.py +0 -0
  361. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/event_workflow_run_summary.py +0 -0
  362. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/events.py +0 -0
  363. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/get_step_run_diff_response.py +0 -0
  364. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/github_app_installation.py +0 -0
  365. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/github_branch.py +0 -0
  366. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/github_repo.py +0 -0
  367. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/info_get_version200_response.py +0 -0
  368. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/job.py +0 -0
  369. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/job_run.py +0 -0
  370. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/job_run_status.py +0 -0
  371. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/link_github_repository_request.py +0 -0
  372. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/list_api_tokens_response.py +0 -0
  373. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/list_github_app_installations_response.py +0 -0
  374. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/list_pull_requests_response.py +0 -0
  375. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/list_slack_webhooks.py +0 -0
  376. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/list_sns_integrations.py +0 -0
  377. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/log_line.py +0 -0
  378. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/log_line_level.py +0 -0
  379. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/log_line_list.py +0 -0
  380. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/log_line_order_by_direction.py +0 -0
  381. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/log_line_order_by_field.py +0 -0
  382. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/pagination_response.py +0 -0
  383. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/pull_request.py +0 -0
  384. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/pull_request_state.py +0 -0
  385. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/queue_metrics.py +0 -0
  386. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/rate_limit.py +0 -0
  387. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/rate_limit_list.py +0 -0
  388. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/rate_limit_order_by_direction.py +0 -0
  389. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/rate_limit_order_by_field.py +0 -0
  390. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/recent_step_runs.py +0 -0
  391. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/reject_invite_request.py +0 -0
  392. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/replay_event_request.py +0 -0
  393. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/replay_workflow_runs_request.py +0 -0
  394. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/replay_workflow_runs_response.py +0 -0
  395. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/rerun_step_run_request.py +0 -0
  396. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/schedule_workflow_run_request.py +0 -0
  397. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/scheduled_run_status.py +0 -0
  398. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/scheduled_workflows.py +0 -0
  399. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/scheduled_workflows_list.py +0 -0
  400. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/scheduled_workflows_method.py +0 -0
  401. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/scheduled_workflows_order_by_field.py +0 -0
  402. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/semaphore_slots.py +0 -0
  403. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/slack_webhook.py +0 -0
  404. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/sns_integration.py +0 -0
  405. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/step.py +0 -0
  406. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/step_run.py +0 -0
  407. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/step_run_archive.py +0 -0
  408. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/step_run_archive_list.py +0 -0
  409. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/step_run_diff.py +0 -0
  410. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/step_run_event.py +0 -0
  411. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/step_run_event_list.py +0 -0
  412. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/step_run_event_reason.py +0 -0
  413. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/step_run_event_severity.py +0 -0
  414. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/step_run_status.py +0 -0
  415. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/tenant.py +0 -0
  416. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/tenant_alert_email_group.py +0 -0
  417. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/tenant_alert_email_group_list.py +0 -0
  418. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/tenant_alerting_settings.py +0 -0
  419. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/tenant_invite.py +0 -0
  420. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/tenant_invite_list.py +0 -0
  421. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/tenant_list.py +0 -0
  422. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/tenant_member.py +0 -0
  423. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/tenant_member_list.py +0 -0
  424. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/tenant_member_role.py +0 -0
  425. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/tenant_queue_metrics.py +0 -0
  426. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/tenant_resource.py +0 -0
  427. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/tenant_resource_limit.py +0 -0
  428. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/tenant_resource_policy.py +0 -0
  429. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/tenant_step_run_queue_metrics.py +0 -0
  430. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/trigger_workflow_run_request.py +0 -0
  431. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/update_tenant_alert_email_group_request.py +0 -0
  432. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/update_tenant_invite_request.py +0 -0
  433. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/update_tenant_request.py +0 -0
  434. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/update_worker_request.py +0 -0
  435. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/user.py +0 -0
  436. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/user_change_password_request.py +0 -0
  437. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/user_login_request.py +0 -0
  438. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/user_register_request.py +0 -0
  439. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/user_tenant_memberships_list.py +0 -0
  440. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/user_tenant_public.py +0 -0
  441. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/webhook_worker.py +0 -0
  442. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/webhook_worker_create_request.py +0 -0
  443. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/webhook_worker_create_response.py +0 -0
  444. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/webhook_worker_created.py +0 -0
  445. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/webhook_worker_list_response.py +0 -0
  446. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/webhook_worker_request.py +0 -0
  447. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/webhook_worker_request_list_response.py +0 -0
  448. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/webhook_worker_request_method.py +0 -0
  449. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/worker.py +0 -0
  450. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/worker_label.py +0 -0
  451. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/worker_list.py +0 -0
  452. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/worker_runtime_info.py +0 -0
  453. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/worker_runtime_sdks.py +0 -0
  454. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/worker_type.py +0 -0
  455. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/workflow.py +0 -0
  456. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/workflow_concurrency.py +0 -0
  457. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/workflow_deployment_config.py +0 -0
  458. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/workflow_kind.py +0 -0
  459. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/workflow_list.py +0 -0
  460. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/workflow_metrics.py +0 -0
  461. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/workflow_run.py +0 -0
  462. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/workflow_run_cancel200_response.py +0 -0
  463. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/workflow_run_list.py +0 -0
  464. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/workflow_run_order_by_direction.py +0 -0
  465. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/workflow_run_order_by_field.py +0 -0
  466. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/workflow_run_shape.py +0 -0
  467. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/workflow_run_status.py +0 -0
  468. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/workflow_run_triggered_by.py +0 -0
  469. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/workflow_runs_cancel_request.py +0 -0
  470. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/workflow_runs_metrics.py +0 -0
  471. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/workflow_runs_metrics_counts.py +0 -0
  472. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/workflow_tag.py +0 -0
  473. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/workflow_trigger_cron_ref.py +0 -0
  474. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/workflow_trigger_event_ref.py +0 -0
  475. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/workflow_triggers.py +0 -0
  476. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/workflow_update_request.py +0 -0
  477. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/workflow_version.py +0 -0
  478. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/workflow_version_concurrency.py +0 -0
  479. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/workflow_version_definition.py +0 -0
  480. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/workflow_version_meta.py +0 -0
  481. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/models/workflow_workers_count.py +0 -0
  482. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/rest.py +0 -0
  483. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest/tenacity_utils.py +0 -0
  484. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/rest_client.py +0 -0
  485. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/run_event_listener.py +0 -0
  486. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/clients/workflow_listener.py +0 -0
  487. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/connection.py +0 -0
  488. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/context/__init__.py +0 -0
  489. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/context/context.py +0 -0
  490. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/context/worker_context.py +0 -0
  491. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/features/cron.py +0 -0
  492. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/features/scheduled.py +0 -0
  493. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/hatchet.py +0 -0
  494. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/labels.py +0 -0
  495. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/loader.py +0 -0
  496. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/metadata.py +0 -0
  497. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/opentelemetry/instrumentor.py +0 -0
  498. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/rate_limit.py +0 -0
  499. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/semver.py +0 -0
  500. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/token.py +0 -0
  501. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/utils/aio_utils.py +0 -0
  502. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/utils/backoff.py +0 -0
  503. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/utils/types.py +0 -0
  504. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/utils/typing.py +0 -0
  505. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/v2/callable.py +0 -0
  506. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/v2/concurrency.py +0 -0
  507. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/v2/hatchet.py +0 -0
  508. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/worker/__init__.py +0 -0
  509. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/worker/action_listener_process.py +0 -0
  510. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/worker/runner/run_loop_manager.py +0 -0
  511. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/worker/runner/runner.py +0 -0
  512. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/worker/runner/utils/capture_logs.py +0 -0
  513. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/worker/runner/utils/error_with_traceback.py +0 -0
  514. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/worker/worker.py +0 -0
  515. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/workflow.py +0 -0
  516. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/v0/workflow_run.py +0 -0
  517. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/worker/__init__.py +0 -0
  518. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/worker/runner/run_loop_manager.py +0 -0
  519. {hatchet_sdk-1.15.2 → hatchet_sdk-1.16.0}/hatchet_sdk/workflow_run.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: hatchet-sdk
3
- Version: 1.15.2
3
+ Version: 1.16.0
4
4
  Summary:
5
5
  License: MIT
6
6
  Author: Alexander Belanger
@@ -23,6 +23,7 @@ from hatchet_sdk.metadata import get_metadata
23
23
  from hatchet_sdk.rate_limit import RateLimitDuration
24
24
  from hatchet_sdk.runnables.contextvars import (
25
25
  ctx_action_key,
26
+ ctx_additional_metadata,
26
27
  ctx_step_run_id,
27
28
  ctx_worker_id,
28
29
  ctx_workflow_run_id,
@@ -278,6 +279,7 @@ class AdminClient:
278
279
  step_run_id = ctx_step_run_id.get()
279
280
  worker_id = ctx_worker_id.get()
280
281
  action_key = ctx_action_key.get()
282
+ additional_metadata = ctx_additional_metadata.get() or {}
281
283
  spawn_index = workflow_spawn_indices[action_key] if action_key else 0
282
284
 
283
285
  ## Increment the spawn_index for the parent workflow
@@ -296,7 +298,7 @@ class AdminClient:
296
298
  parent_step_run_id=options.parent_step_run_id or step_run_id,
297
299
  child_key=options.child_key,
298
300
  child_index=child_index,
299
- additional_metadata=options.additional_metadata,
301
+ additional_metadata={**additional_metadata, **options.additional_metadata},
300
302
  desired_worker_id=desired_worker_id,
301
303
  priority=options.priority,
302
304
  namespace=options.namespace,
@@ -140,15 +140,15 @@ class ActionListener:
140
140
  # todo case on "recvmsg:Connection reset by peer" for updates?
141
141
  if self.missed_heartbeats >= 3:
142
142
  # we don't reraise the error here, as we don't want to stop the heartbeat thread
143
- logger.error(
144
- f"⛔️ failed heartbeat ({self.missed_heartbeats}): {e.details()}"
143
+ logger.exception(
144
+ f"⛔️ failed heartbeat ({self.missed_heartbeats})"
145
145
  )
146
146
  elif self.missed_heartbeats > 1:
147
147
  logger.warning(
148
148
  f"failed to send heartbeat ({self.missed_heartbeats}): {e.details()}"
149
149
  )
150
150
  else:
151
- logger.error(f"failed to send heartbeat: {e}")
151
+ logger.exception("failed to send heartbeat")
152
152
 
153
153
  if self.interrupt is not None:
154
154
  self.interrupt.set()
@@ -195,7 +195,7 @@ class ActionListener:
195
195
 
196
196
  if not t.done():
197
197
  logger.warning(
198
- "Interrupted read_with_interrupt task of action listener"
198
+ "interrupted read_with_interrupt task of action listener"
199
199
  )
200
200
 
201
201
  t.cancel()
@@ -206,7 +206,7 @@ class ActionListener:
206
206
  result = t.result()
207
207
 
208
208
  if isinstance(result, UnexpectedEOF):
209
- logger.debug("Handling EOF in Action Listener")
209
+ logger.debug("handling EOF in Action Listener")
210
210
  self.retries = self.retries + 1
211
211
  break
212
212
 
@@ -222,8 +222,8 @@ class ActionListener:
222
222
  assigned_action.actionPayload
223
223
  )
224
224
  )
225
- except (ValueError, json.JSONDecodeError) as e:
226
- logger.error(f"Error decoding payload: {e}")
225
+ except (ValueError, json.JSONDecodeError):
226
+ logger.exception("error decoding payload")
227
227
 
228
228
  action_payload = ActionPayload()
229
229
 
@@ -263,9 +263,9 @@ class ActionListener:
263
263
  # Handle different types of errors
264
264
  if e.code() == grpc.StatusCode.CANCELLED:
265
265
  # Context cancelled, unsubscribe and close
266
- logger.debug("Context cancelled, closing listener")
266
+ logger.debug("context cancelled, closing listener")
267
267
  elif e.code() == grpc.StatusCode.DEADLINE_EXCEEDED:
268
- logger.info("Deadline exceeded, retrying subscription")
268
+ logger.info("deadline exceeded, retrying subscription")
269
269
  elif (
270
270
  self.listen_strategy == "v2"
271
271
  and e.code() == grpc.StatusCode.UNIMPLEMENTED
@@ -277,10 +277,10 @@ class ActionListener:
277
277
  else:
278
278
  # TODO retry
279
279
  if e.code() == grpc.StatusCode.UNAVAILABLE:
280
- logger.error(f"action listener error: {e.details()}")
280
+ logger.exception("action listener error")
281
281
  else:
282
282
  # Unknown error, report and break
283
- logger.error(f"action listener error: {e}")
283
+ logger.exception("action listener error")
284
284
 
285
285
  self.retries = self.retries + 1
286
286
 
@@ -346,8 +346,8 @@ class ActionListener:
346
346
 
347
347
  try:
348
348
  self.unregister()
349
- except Exception as e:
350
- logger.error(f"failed to unregister: {e}")
349
+ except Exception:
350
+ logger.exception("failed to unregister")
351
351
 
352
352
  if self.interrupt: # type: ignore[truthy-bool]
353
353
  self.interrupt.set()
@@ -66,7 +66,7 @@ async def read_with_interrupt(
66
66
  result = cast(TResponse, await listener.read())
67
67
 
68
68
  if result is cygrpc.EOF:
69
- logger.warning("Received EOF from engine")
69
+ logger.warning("received EOF from engine")
70
70
  return UnexpectedEOF()
71
71
 
72
72
  key = key_generator(result) if key_generator else ""
@@ -103,7 +103,7 @@ class PooledListener(Generic[R, T, L], ABC):
103
103
  try:
104
104
  self.listener = await self._retry_subscribe()
105
105
 
106
- logger.debug("Listener connected.")
106
+ logger.debug("listener connected.")
107
107
 
108
108
  # spawn an interrupter task
109
109
  if self.interrupter is not None and not self.interrupter.done():
@@ -125,7 +125,7 @@ class PooledListener(Generic[R, T, L], ABC):
125
125
 
126
126
  if not t.done():
127
127
  logger.warning(
128
- "Interrupted read_with_interrupt task of listener"
128
+ "interrupted read_with_interrupt task of listener"
129
129
  )
130
130
 
131
131
  t.cancel()
@@ -138,7 +138,7 @@ class PooledListener(Generic[R, T, L], ABC):
138
138
 
139
139
  if isinstance(event, UnexpectedEOF):
140
140
  logger.debug(
141
- f"Handling EOF in Pooled Listener {self.__class__.__name__}"
141
+ f"handling EOF in Pooled Listener {self.__class__.__name__}"
142
142
  )
143
143
  break
144
144
 
@@ -153,7 +153,7 @@ class PooledListener(Generic[R, T, L], ABC):
153
153
  continue
154
154
 
155
155
  except Exception as e:
156
- logger.error(f"Error in listener: {e}")
156
+ logger.exception("error in listener")
157
157
 
158
158
  self.listener = None
159
159
 
@@ -23,7 +23,7 @@ def tenacity_retry(func: Callable[P, R]) -> Callable[P, R]:
23
23
  def tenacity_alert_retry(retry_state: tenacity.RetryCallState) -> None:
24
24
  """Called between tenacity retries."""
25
25
  logger.debug(
26
- f"Retrying {retry_state.fn}: attempt "
26
+ f"retrying {retry_state.fn}: attempt "
27
27
  f"{retry_state.attempt_number} ended with: {retry_state.outcome}",
28
28
  )
29
29
 
@@ -5,7 +5,7 @@ import tenacity
5
5
 
6
6
  from hatchet_sdk.clients.rest.api_client import ApiClient
7
7
  from hatchet_sdk.clients.rest.configuration import Configuration
8
- from hatchet_sdk.clients.rest.exceptions import ServiceException
8
+ from hatchet_sdk.clients.rest.exceptions import NotFoundException, ServiceException
9
9
  from hatchet_sdk.config import ClientConfig
10
10
  from hatchet_sdk.logger import logger
11
11
  from hatchet_sdk.utils.typing import JSONSerializableMapping
@@ -61,10 +61,10 @@ def retry(func: Callable[P, R]) -> Callable[P, R]:
61
61
 
62
62
  def _alert_on_retry(retry_state: tenacity.RetryCallState) -> None:
63
63
  logger.debug(
64
- f"Retrying {retry_state.fn}: attempt "
64
+ f"retrying {retry_state.fn}: attempt "
65
65
  f"{retry_state.attempt_number} ended with: {retry_state.outcome}",
66
66
  )
67
67
 
68
68
 
69
69
  def _should_retry(ex: BaseException) -> bool:
70
- return isinstance(ex, ServiceException)
70
+ return isinstance(ex, ServiceException | NotFoundException)
@@ -236,8 +236,8 @@ class Context:
236
236
  step_run_id=self.step_run_id,
237
237
  index=ix,
238
238
  )
239
- except Exception as e:
240
- logger.error(f"Error putting stream event: {e}")
239
+ except Exception:
240
+ logger.exception("error putting stream event")
241
241
 
242
242
  async def aio_put_stream(self, data: str | bytes) -> None:
243
243
  """
@@ -262,8 +262,8 @@ class Context:
262
262
  return self.dispatcher_client.refresh_timeout(
263
263
  step_run_id=self.step_run_id, increment_by=increment_by
264
264
  )
265
- except Exception as e:
266
- logger.error(f"Error refreshing timeout: {e}")
265
+ except Exception:
266
+ logger.exception("error refreshing timeout")
267
267
 
268
268
  @property
269
269
  def retry_count(self) -> int:
@@ -285,7 +285,7 @@ class Context:
285
285
  return self.retry_count + 1
286
286
 
287
287
  @property
288
- def additional_metadata(self) -> JSONSerializableMapping | None:
288
+ def additional_metadata(self) -> JSONSerializableMapping:
289
289
  """
290
290
  The additional metadata sent with the current task run.
291
291
 
@@ -350,7 +350,7 @@ class Context:
350
350
 
351
351
  if not errors:
352
352
  logger.error(
353
- "No step run errors found. `context.task_run_errors` is intended to be run in an on-failure step, and will only work on engine versions more recent than v0.53.10"
353
+ "no step run errors found. `context.task_run_errors` is intended to be run in an on-failure step, and will only work on engine versions more recent than v0.53.10"
354
354
  )
355
355
 
356
356
  return errors
@@ -119,6 +119,26 @@ class RunsClient(BaseRestClient):
119
119
  def _ta(self, client: ApiClient) -> TaskApi:
120
120
  return TaskApi(client)
121
121
 
122
+ @retry
123
+ def get_task_run(self, task_run_id: str) -> V1TaskSummary:
124
+ """
125
+ Get task run details for a given task run ID.
126
+
127
+ :param task_run_id: The ID of the task run to retrieve details for.
128
+ :return: Task run details for the specified task run ID.
129
+ """
130
+ with self.client() as client:
131
+ return self._ta(client).v1_task_get(task_run_id)
132
+
133
+ async def aio_get_task_run(self, task_run_id: str) -> V1TaskSummary:
134
+ """
135
+ Get task run details for a given task run ID.
136
+
137
+ :param task_run_id: The ID of the task run to retrieve details for.
138
+ :return: Task run details for the specified task run ID.
139
+ """
140
+ return await asyncio.to_thread(self.get_task_run, task_run_id)
141
+
122
142
  @retry
123
143
  def get(self, workflow_run_id: str) -> V1WorkflowRunDetails:
124
144
  """
@@ -148,7 +168,7 @@ class RunsClient(BaseRestClient):
148
168
  :return: The task status
149
169
  """
150
170
  with self.client() as client:
151
- return self._wra(client).v1_workflow_run_get_status(str(workflow_run_id))
171
+ return self._wra(client).v1_workflow_run_get_status(workflow_run_id)
152
172
 
153
173
  async def aio_get_status(self, workflow_run_id: str) -> V1TaskStatus:
154
174
  """
@@ -64,7 +64,7 @@ OTEL_TRACEPARENT_KEY = "traceparent"
64
64
 
65
65
  def create_traceparent() -> str | None:
66
66
  logger.warning(
67
- "As of SDK version 1.11.0, you no longer need to call `create_traceparent` manually. The traceparent will be automatically created by the instrumentor and injected into the metadata of actions and events when appropriate. This method will be removed in a future version.",
67
+ "as of SDK version 1.11.0, you no longer need to call `create_traceparent` manually. The traceparent will be automatically created by the instrumentor and injected into the metadata of actions and events when appropriate. This method will be removed in a future version.",
68
68
  )
69
69
  return _create_traceparent()
70
70
 
@@ -91,7 +91,7 @@ def parse_carrier_from_metadata(
91
91
  metadata: JSONSerializableMapping | None,
92
92
  ) -> Context | None:
93
93
  logger.warning(
94
- "As of SDK version 1.11.0, you no longer need to call `parse_carrier_from_metadata` manually. This method will be removed in a future version.",
94
+ "as of SDK version 1.11.0, you no longer need to call `parse_carrier_from_metadata` manually. This method will be removed in a future version.",
95
95
  )
96
96
 
97
97
  return _parse_carrier_from_metadata(metadata)
@@ -133,7 +133,7 @@ def inject_traceparent_into_metadata(
133
133
  metadata: dict[str, str], traceparent: str | None = None
134
134
  ) -> dict[str, str]:
135
135
  logger.warning(
136
- "As of SDK version 1.11.0, you no longer need to call `inject_traceparent_into_metadata` manually. The traceparent will automatically be injected by the instrumentor. This method will be removed in a future version.",
136
+ "as of SDK version 1.11.0, you no longer need to call `inject_traceparent_into_metadata` manually. The traceparent will automatically be injected by the instrumentor. This method will be removed in a future version.",
137
137
  )
138
138
 
139
139
  return _inject_traceparent_into_metadata(metadata, traceparent)
@@ -4,6 +4,7 @@ from collections import Counter
4
4
  from contextvars import ContextVar
5
5
 
6
6
  from hatchet_sdk.runnables.action import ActionKey
7
+ from hatchet_sdk.utils.typing import JSONSerializableMapping
7
8
 
8
9
  ctx_workflow_run_id: ContextVar[str | None] = ContextVar(
9
10
  "ctx_workflow_run_id", default=None
@@ -13,6 +14,9 @@ ctx_action_key: ContextVar[ActionKey | None] = ContextVar(
13
14
  )
14
15
  ctx_step_run_id: ContextVar[str | None] = ContextVar("ctx_step_run_id", default=None)
15
16
  ctx_worker_id: ContextVar[str | None] = ContextVar("ctx_worker_id", default=None)
17
+ ctx_additional_metadata: ContextVar[JSONSerializableMapping | None] = ContextVar(
18
+ "ctx_additional_metadata", default=None
19
+ )
16
20
 
17
21
  workflow_spawn_indices = Counter[ActionKey]()
18
22
  spawn_index_lock = asyncio.Lock()
@@ -11,6 +11,7 @@ from hatchet_sdk.conditions import (
11
11
  flatten_conditions,
12
12
  )
13
13
  from hatchet_sdk.context.context import Context, DurableContext
14
+ from hatchet_sdk.context.worker_context import WorkerContext
14
15
  from hatchet_sdk.contracts.v1.shared.condition_pb2 import TaskConditions
15
16
  from hatchet_sdk.contracts.v1.workflows_pb2 import (
16
17
  CreateTaskOpts,
@@ -19,6 +20,7 @@ from hatchet_sdk.contracts.v1.workflows_pb2 import (
19
20
  )
20
21
  from hatchet_sdk.runnables.types import (
21
22
  ConcurrencyExpression,
23
+ EmptyModel,
22
24
  R,
23
25
  StepType,
24
26
  TWorkflowInput,
@@ -30,9 +32,11 @@ from hatchet_sdk.utils.timedelta_to_expression import Duration, timedelta_to_exp
30
32
  from hatchet_sdk.utils.typing import (
31
33
  AwaitableLike,
32
34
  CoroutineLike,
35
+ JSONSerializableMapping,
33
36
  TaskIOValidator,
34
37
  is_basemodel_subclass,
35
38
  )
39
+ from hatchet_sdk.worker.runner.utils.capture_logs import AsyncLogSender
36
40
 
37
41
  if TYPE_CHECKING:
38
42
  from hatchet_sdk.runnables.workflow import Workflow
@@ -186,3 +190,132 @@ class Task(Generic[TWorkflowInput, R]):
186
190
  sleep_conditions=sleep_conditions,
187
191
  user_event_conditions=user_events,
188
192
  )
193
+
194
+ def _create_mock_context(
195
+ self,
196
+ input: TWorkflowInput | None,
197
+ additional_metadata: JSONSerializableMapping | None = None,
198
+ parent_outputs: dict[str, JSONSerializableMapping] | None = None,
199
+ retry_count: int = 0,
200
+ lifespan_context: Any = None,
201
+ ) -> Context | DurableContext:
202
+ from hatchet_sdk.runnables.action import Action, ActionPayload, ActionType
203
+
204
+ additional_metadata = additional_metadata or {}
205
+ parent_outputs = parent_outputs or {}
206
+
207
+ if input is None:
208
+ input = cast(TWorkflowInput, EmptyModel())
209
+
210
+ action_payload = ActionPayload(input=input.model_dump(), parents=parent_outputs)
211
+
212
+ action = Action(
213
+ tenant_id=self.workflow.client.config.tenant_id,
214
+ worker_id="mock-worker-id",
215
+ workflow_run_id="mock-workflow-run-id",
216
+ get_group_key_run_id="mock-get-group-key-run-id",
217
+ job_id="mock-job-id",
218
+ job_name="mock-job-name",
219
+ job_run_id="mock-job-run-id",
220
+ step_id="mock-step-id",
221
+ step_run_id="mock-step-run-id",
222
+ action_id="mock:action",
223
+ action_payload=action_payload,
224
+ action_type=ActionType.START_STEP_RUN,
225
+ retry_count=retry_count,
226
+ additional_metadata=additional_metadata,
227
+ child_workflow_index=None,
228
+ child_workflow_key=None,
229
+ parent_workflow_run_id=None,
230
+ priority=1,
231
+ workflow_version_id="mock-workflow-version-id",
232
+ workflow_id="mock-workflow-id",
233
+ )
234
+
235
+ constructor = DurableContext if self.is_durable else Context
236
+
237
+ return constructor(
238
+ action=action,
239
+ dispatcher_client=self.workflow.client._client.dispatcher,
240
+ admin_client=self.workflow.client._client.admin,
241
+ event_client=self.workflow.client._client.event,
242
+ durable_event_listener=None,
243
+ worker=WorkerContext(
244
+ labels={}, client=self.workflow.client._client.dispatcher
245
+ ),
246
+ runs_client=self.workflow.client._client.runs,
247
+ lifespan_context=lifespan_context,
248
+ log_sender=AsyncLogSender(self.workflow.client._client.event),
249
+ )
250
+
251
+ def mock_run(
252
+ self,
253
+ input: TWorkflowInput | None = None,
254
+ additional_metadata: JSONSerializableMapping | None = None,
255
+ parent_outputs: dict[str, JSONSerializableMapping] | None = None,
256
+ retry_count: int = 0,
257
+ lifespan: Any = None,
258
+ ) -> R:
259
+ """
260
+ Mimic the execution of a task. This method is intended to be used to unit test
261
+ tasks without needing to interact with the Hatchet engine. Use `mock_run` for sync
262
+ tasks and `aio_mock_run` for async tasks.
263
+
264
+ :param input: The input to the task.
265
+ :param additional_metadata: Additional metadata to attach to the task.
266
+ :param parent_outputs: Outputs from parent tasks, if any. This is useful for mimicking DAG functionality. For instance, if you have a task `step_2` that has a `parent` which is `step_1`, you can pass `parent_outputs={"step_1": {"result": "Hello, world!"}}` to `step_2.mock_run()` to be able to access `ctx.task_output(step_1)` in `step_2`.
267
+ :param retry_count: The number of times the task has been retried.
268
+ :param lifespan: The lifespan to be used in the task, which is useful if one was set on the worker. This will allow you to access `ctx.lifespan` inside of your task.
269
+
270
+ :return: The output of the task.
271
+ :raises TypeError: If the task is an async function and `mock_run` is called, or if the task is a sync function and `aio_mock_run` is called.
272
+ """
273
+
274
+ if self.is_async_function:
275
+ raise TypeError(
276
+ f"{self.name} is not a sync function. Use `aio_mock_run` instead."
277
+ )
278
+
279
+ ctx = self._create_mock_context(
280
+ input, additional_metadata, parent_outputs, retry_count, lifespan
281
+ )
282
+
283
+ return self.call(ctx)
284
+
285
+ async def aio_mock_run(
286
+ self,
287
+ input: TWorkflowInput | None = None,
288
+ additional_metadata: JSONSerializableMapping | None = None,
289
+ parent_outputs: dict[str, JSONSerializableMapping] | None = None,
290
+ retry_count: int = 0,
291
+ lifespan: Any = None,
292
+ ) -> R:
293
+ """
294
+ Mimic the execution of a task. This method is intended to be used to unit test
295
+ tasks without needing to interact with the Hatchet engine. Use `mock_run` for sync
296
+ tasks and `aio_mock_run` for async tasks.
297
+
298
+ :param input: The input to the task.
299
+ :param additional_metadata: Additional metadata to attach to the task.
300
+ :param parent_outputs: Outputs from parent tasks, if any. This is useful for mimicking DAG functionality. For instance, if you have a task `step_2` that has a `parent` which is `step_1`, you can pass `parent_outputs={"step_1": {"result": "Hello, world!"}}` to `step_2.mock_run()` to be able to access `ctx.task_output(step_1)` in `step_2`.
301
+ :param retry_count: The number of times the task has been retried.
302
+ :param lifespan: The lifespan to be used in the task, which is useful if one was set on the worker. This will allow you to access `ctx.lifespan` inside of your task.
303
+
304
+ :return: The output of the task.
305
+ :raises TypeError: If the task is an async function and `mock_run` is called, or if the task is a sync function and `aio_mock_run` is called.
306
+ """
307
+
308
+ if not self.is_async_function:
309
+ raise TypeError(
310
+ f"{self.name} is not an async function. Use `mock_run` instead."
311
+ )
312
+
313
+ ctx = self._create_mock_context(
314
+ input,
315
+ additional_metadata,
316
+ parent_outputs,
317
+ retry_count,
318
+ lifespan,
319
+ )
320
+
321
+ return await self.aio_call(ctx)