hatchet-sdk 0.45.0__tar.gz → 0.45.1__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 (237) hide show
  1. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/PKG-INFO +1 -1
  2. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/dispatcher/dispatcher.py +1 -0
  3. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/event_workflow_run_summary.py +5 -0
  4. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/job_run_status.py +1 -0
  5. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/step_run_status.py +1 -0
  6. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/workflow_run_status.py +1 -0
  7. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/workflow_runs_metrics_counts.py +3 -0
  8. hatchet_sdk-0.45.1/hatchet_sdk/contracts/dispatcher_pb2.py +112 -0
  9. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/contracts/dispatcher_pb2.pyi +4 -2
  10. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/contracts/dispatcher_pb2_grpc.py +1 -1
  11. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/contracts/events_pb2.py +3 -3
  12. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/contracts/events_pb2_grpc.py +1 -1
  13. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/contracts/workflows_pb2.py +3 -3
  14. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/contracts/workflows_pb2_grpc.py +1 -1
  15. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/pyproject.toml +1 -1
  16. hatchet_sdk-0.45.0/hatchet_sdk/contracts/dispatcher_pb2.py +0 -112
  17. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/README.md +0 -0
  18. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/__init__.py +0 -0
  19. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/client.py +0 -0
  20. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/admin.py +0 -0
  21. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/dispatcher/action_listener.py +0 -0
  22. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/event_ts.py +0 -0
  23. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/events.py +0 -0
  24. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/__init__.py +0 -0
  25. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/api/__init__.py +0 -0
  26. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/api/api_token_api.py +0 -0
  27. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/api/default_api.py +0 -0
  28. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/api/event_api.py +0 -0
  29. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/api/github_api.py +0 -0
  30. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/api/healthcheck_api.py +0 -0
  31. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/api/log_api.py +0 -0
  32. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/api/metadata_api.py +0 -0
  33. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/api/rate_limits_api.py +0 -0
  34. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/api/slack_api.py +0 -0
  35. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/api/sns_api.py +0 -0
  36. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/api/step_run_api.py +0 -0
  37. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/api/tenant_api.py +0 -0
  38. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/api/user_api.py +0 -0
  39. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/api/worker_api.py +0 -0
  40. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/api/workflow_api.py +0 -0
  41. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/api/workflow_run_api.py +0 -0
  42. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/api/workflow_runs_api.py +0 -0
  43. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/api_client.py +0 -0
  44. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/api_response.py +0 -0
  45. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/configuration.py +0 -0
  46. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/exceptions.py +0 -0
  47. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/__init__.py +0 -0
  48. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/accept_invite_request.py +0 -0
  49. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/api_error.py +0 -0
  50. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/api_errors.py +0 -0
  51. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/api_meta.py +0 -0
  52. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/api_meta_auth.py +0 -0
  53. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/api_meta_integration.py +0 -0
  54. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/api_meta_posthog.py +0 -0
  55. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/api_resource_meta.py +0 -0
  56. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/api_token.py +0 -0
  57. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/bulk_create_event_request.py +0 -0
  58. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/bulk_create_event_response.py +0 -0
  59. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/cancel_event_request.py +0 -0
  60. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/cancel_step_run_request.py +0 -0
  61. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/concurrency_limit_strategy.py +0 -0
  62. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/create_api_token_request.py +0 -0
  63. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/create_api_token_response.py +0 -0
  64. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/create_cron_workflow_trigger_request.py +0 -0
  65. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/create_event_request.py +0 -0
  66. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/create_pull_request_from_step_run.py +0 -0
  67. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/create_sns_integration_request.py +0 -0
  68. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/create_tenant_alert_email_group_request.py +0 -0
  69. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/create_tenant_invite_request.py +0 -0
  70. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/create_tenant_request.py +0 -0
  71. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/cron_workflows.py +0 -0
  72. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/cron_workflows_list.py +0 -0
  73. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/cron_workflows_method.py +0 -0
  74. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/cron_workflows_order_by_field.py +0 -0
  75. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/event.py +0 -0
  76. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/event_data.py +0 -0
  77. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/event_key_list.py +0 -0
  78. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/event_list.py +0 -0
  79. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/event_order_by_direction.py +0 -0
  80. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/event_order_by_field.py +0 -0
  81. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/event_update_cancel200_response.py +0 -0
  82. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/events.py +0 -0
  83. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/get_step_run_diff_response.py +0 -0
  84. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/github_app_installation.py +0 -0
  85. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/github_branch.py +0 -0
  86. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/github_repo.py +0 -0
  87. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/info_get_version200_response.py +0 -0
  88. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/job.py +0 -0
  89. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/job_run.py +0 -0
  90. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/link_github_repository_request.py +0 -0
  91. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/list_api_tokens_response.py +0 -0
  92. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/list_github_app_installations_response.py +0 -0
  93. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/list_pull_requests_response.py +0 -0
  94. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/list_slack_webhooks.py +0 -0
  95. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/list_sns_integrations.py +0 -0
  96. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/log_line.py +0 -0
  97. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/log_line_level.py +0 -0
  98. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/log_line_list.py +0 -0
  99. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/log_line_order_by_direction.py +0 -0
  100. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/log_line_order_by_field.py +0 -0
  101. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/pagination_response.py +0 -0
  102. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/pull_request.py +0 -0
  103. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/pull_request_state.py +0 -0
  104. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/queue_metrics.py +0 -0
  105. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/rate_limit.py +0 -0
  106. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/rate_limit_list.py +0 -0
  107. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/rate_limit_order_by_direction.py +0 -0
  108. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/rate_limit_order_by_field.py +0 -0
  109. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/recent_step_runs.py +0 -0
  110. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/reject_invite_request.py +0 -0
  111. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/replay_event_request.py +0 -0
  112. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/replay_workflow_runs_request.py +0 -0
  113. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/replay_workflow_runs_response.py +0 -0
  114. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/rerun_step_run_request.py +0 -0
  115. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/schedule_workflow_run_request.py +0 -0
  116. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/scheduled_run_status.py +0 -0
  117. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/scheduled_workflows.py +0 -0
  118. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/scheduled_workflows_list.py +0 -0
  119. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/scheduled_workflows_method.py +0 -0
  120. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/scheduled_workflows_order_by_field.py +0 -0
  121. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/semaphore_slots.py +0 -0
  122. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/slack_webhook.py +0 -0
  123. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/sns_integration.py +0 -0
  124. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/step.py +0 -0
  125. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/step_run.py +0 -0
  126. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/step_run_archive.py +0 -0
  127. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/step_run_archive_list.py +0 -0
  128. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/step_run_diff.py +0 -0
  129. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/step_run_event.py +0 -0
  130. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/step_run_event_list.py +0 -0
  131. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/step_run_event_reason.py +0 -0
  132. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/step_run_event_severity.py +0 -0
  133. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/tenant.py +0 -0
  134. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/tenant_alert_email_group.py +0 -0
  135. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/tenant_alert_email_group_list.py +0 -0
  136. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/tenant_alerting_settings.py +0 -0
  137. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/tenant_invite.py +0 -0
  138. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/tenant_invite_list.py +0 -0
  139. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/tenant_list.py +0 -0
  140. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/tenant_member.py +0 -0
  141. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/tenant_member_list.py +0 -0
  142. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/tenant_member_role.py +0 -0
  143. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/tenant_queue_metrics.py +0 -0
  144. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/tenant_resource.py +0 -0
  145. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/tenant_resource_limit.py +0 -0
  146. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/tenant_resource_policy.py +0 -0
  147. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/tenant_step_run_queue_metrics.py +0 -0
  148. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/trigger_workflow_run_request.py +0 -0
  149. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/update_tenant_alert_email_group_request.py +0 -0
  150. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/update_tenant_invite_request.py +0 -0
  151. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/update_tenant_request.py +0 -0
  152. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/update_worker_request.py +0 -0
  153. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/user.py +0 -0
  154. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/user_change_password_request.py +0 -0
  155. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/user_login_request.py +0 -0
  156. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/user_register_request.py +0 -0
  157. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/user_tenant_memberships_list.py +0 -0
  158. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/user_tenant_public.py +0 -0
  159. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/webhook_worker.py +0 -0
  160. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/webhook_worker_create_request.py +0 -0
  161. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/webhook_worker_create_response.py +0 -0
  162. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/webhook_worker_created.py +0 -0
  163. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/webhook_worker_list_response.py +0 -0
  164. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/webhook_worker_request.py +0 -0
  165. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/webhook_worker_request_list_response.py +0 -0
  166. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/webhook_worker_request_method.py +0 -0
  167. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/worker.py +0 -0
  168. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/worker_label.py +0 -0
  169. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/worker_list.py +0 -0
  170. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/worker_runtime_info.py +0 -0
  171. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/worker_runtime_sdks.py +0 -0
  172. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/worker_type.py +0 -0
  173. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/workflow.py +0 -0
  174. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/workflow_concurrency.py +0 -0
  175. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/workflow_deployment_config.py +0 -0
  176. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/workflow_kind.py +0 -0
  177. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/workflow_list.py +0 -0
  178. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/workflow_metrics.py +0 -0
  179. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/workflow_run.py +0 -0
  180. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/workflow_run_cancel200_response.py +0 -0
  181. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/workflow_run_list.py +0 -0
  182. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/workflow_run_order_by_direction.py +0 -0
  183. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/workflow_run_order_by_field.py +0 -0
  184. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/workflow_run_shape.py +0 -0
  185. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/workflow_run_triggered_by.py +0 -0
  186. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/workflow_runs_cancel_request.py +0 -0
  187. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/workflow_runs_metrics.py +0 -0
  188. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/workflow_tag.py +0 -0
  189. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/workflow_trigger_cron_ref.py +0 -0
  190. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/workflow_trigger_event_ref.py +0 -0
  191. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/workflow_triggers.py +0 -0
  192. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/workflow_update_request.py +0 -0
  193. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/workflow_version.py +0 -0
  194. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/workflow_version_concurrency.py +0 -0
  195. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/workflow_version_definition.py +0 -0
  196. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/workflow_version_meta.py +0 -0
  197. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/models/workflow_workers_count.py +0 -0
  198. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/rest.py +0 -0
  199. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest/tenacity_utils.py +0 -0
  200. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/rest_client.py +0 -0
  201. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/run_event_listener.py +0 -0
  202. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/clients/workflow_listener.py +0 -0
  203. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/connection.py +0 -0
  204. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/context/__init__.py +0 -0
  205. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/context/context.py +0 -0
  206. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/context/worker_context.py +0 -0
  207. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/contracts/events_pb2.pyi +0 -0
  208. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/contracts/workflows_pb2.pyi +0 -0
  209. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/features/cron.py +0 -0
  210. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/features/scheduled.py +0 -0
  211. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/hatchet.py +0 -0
  212. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/labels.py +0 -0
  213. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/loader.py +0 -0
  214. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/logger.py +0 -0
  215. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/metadata.py +0 -0
  216. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/py.typed +0 -0
  217. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/rate_limit.py +0 -0
  218. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/semver.py +0 -0
  219. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/token.py +0 -0
  220. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/utils/aio_utils.py +0 -0
  221. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/utils/backoff.py +0 -0
  222. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/utils/serialization.py +0 -0
  223. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/utils/tracing.py +0 -0
  224. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/utils/types.py +0 -0
  225. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/utils/typing.py +0 -0
  226. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/v2/callable.py +0 -0
  227. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/v2/concurrency.py +0 -0
  228. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/v2/hatchet.py +0 -0
  229. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/worker/__init__.py +0 -0
  230. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/worker/action_listener_process.py +0 -0
  231. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/worker/runner/run_loop_manager.py +0 -0
  232. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/worker/runner/runner.py +0 -0
  233. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/worker/runner/utils/capture_logs.py +0 -0
  234. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/worker/runner/utils/error_with_traceback.py +0 -0
  235. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/worker/worker.py +0 -0
  236. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/workflow.py +0 -0
  237. {hatchet_sdk-0.45.0 → hatchet_sdk-0.45.1}/hatchet_sdk/workflow_run.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: hatchet-sdk
3
- Version: 0.45.0
3
+ Version: 0.45.1
4
4
  Summary:
5
5
  Author: Alexander Belanger
6
6
  Author-email: alexander@hatchet.run
@@ -110,6 +110,7 @@ class DispatcherClient:
110
110
  eventTimestamp=eventTimestamp,
111
111
  eventType=event_type,
112
112
  eventPayload=payload,
113
+ retryCount=action.retry_count,
113
114
  )
114
115
 
115
116
  ## TODO: What does this return?
@@ -43,12 +43,16 @@ class EventWorkflowRunSummary(BaseModel):
43
43
  failed: Optional[StrictInt] = Field(
44
44
  default=None, description="The number of failed runs."
45
45
  )
46
+ cancelled: Optional[StrictInt] = Field(
47
+ default=None, description="The number of cancelled runs."
48
+ )
46
49
  __properties: ClassVar[List[str]] = [
47
50
  "pending",
48
51
  "running",
49
52
  "queued",
50
53
  "succeeded",
51
54
  "failed",
55
+ "cancelled",
52
56
  ]
53
57
 
54
58
  model_config = ConfigDict(
@@ -106,6 +110,7 @@ class EventWorkflowRunSummary(BaseModel):
106
110
  "queued": obj.get("queued"),
107
111
  "succeeded": obj.get("succeeded"),
108
112
  "failed": obj.get("failed"),
113
+ "cancelled": obj.get("cancelled"),
109
114
  }
110
115
  )
111
116
  return _obj
@@ -33,6 +33,7 @@ class JobRunStatus(str, Enum):
33
33
  SUCCEEDED = "SUCCEEDED"
34
34
  FAILED = "FAILED"
35
35
  CANCELLED = "CANCELLED"
36
+ BACKOFF = "BACKOFF"
36
37
 
37
38
  @classmethod
38
39
  def from_json(cls, json_str: str) -> Self:
@@ -36,6 +36,7 @@ class StepRunStatus(str, Enum):
36
36
  FAILED = "FAILED"
37
37
  CANCELLED = "CANCELLED"
38
38
  CANCELLING = "CANCELLING"
39
+ BACKOFF = "BACKOFF"
39
40
 
40
41
  @classmethod
41
42
  def from_json(cls, json_str: str) -> Self:
@@ -34,6 +34,7 @@ class WorkflowRunStatus(str, Enum):
34
34
  FAILED = "FAILED"
35
35
  CANCELLED = "CANCELLED"
36
36
  QUEUED = "QUEUED"
37
+ BACKOFF = "BACKOFF"
37
38
 
38
39
  @classmethod
39
40
  def from_json(cls, json_str: str) -> Self:
@@ -33,12 +33,14 @@ class WorkflowRunsMetricsCounts(BaseModel):
33
33
  succeeded: Optional[StrictInt] = Field(default=None, alias="SUCCEEDED")
34
34
  failed: Optional[StrictInt] = Field(default=None, alias="FAILED")
35
35
  queued: Optional[StrictInt] = Field(default=None, alias="QUEUED")
36
+ cancelled: Optional[StrictInt] = Field(default=None, alias="CANCELLED")
36
37
  __properties: ClassVar[List[str]] = [
37
38
  "PENDING",
38
39
  "RUNNING",
39
40
  "SUCCEEDED",
40
41
  "FAILED",
41
42
  "QUEUED",
43
+ "CANCELLED",
42
44
  ]
43
45
 
44
46
  model_config = ConfigDict(
@@ -96,6 +98,7 @@ class WorkflowRunsMetricsCounts(BaseModel):
96
98
  "SUCCEEDED": obj.get("SUCCEEDED"),
97
99
  "FAILED": obj.get("FAILED"),
98
100
  "QUEUED": obj.get("QUEUED"),
101
+ "CANCELLED": obj.get("CANCELLED"),
99
102
  }
100
103
  )
101
104
  return _obj
@@ -0,0 +1,112 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: dispatcher.proto
5
+ # Protobuf Python Version: 5.29.0
6
+ """Generated protocol buffer code."""
7
+ from google.protobuf import descriptor as _descriptor
8
+ from google.protobuf import descriptor_pool as _descriptor_pool
9
+ from google.protobuf import runtime_version as _runtime_version
10
+ from google.protobuf import symbol_database as _symbol_database
11
+ from google.protobuf.internal import builder as _builder
12
+ _runtime_version.ValidateProtobufRuntimeVersion(
13
+ _runtime_version.Domain.PUBLIC,
14
+ 5,
15
+ 29,
16
+ 0,
17
+ '',
18
+ 'dispatcher.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
26
+
27
+
28
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x10\x64ispatcher.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"V\n\x0cWorkerLabels\x12\x15\n\x08strValue\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x15\n\x08intValue\x18\x02 \x01(\x05H\x01\x88\x01\x01\x42\x0b\n\t_strValueB\x0b\n\t_intValue\"\xc8\x01\n\x0bRuntimeInfo\x12\x17\n\nsdkVersion\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x1c\n\x08language\x18\x02 \x01(\x0e\x32\x05.SDKSH\x01\x88\x01\x01\x12\x1c\n\x0flanguageVersion\x18\x03 \x01(\tH\x02\x88\x01\x01\x12\x0f\n\x02os\x18\x04 \x01(\tH\x03\x88\x01\x01\x12\x12\n\x05\x65xtra\x18\x05 \x01(\tH\x04\x88\x01\x01\x42\r\n\x0b_sdkVersionB\x0b\n\t_languageB\x12\n\x10_languageVersionB\x05\n\x03_osB\x08\n\x06_extra\"\xc0\x02\n\x15WorkerRegisterRequest\x12\x12\n\nworkerName\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x63tions\x18\x02 \x03(\t\x12\x10\n\x08services\x18\x03 \x03(\t\x12\x14\n\x07maxRuns\x18\x04 \x01(\x05H\x00\x88\x01\x01\x12\x32\n\x06labels\x18\x05 \x03(\x0b\x32\".WorkerRegisterRequest.LabelsEntry\x12\x16\n\twebhookId\x18\x06 \x01(\tH\x01\x88\x01\x01\x12&\n\x0bruntimeInfo\x18\x07 \x01(\x0b\x32\x0c.RuntimeInfoH\x02\x88\x01\x01\x1a<\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x1c\n\x05value\x18\x02 \x01(\x0b\x32\r.WorkerLabels:\x02\x38\x01\x42\n\n\x08_maxRunsB\x0c\n\n_webhookIdB\x0e\n\x0c_runtimeInfo\"P\n\x16WorkerRegisterResponse\x12\x10\n\x08tenantId\x18\x01 \x01(\t\x12\x10\n\x08workerId\x18\x02 \x01(\t\x12\x12\n\nworkerName\x18\x03 \x01(\t\"\xa3\x01\n\x19UpsertWorkerLabelsRequest\x12\x10\n\x08workerId\x18\x01 \x01(\t\x12\x36\n\x06labels\x18\x02 \x03(\x0b\x32&.UpsertWorkerLabelsRequest.LabelsEntry\x1a<\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x1c\n\x05value\x18\x02 \x01(\x0b\x32\r.WorkerLabels:\x02\x38\x01\"@\n\x1aUpsertWorkerLabelsResponse\x12\x10\n\x08tenantId\x18\x01 \x01(\t\x12\x10\n\x08workerId\x18\x02 \x01(\t\"\x86\x04\n\x0e\x41ssignedAction\x12\x10\n\x08tenantId\x18\x01 \x01(\t\x12\x15\n\rworkflowRunId\x18\x02 \x01(\t\x12\x18\n\x10getGroupKeyRunId\x18\x03 \x01(\t\x12\r\n\x05jobId\x18\x04 \x01(\t\x12\x0f\n\x07jobName\x18\x05 \x01(\t\x12\x10\n\x08jobRunId\x18\x06 \x01(\t\x12\x0e\n\x06stepId\x18\x07 \x01(\t\x12\x11\n\tstepRunId\x18\x08 \x01(\t\x12\x10\n\x08\x61\x63tionId\x18\t \x01(\t\x12\x1f\n\nactionType\x18\n \x01(\x0e\x32\x0b.ActionType\x12\x15\n\ractionPayload\x18\x0b \x01(\t\x12\x10\n\x08stepName\x18\x0c \x01(\t\x12\x12\n\nretryCount\x18\r \x01(\x05\x12 \n\x13\x61\x64\x64itional_metadata\x18\x0e \x01(\tH\x00\x88\x01\x01\x12!\n\x14\x63hild_workflow_index\x18\x0f \x01(\x05H\x01\x88\x01\x01\x12\x1f\n\x12\x63hild_workflow_key\x18\x10 \x01(\tH\x02\x88\x01\x01\x12#\n\x16parent_workflow_run_id\x18\x11 \x01(\tH\x03\x88\x01\x01\x42\x16\n\x14_additional_metadataB\x17\n\x15_child_workflow_indexB\x15\n\x13_child_workflow_keyB\x19\n\x17_parent_workflow_run_id\"\'\n\x13WorkerListenRequest\x12\x10\n\x08workerId\x18\x01 \x01(\t\",\n\x18WorkerUnsubscribeRequest\x12\x10\n\x08workerId\x18\x01 \x01(\t\"?\n\x19WorkerUnsubscribeResponse\x12\x10\n\x08tenantId\x18\x01 \x01(\t\x12\x10\n\x08workerId\x18\x02 \x01(\t\"\xe1\x01\n\x13GroupKeyActionEvent\x12\x10\n\x08workerId\x18\x01 \x01(\t\x12\x15\n\rworkflowRunId\x18\x02 \x01(\t\x12\x18\n\x10getGroupKeyRunId\x18\x03 \x01(\t\x12\x10\n\x08\x61\x63tionId\x18\x04 \x01(\t\x12\x32\n\x0e\x65ventTimestamp\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12+\n\teventType\x18\x06 \x01(\x0e\x32\x18.GroupKeyActionEventType\x12\x14\n\x0c\x65ventPayload\x18\x07 \x01(\t\"\x94\x02\n\x0fStepActionEvent\x12\x10\n\x08workerId\x18\x01 \x01(\t\x12\r\n\x05jobId\x18\x02 \x01(\t\x12\x10\n\x08jobRunId\x18\x03 \x01(\t\x12\x0e\n\x06stepId\x18\x04 \x01(\t\x12\x11\n\tstepRunId\x18\x05 \x01(\t\x12\x10\n\x08\x61\x63tionId\x18\x06 \x01(\t\x12\x32\n\x0e\x65ventTimestamp\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\'\n\teventType\x18\x08 \x01(\x0e\x32\x14.StepActionEventType\x12\x14\n\x0c\x65ventPayload\x18\t \x01(\t\x12\x17\n\nretryCount\x18\n \x01(\x05H\x00\x88\x01\x01\x42\r\n\x0b_retryCount\"9\n\x13\x41\x63tionEventResponse\x12\x10\n\x08tenantId\x18\x01 \x01(\t\x12\x10\n\x08workerId\x18\x02 \x01(\t\"\xc0\x01\n SubscribeToWorkflowEventsRequest\x12\x1a\n\rworkflowRunId\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x1e\n\x11\x61\x64\x64itionalMetaKey\x18\x02 \x01(\tH\x01\x88\x01\x01\x12 \n\x13\x61\x64\x64itionalMetaValue\x18\x03 \x01(\tH\x02\x88\x01\x01\x42\x10\n\x0e_workflowRunIdB\x14\n\x12_additionalMetaKeyB\x16\n\x14_additionalMetaValue\"7\n\x1eSubscribeToWorkflowRunsRequest\x12\x15\n\rworkflowRunId\x18\x01 \x01(\t\"\xb2\x02\n\rWorkflowEvent\x12\x15\n\rworkflowRunId\x18\x01 \x01(\t\x12#\n\x0cresourceType\x18\x02 \x01(\x0e\x32\r.ResourceType\x12%\n\teventType\x18\x03 \x01(\x0e\x32\x12.ResourceEventType\x12\x12\n\nresourceId\x18\x04 \x01(\t\x12\x32\n\x0e\x65ventTimestamp\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x14\n\x0c\x65ventPayload\x18\x06 \x01(\t\x12\x0e\n\x06hangup\x18\x07 \x01(\x08\x12\x18\n\x0bstepRetries\x18\x08 \x01(\x05H\x00\x88\x01\x01\x12\x17\n\nretryCount\x18\t \x01(\x05H\x01\x88\x01\x01\x42\x0e\n\x0c_stepRetriesB\r\n\x0b_retryCount\"\xa8\x01\n\x10WorkflowRunEvent\x12\x15\n\rworkflowRunId\x18\x01 \x01(\t\x12(\n\teventType\x18\x02 \x01(\x0e\x32\x15.WorkflowRunEventType\x12\x32\n\x0e\x65ventTimestamp\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x1f\n\x07results\x18\x04 \x03(\x0b\x32\x0e.StepRunResult\"\x8a\x01\n\rStepRunResult\x12\x11\n\tstepRunId\x18\x01 \x01(\t\x12\x16\n\x0estepReadableId\x18\x02 \x01(\t\x12\x10\n\x08jobRunId\x18\x03 \x01(\t\x12\x12\n\x05\x65rror\x18\x04 \x01(\tH\x00\x88\x01\x01\x12\x13\n\x06output\x18\x05 \x01(\tH\x01\x88\x01\x01\x42\x08\n\x06_errorB\t\n\x07_output\"W\n\rOverridesData\x12\x11\n\tstepRunId\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\r\n\x05value\x18\x03 \x01(\t\x12\x16\n\x0e\x63\x61llerFilename\x18\x04 \x01(\t\"\x17\n\x15OverridesDataResponse\"U\n\x10HeartbeatRequest\x12\x10\n\x08workerId\x18\x01 \x01(\t\x12/\n\x0bheartbeatAt\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x13\n\x11HeartbeatResponse\"F\n\x15RefreshTimeoutRequest\x12\x11\n\tstepRunId\x18\x01 \x01(\t\x12\x1a\n\x12incrementTimeoutBy\x18\x02 \x01(\t\"G\n\x16RefreshTimeoutResponse\x12-\n\ttimeoutAt\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\'\n\x12ReleaseSlotRequest\x12\x11\n\tstepRunId\x18\x01 \x01(\t\"\x15\n\x13ReleaseSlotResponse*7\n\x04SDKS\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x06\n\x02GO\x10\x01\x12\n\n\x06PYTHON\x10\x02\x12\x0e\n\nTYPESCRIPT\x10\x03*N\n\nActionType\x12\x12\n\x0eSTART_STEP_RUN\x10\x00\x12\x13\n\x0f\x43\x41NCEL_STEP_RUN\x10\x01\x12\x17\n\x13START_GET_GROUP_KEY\x10\x02*\xa2\x01\n\x17GroupKeyActionEventType\x12 \n\x1cGROUP_KEY_EVENT_TYPE_UNKNOWN\x10\x00\x12 \n\x1cGROUP_KEY_EVENT_TYPE_STARTED\x10\x01\x12\"\n\x1eGROUP_KEY_EVENT_TYPE_COMPLETED\x10\x02\x12\x1f\n\x1bGROUP_KEY_EVENT_TYPE_FAILED\x10\x03*\xac\x01\n\x13StepActionEventType\x12\x1b\n\x17STEP_EVENT_TYPE_UNKNOWN\x10\x00\x12\x1b\n\x17STEP_EVENT_TYPE_STARTED\x10\x01\x12\x1d\n\x19STEP_EVENT_TYPE_COMPLETED\x10\x02\x12\x1a\n\x16STEP_EVENT_TYPE_FAILED\x10\x03\x12 \n\x1cSTEP_EVENT_TYPE_ACKNOWLEDGED\x10\x04*e\n\x0cResourceType\x12\x19\n\x15RESOURCE_TYPE_UNKNOWN\x10\x00\x12\x1a\n\x16RESOURCE_TYPE_STEP_RUN\x10\x01\x12\x1e\n\x1aRESOURCE_TYPE_WORKFLOW_RUN\x10\x02*\xfe\x01\n\x11ResourceEventType\x12\x1f\n\x1bRESOURCE_EVENT_TYPE_UNKNOWN\x10\x00\x12\x1f\n\x1bRESOURCE_EVENT_TYPE_STARTED\x10\x01\x12!\n\x1dRESOURCE_EVENT_TYPE_COMPLETED\x10\x02\x12\x1e\n\x1aRESOURCE_EVENT_TYPE_FAILED\x10\x03\x12!\n\x1dRESOURCE_EVENT_TYPE_CANCELLED\x10\x04\x12!\n\x1dRESOURCE_EVENT_TYPE_TIMED_OUT\x10\x05\x12\x1e\n\x1aRESOURCE_EVENT_TYPE_STREAM\x10\x06*<\n\x14WorkflowRunEventType\x12$\n WORKFLOW_RUN_EVENT_TYPE_FINISHED\x10\x00\x32\xf8\x06\n\nDispatcher\x12=\n\x08Register\x12\x16.WorkerRegisterRequest\x1a\x17.WorkerRegisterResponse\"\x00\x12\x33\n\x06Listen\x12\x14.WorkerListenRequest\x1a\x0f.AssignedAction\"\x00\x30\x01\x12\x35\n\x08ListenV2\x12\x14.WorkerListenRequest\x1a\x0f.AssignedAction\"\x00\x30\x01\x12\x34\n\tHeartbeat\x12\x11.HeartbeatRequest\x1a\x12.HeartbeatResponse\"\x00\x12R\n\x19SubscribeToWorkflowEvents\x12!.SubscribeToWorkflowEventsRequest\x1a\x0e.WorkflowEvent\"\x00\x30\x01\x12S\n\x17SubscribeToWorkflowRuns\x12\x1f.SubscribeToWorkflowRunsRequest\x1a\x11.WorkflowRunEvent\"\x00(\x01\x30\x01\x12?\n\x13SendStepActionEvent\x12\x10.StepActionEvent\x1a\x14.ActionEventResponse\"\x00\x12G\n\x17SendGroupKeyActionEvent\x12\x14.GroupKeyActionEvent\x1a\x14.ActionEventResponse\"\x00\x12<\n\x10PutOverridesData\x12\x0e.OverridesData\x1a\x16.OverridesDataResponse\"\x00\x12\x46\n\x0bUnsubscribe\x12\x19.WorkerUnsubscribeRequest\x1a\x1a.WorkerUnsubscribeResponse\"\x00\x12\x43\n\x0eRefreshTimeout\x12\x16.RefreshTimeoutRequest\x1a\x17.RefreshTimeoutResponse\"\x00\x12:\n\x0bReleaseSlot\x12\x13.ReleaseSlotRequest\x1a\x14.ReleaseSlotResponse\"\x00\x12O\n\x12UpsertWorkerLabels\x12\x1a.UpsertWorkerLabelsRequest\x1a\x1b.UpsertWorkerLabelsResponse\"\x00\x42GZEgithub.com/hatchet-dev/hatchet/internal/services/dispatcher/contractsb\x06proto3')
29
+
30
+ _globals = globals()
31
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
32
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'dispatcher_pb2', _globals)
33
+ if not _descriptor._USE_C_DESCRIPTORS:
34
+ _globals['DESCRIPTOR']._loaded_options = None
35
+ _globals['DESCRIPTOR']._serialized_options = b'ZEgithub.com/hatchet-dev/hatchet/internal/services/dispatcher/contracts'
36
+ _globals['_WORKERREGISTERREQUEST_LABELSENTRY']._loaded_options = None
37
+ _globals['_WORKERREGISTERREQUEST_LABELSENTRY']._serialized_options = b'8\001'
38
+ _globals['_UPSERTWORKERLABELSREQUEST_LABELSENTRY']._loaded_options = None
39
+ _globals['_UPSERTWORKERLABELSREQUEST_LABELSENTRY']._serialized_options = b'8\001'
40
+ _globals['_SDKS']._serialized_start=3524
41
+ _globals['_SDKS']._serialized_end=3579
42
+ _globals['_ACTIONTYPE']._serialized_start=3581
43
+ _globals['_ACTIONTYPE']._serialized_end=3659
44
+ _globals['_GROUPKEYACTIONEVENTTYPE']._serialized_start=3662
45
+ _globals['_GROUPKEYACTIONEVENTTYPE']._serialized_end=3824
46
+ _globals['_STEPACTIONEVENTTYPE']._serialized_start=3827
47
+ _globals['_STEPACTIONEVENTTYPE']._serialized_end=3999
48
+ _globals['_RESOURCETYPE']._serialized_start=4001
49
+ _globals['_RESOURCETYPE']._serialized_end=4102
50
+ _globals['_RESOURCEEVENTTYPE']._serialized_start=4105
51
+ _globals['_RESOURCEEVENTTYPE']._serialized_end=4359
52
+ _globals['_WORKFLOWRUNEVENTTYPE']._serialized_start=4361
53
+ _globals['_WORKFLOWRUNEVENTTYPE']._serialized_end=4421
54
+ _globals['_WORKERLABELS']._serialized_start=53
55
+ _globals['_WORKERLABELS']._serialized_end=139
56
+ _globals['_RUNTIMEINFO']._serialized_start=142
57
+ _globals['_RUNTIMEINFO']._serialized_end=342
58
+ _globals['_WORKERREGISTERREQUEST']._serialized_start=345
59
+ _globals['_WORKERREGISTERREQUEST']._serialized_end=665
60
+ _globals['_WORKERREGISTERREQUEST_LABELSENTRY']._serialized_start=563
61
+ _globals['_WORKERREGISTERREQUEST_LABELSENTRY']._serialized_end=623
62
+ _globals['_WORKERREGISTERRESPONSE']._serialized_start=667
63
+ _globals['_WORKERREGISTERRESPONSE']._serialized_end=747
64
+ _globals['_UPSERTWORKERLABELSREQUEST']._serialized_start=750
65
+ _globals['_UPSERTWORKERLABELSREQUEST']._serialized_end=913
66
+ _globals['_UPSERTWORKERLABELSREQUEST_LABELSENTRY']._serialized_start=563
67
+ _globals['_UPSERTWORKERLABELSREQUEST_LABELSENTRY']._serialized_end=623
68
+ _globals['_UPSERTWORKERLABELSRESPONSE']._serialized_start=915
69
+ _globals['_UPSERTWORKERLABELSRESPONSE']._serialized_end=979
70
+ _globals['_ASSIGNEDACTION']._serialized_start=982
71
+ _globals['_ASSIGNEDACTION']._serialized_end=1500
72
+ _globals['_WORKERLISTENREQUEST']._serialized_start=1502
73
+ _globals['_WORKERLISTENREQUEST']._serialized_end=1541
74
+ _globals['_WORKERUNSUBSCRIBEREQUEST']._serialized_start=1543
75
+ _globals['_WORKERUNSUBSCRIBEREQUEST']._serialized_end=1587
76
+ _globals['_WORKERUNSUBSCRIBERESPONSE']._serialized_start=1589
77
+ _globals['_WORKERUNSUBSCRIBERESPONSE']._serialized_end=1652
78
+ _globals['_GROUPKEYACTIONEVENT']._serialized_start=1655
79
+ _globals['_GROUPKEYACTIONEVENT']._serialized_end=1880
80
+ _globals['_STEPACTIONEVENT']._serialized_start=1883
81
+ _globals['_STEPACTIONEVENT']._serialized_end=2159
82
+ _globals['_ACTIONEVENTRESPONSE']._serialized_start=2161
83
+ _globals['_ACTIONEVENTRESPONSE']._serialized_end=2218
84
+ _globals['_SUBSCRIBETOWORKFLOWEVENTSREQUEST']._serialized_start=2221
85
+ _globals['_SUBSCRIBETOWORKFLOWEVENTSREQUEST']._serialized_end=2413
86
+ _globals['_SUBSCRIBETOWORKFLOWRUNSREQUEST']._serialized_start=2415
87
+ _globals['_SUBSCRIBETOWORKFLOWRUNSREQUEST']._serialized_end=2470
88
+ _globals['_WORKFLOWEVENT']._serialized_start=2473
89
+ _globals['_WORKFLOWEVENT']._serialized_end=2779
90
+ _globals['_WORKFLOWRUNEVENT']._serialized_start=2782
91
+ _globals['_WORKFLOWRUNEVENT']._serialized_end=2950
92
+ _globals['_STEPRUNRESULT']._serialized_start=2953
93
+ _globals['_STEPRUNRESULT']._serialized_end=3091
94
+ _globals['_OVERRIDESDATA']._serialized_start=3093
95
+ _globals['_OVERRIDESDATA']._serialized_end=3180
96
+ _globals['_OVERRIDESDATARESPONSE']._serialized_start=3182
97
+ _globals['_OVERRIDESDATARESPONSE']._serialized_end=3205
98
+ _globals['_HEARTBEATREQUEST']._serialized_start=3207
99
+ _globals['_HEARTBEATREQUEST']._serialized_end=3292
100
+ _globals['_HEARTBEATRESPONSE']._serialized_start=3294
101
+ _globals['_HEARTBEATRESPONSE']._serialized_end=3313
102
+ _globals['_REFRESHTIMEOUTREQUEST']._serialized_start=3315
103
+ _globals['_REFRESHTIMEOUTREQUEST']._serialized_end=3385
104
+ _globals['_REFRESHTIMEOUTRESPONSE']._serialized_start=3387
105
+ _globals['_REFRESHTIMEOUTRESPONSE']._serialized_end=3458
106
+ _globals['_RELEASESLOTREQUEST']._serialized_start=3460
107
+ _globals['_RELEASESLOTREQUEST']._serialized_end=3499
108
+ _globals['_RELEASESLOTRESPONSE']._serialized_start=3501
109
+ _globals['_RELEASESLOTRESPONSE']._serialized_end=3522
110
+ _globals['_DISPATCHER']._serialized_start=4424
111
+ _globals['_DISPATCHER']._serialized_end=5312
112
+ # @@protoc_insertion_point(module_scope)
@@ -239,7 +239,7 @@ class GroupKeyActionEvent(_message.Message):
239
239
  def __init__(self, workerId: _Optional[str] = ..., workflowRunId: _Optional[str] = ..., getGroupKeyRunId: _Optional[str] = ..., actionId: _Optional[str] = ..., eventTimestamp: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., eventType: _Optional[_Union[GroupKeyActionEventType, str]] = ..., eventPayload: _Optional[str] = ...) -> None: ...
240
240
 
241
241
  class StepActionEvent(_message.Message):
242
- __slots__ = ("workerId", "jobId", "jobRunId", "stepId", "stepRunId", "actionId", "eventTimestamp", "eventType", "eventPayload")
242
+ __slots__ = ("workerId", "jobId", "jobRunId", "stepId", "stepRunId", "actionId", "eventTimestamp", "eventType", "eventPayload", "retryCount")
243
243
  WORKERID_FIELD_NUMBER: _ClassVar[int]
244
244
  JOBID_FIELD_NUMBER: _ClassVar[int]
245
245
  JOBRUNID_FIELD_NUMBER: _ClassVar[int]
@@ -249,6 +249,7 @@ class StepActionEvent(_message.Message):
249
249
  EVENTTIMESTAMP_FIELD_NUMBER: _ClassVar[int]
250
250
  EVENTTYPE_FIELD_NUMBER: _ClassVar[int]
251
251
  EVENTPAYLOAD_FIELD_NUMBER: _ClassVar[int]
252
+ RETRYCOUNT_FIELD_NUMBER: _ClassVar[int]
252
253
  workerId: str
253
254
  jobId: str
254
255
  jobRunId: str
@@ -258,7 +259,8 @@ class StepActionEvent(_message.Message):
258
259
  eventTimestamp: _timestamp_pb2.Timestamp
259
260
  eventType: StepActionEventType
260
261
  eventPayload: str
261
- def __init__(self, workerId: _Optional[str] = ..., jobId: _Optional[str] = ..., jobRunId: _Optional[str] = ..., stepId: _Optional[str] = ..., stepRunId: _Optional[str] = ..., actionId: _Optional[str] = ..., eventTimestamp: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., eventType: _Optional[_Union[StepActionEventType, str]] = ..., eventPayload: _Optional[str] = ...) -> None: ...
262
+ retryCount: int
263
+ def __init__(self, workerId: _Optional[str] = ..., jobId: _Optional[str] = ..., jobRunId: _Optional[str] = ..., stepId: _Optional[str] = ..., stepRunId: _Optional[str] = ..., actionId: _Optional[str] = ..., eventTimestamp: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., eventType: _Optional[_Union[StepActionEventType, str]] = ..., eventPayload: _Optional[str] = ..., retryCount: _Optional[int] = ...) -> None: ...
262
264
 
263
265
  class ActionEventResponse(_message.Message):
264
266
  __slots__ = ("tenantId", "workerId")
@@ -5,7 +5,7 @@ import warnings
5
5
 
6
6
  from . import dispatcher_pb2 as dispatcher__pb2
7
7
 
8
- GRPC_GENERATED_VERSION = '1.68.1'
8
+ GRPC_GENERATED_VERSION = '1.69.0'
9
9
  GRPC_VERSION = grpc.__version__
10
10
  _version_not_supported = False
11
11
 
@@ -2,7 +2,7 @@
2
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
3
3
  # NO CHECKED-IN PROTOBUF GENCODE
4
4
  # source: events.proto
5
- # Protobuf Python Version: 5.28.1
5
+ # Protobuf Python Version: 5.29.0
6
6
  """Generated protocol buffer code."""
7
7
  from google.protobuf import descriptor as _descriptor
8
8
  from google.protobuf import descriptor_pool as _descriptor_pool
@@ -12,8 +12,8 @@ from google.protobuf.internal import builder as _builder
12
12
  _runtime_version.ValidateProtobufRuntimeVersion(
13
13
  _runtime_version.Domain.PUBLIC,
14
14
  5,
15
- 28,
16
- 1,
15
+ 29,
16
+ 0,
17
17
  '',
18
18
  'events.proto'
19
19
  )
@@ -5,7 +5,7 @@ import warnings
5
5
 
6
6
  from . import events_pb2 as events__pb2
7
7
 
8
- GRPC_GENERATED_VERSION = '1.68.1'
8
+ GRPC_GENERATED_VERSION = '1.69.0'
9
9
  GRPC_VERSION = grpc.__version__
10
10
  _version_not_supported = False
11
11
 
@@ -2,7 +2,7 @@
2
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
3
3
  # NO CHECKED-IN PROTOBUF GENCODE
4
4
  # source: workflows.proto
5
- # Protobuf Python Version: 5.28.1
5
+ # Protobuf Python Version: 5.29.0
6
6
  """Generated protocol buffer code."""
7
7
  from google.protobuf import descriptor as _descriptor
8
8
  from google.protobuf import descriptor_pool as _descriptor_pool
@@ -12,8 +12,8 @@ from google.protobuf.internal import builder as _builder
12
12
  _runtime_version.ValidateProtobufRuntimeVersion(
13
13
  _runtime_version.Domain.PUBLIC,
14
14
  5,
15
- 28,
16
- 1,
15
+ 29,
16
+ 0,
17
17
  '',
18
18
  'workflows.proto'
19
19
  )
@@ -5,7 +5,7 @@ import warnings
5
5
 
6
6
  from . import workflows_pb2 as workflows__pb2
7
7
 
8
- GRPC_GENERATED_VERSION = '1.68.1'
8
+ GRPC_GENERATED_VERSION = '1.69.0'
9
9
  GRPC_VERSION = grpc.__version__
10
10
  _version_not_supported = False
11
11
 
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "hatchet-sdk"
3
- version = "0.45.0"
3
+ version = "0.45.1"
4
4
  description = ""
5
5
  authors = ["Alexander Belanger <alexander@hatchet.run>"]
6
6
  readme = "README.md"
@@ -1,112 +0,0 @@
1
- # -*- coding: utf-8 -*-
2
- # Generated by the protocol buffer compiler. DO NOT EDIT!
3
- # NO CHECKED-IN PROTOBUF GENCODE
4
- # source: dispatcher.proto
5
- # Protobuf Python Version: 5.28.1
6
- """Generated protocol buffer code."""
7
- from google.protobuf import descriptor as _descriptor
8
- from google.protobuf import descriptor_pool as _descriptor_pool
9
- from google.protobuf import runtime_version as _runtime_version
10
- from google.protobuf import symbol_database as _symbol_database
11
- from google.protobuf.internal import builder as _builder
12
- _runtime_version.ValidateProtobufRuntimeVersion(
13
- _runtime_version.Domain.PUBLIC,
14
- 5,
15
- 28,
16
- 1,
17
- '',
18
- 'dispatcher.proto'
19
- )
20
- # @@protoc_insertion_point(imports)
21
-
22
- _sym_db = _symbol_database.Default()
23
-
24
-
25
- from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
26
-
27
-
28
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x10\x64ispatcher.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"V\n\x0cWorkerLabels\x12\x15\n\x08strValue\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x15\n\x08intValue\x18\x02 \x01(\x05H\x01\x88\x01\x01\x42\x0b\n\t_strValueB\x0b\n\t_intValue\"\xc8\x01\n\x0bRuntimeInfo\x12\x17\n\nsdkVersion\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x1c\n\x08language\x18\x02 \x01(\x0e\x32\x05.SDKSH\x01\x88\x01\x01\x12\x1c\n\x0flanguageVersion\x18\x03 \x01(\tH\x02\x88\x01\x01\x12\x0f\n\x02os\x18\x04 \x01(\tH\x03\x88\x01\x01\x12\x12\n\x05\x65xtra\x18\x05 \x01(\tH\x04\x88\x01\x01\x42\r\n\x0b_sdkVersionB\x0b\n\t_languageB\x12\n\x10_languageVersionB\x05\n\x03_osB\x08\n\x06_extra\"\xc0\x02\n\x15WorkerRegisterRequest\x12\x12\n\nworkerName\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x63tions\x18\x02 \x03(\t\x12\x10\n\x08services\x18\x03 \x03(\t\x12\x14\n\x07maxRuns\x18\x04 \x01(\x05H\x00\x88\x01\x01\x12\x32\n\x06labels\x18\x05 \x03(\x0b\x32\".WorkerRegisterRequest.LabelsEntry\x12\x16\n\twebhookId\x18\x06 \x01(\tH\x01\x88\x01\x01\x12&\n\x0bruntimeInfo\x18\x07 \x01(\x0b\x32\x0c.RuntimeInfoH\x02\x88\x01\x01\x1a<\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x1c\n\x05value\x18\x02 \x01(\x0b\x32\r.WorkerLabels:\x02\x38\x01\x42\n\n\x08_maxRunsB\x0c\n\n_webhookIdB\x0e\n\x0c_runtimeInfo\"P\n\x16WorkerRegisterResponse\x12\x10\n\x08tenantId\x18\x01 \x01(\t\x12\x10\n\x08workerId\x18\x02 \x01(\t\x12\x12\n\nworkerName\x18\x03 \x01(\t\"\xa3\x01\n\x19UpsertWorkerLabelsRequest\x12\x10\n\x08workerId\x18\x01 \x01(\t\x12\x36\n\x06labels\x18\x02 \x03(\x0b\x32&.UpsertWorkerLabelsRequest.LabelsEntry\x1a<\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x1c\n\x05value\x18\x02 \x01(\x0b\x32\r.WorkerLabels:\x02\x38\x01\"@\n\x1aUpsertWorkerLabelsResponse\x12\x10\n\x08tenantId\x18\x01 \x01(\t\x12\x10\n\x08workerId\x18\x02 \x01(\t\"\x86\x04\n\x0e\x41ssignedAction\x12\x10\n\x08tenantId\x18\x01 \x01(\t\x12\x15\n\rworkflowRunId\x18\x02 \x01(\t\x12\x18\n\x10getGroupKeyRunId\x18\x03 \x01(\t\x12\r\n\x05jobId\x18\x04 \x01(\t\x12\x0f\n\x07jobName\x18\x05 \x01(\t\x12\x10\n\x08jobRunId\x18\x06 \x01(\t\x12\x0e\n\x06stepId\x18\x07 \x01(\t\x12\x11\n\tstepRunId\x18\x08 \x01(\t\x12\x10\n\x08\x61\x63tionId\x18\t \x01(\t\x12\x1f\n\nactionType\x18\n \x01(\x0e\x32\x0b.ActionType\x12\x15\n\ractionPayload\x18\x0b \x01(\t\x12\x10\n\x08stepName\x18\x0c \x01(\t\x12\x12\n\nretryCount\x18\r \x01(\x05\x12 \n\x13\x61\x64\x64itional_metadata\x18\x0e \x01(\tH\x00\x88\x01\x01\x12!\n\x14\x63hild_workflow_index\x18\x0f \x01(\x05H\x01\x88\x01\x01\x12\x1f\n\x12\x63hild_workflow_key\x18\x10 \x01(\tH\x02\x88\x01\x01\x12#\n\x16parent_workflow_run_id\x18\x11 \x01(\tH\x03\x88\x01\x01\x42\x16\n\x14_additional_metadataB\x17\n\x15_child_workflow_indexB\x15\n\x13_child_workflow_keyB\x19\n\x17_parent_workflow_run_id\"\'\n\x13WorkerListenRequest\x12\x10\n\x08workerId\x18\x01 \x01(\t\",\n\x18WorkerUnsubscribeRequest\x12\x10\n\x08workerId\x18\x01 \x01(\t\"?\n\x19WorkerUnsubscribeResponse\x12\x10\n\x08tenantId\x18\x01 \x01(\t\x12\x10\n\x08workerId\x18\x02 \x01(\t\"\xe1\x01\n\x13GroupKeyActionEvent\x12\x10\n\x08workerId\x18\x01 \x01(\t\x12\x15\n\rworkflowRunId\x18\x02 \x01(\t\x12\x18\n\x10getGroupKeyRunId\x18\x03 \x01(\t\x12\x10\n\x08\x61\x63tionId\x18\x04 \x01(\t\x12\x32\n\x0e\x65ventTimestamp\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12+\n\teventType\x18\x06 \x01(\x0e\x32\x18.GroupKeyActionEventType\x12\x14\n\x0c\x65ventPayload\x18\x07 \x01(\t\"\xec\x01\n\x0fStepActionEvent\x12\x10\n\x08workerId\x18\x01 \x01(\t\x12\r\n\x05jobId\x18\x02 \x01(\t\x12\x10\n\x08jobRunId\x18\x03 \x01(\t\x12\x0e\n\x06stepId\x18\x04 \x01(\t\x12\x11\n\tstepRunId\x18\x05 \x01(\t\x12\x10\n\x08\x61\x63tionId\x18\x06 \x01(\t\x12\x32\n\x0e\x65ventTimestamp\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\'\n\teventType\x18\x08 \x01(\x0e\x32\x14.StepActionEventType\x12\x14\n\x0c\x65ventPayload\x18\t \x01(\t\"9\n\x13\x41\x63tionEventResponse\x12\x10\n\x08tenantId\x18\x01 \x01(\t\x12\x10\n\x08workerId\x18\x02 \x01(\t\"\xc0\x01\n SubscribeToWorkflowEventsRequest\x12\x1a\n\rworkflowRunId\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x1e\n\x11\x61\x64\x64itionalMetaKey\x18\x02 \x01(\tH\x01\x88\x01\x01\x12 \n\x13\x61\x64\x64itionalMetaValue\x18\x03 \x01(\tH\x02\x88\x01\x01\x42\x10\n\x0e_workflowRunIdB\x14\n\x12_additionalMetaKeyB\x16\n\x14_additionalMetaValue\"7\n\x1eSubscribeToWorkflowRunsRequest\x12\x15\n\rworkflowRunId\x18\x01 \x01(\t\"\xb2\x02\n\rWorkflowEvent\x12\x15\n\rworkflowRunId\x18\x01 \x01(\t\x12#\n\x0cresourceType\x18\x02 \x01(\x0e\x32\r.ResourceType\x12%\n\teventType\x18\x03 \x01(\x0e\x32\x12.ResourceEventType\x12\x12\n\nresourceId\x18\x04 \x01(\t\x12\x32\n\x0e\x65ventTimestamp\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x14\n\x0c\x65ventPayload\x18\x06 \x01(\t\x12\x0e\n\x06hangup\x18\x07 \x01(\x08\x12\x18\n\x0bstepRetries\x18\x08 \x01(\x05H\x00\x88\x01\x01\x12\x17\n\nretryCount\x18\t \x01(\x05H\x01\x88\x01\x01\x42\x0e\n\x0c_stepRetriesB\r\n\x0b_retryCount\"\xa8\x01\n\x10WorkflowRunEvent\x12\x15\n\rworkflowRunId\x18\x01 \x01(\t\x12(\n\teventType\x18\x02 \x01(\x0e\x32\x15.WorkflowRunEventType\x12\x32\n\x0e\x65ventTimestamp\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x1f\n\x07results\x18\x04 \x03(\x0b\x32\x0e.StepRunResult\"\x8a\x01\n\rStepRunResult\x12\x11\n\tstepRunId\x18\x01 \x01(\t\x12\x16\n\x0estepReadableId\x18\x02 \x01(\t\x12\x10\n\x08jobRunId\x18\x03 \x01(\t\x12\x12\n\x05\x65rror\x18\x04 \x01(\tH\x00\x88\x01\x01\x12\x13\n\x06output\x18\x05 \x01(\tH\x01\x88\x01\x01\x42\x08\n\x06_errorB\t\n\x07_output\"W\n\rOverridesData\x12\x11\n\tstepRunId\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\r\n\x05value\x18\x03 \x01(\t\x12\x16\n\x0e\x63\x61llerFilename\x18\x04 \x01(\t\"\x17\n\x15OverridesDataResponse\"U\n\x10HeartbeatRequest\x12\x10\n\x08workerId\x18\x01 \x01(\t\x12/\n\x0bheartbeatAt\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x13\n\x11HeartbeatResponse\"F\n\x15RefreshTimeoutRequest\x12\x11\n\tstepRunId\x18\x01 \x01(\t\x12\x1a\n\x12incrementTimeoutBy\x18\x02 \x01(\t\"G\n\x16RefreshTimeoutResponse\x12-\n\ttimeoutAt\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\'\n\x12ReleaseSlotRequest\x12\x11\n\tstepRunId\x18\x01 \x01(\t\"\x15\n\x13ReleaseSlotResponse*7\n\x04SDKS\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x06\n\x02GO\x10\x01\x12\n\n\x06PYTHON\x10\x02\x12\x0e\n\nTYPESCRIPT\x10\x03*N\n\nActionType\x12\x12\n\x0eSTART_STEP_RUN\x10\x00\x12\x13\n\x0f\x43\x41NCEL_STEP_RUN\x10\x01\x12\x17\n\x13START_GET_GROUP_KEY\x10\x02*\xa2\x01\n\x17GroupKeyActionEventType\x12 \n\x1cGROUP_KEY_EVENT_TYPE_UNKNOWN\x10\x00\x12 \n\x1cGROUP_KEY_EVENT_TYPE_STARTED\x10\x01\x12\"\n\x1eGROUP_KEY_EVENT_TYPE_COMPLETED\x10\x02\x12\x1f\n\x1bGROUP_KEY_EVENT_TYPE_FAILED\x10\x03*\xac\x01\n\x13StepActionEventType\x12\x1b\n\x17STEP_EVENT_TYPE_UNKNOWN\x10\x00\x12\x1b\n\x17STEP_EVENT_TYPE_STARTED\x10\x01\x12\x1d\n\x19STEP_EVENT_TYPE_COMPLETED\x10\x02\x12\x1a\n\x16STEP_EVENT_TYPE_FAILED\x10\x03\x12 \n\x1cSTEP_EVENT_TYPE_ACKNOWLEDGED\x10\x04*e\n\x0cResourceType\x12\x19\n\x15RESOURCE_TYPE_UNKNOWN\x10\x00\x12\x1a\n\x16RESOURCE_TYPE_STEP_RUN\x10\x01\x12\x1e\n\x1aRESOURCE_TYPE_WORKFLOW_RUN\x10\x02*\xfe\x01\n\x11ResourceEventType\x12\x1f\n\x1bRESOURCE_EVENT_TYPE_UNKNOWN\x10\x00\x12\x1f\n\x1bRESOURCE_EVENT_TYPE_STARTED\x10\x01\x12!\n\x1dRESOURCE_EVENT_TYPE_COMPLETED\x10\x02\x12\x1e\n\x1aRESOURCE_EVENT_TYPE_FAILED\x10\x03\x12!\n\x1dRESOURCE_EVENT_TYPE_CANCELLED\x10\x04\x12!\n\x1dRESOURCE_EVENT_TYPE_TIMED_OUT\x10\x05\x12\x1e\n\x1aRESOURCE_EVENT_TYPE_STREAM\x10\x06*<\n\x14WorkflowRunEventType\x12$\n WORKFLOW_RUN_EVENT_TYPE_FINISHED\x10\x00\x32\xf8\x06\n\nDispatcher\x12=\n\x08Register\x12\x16.WorkerRegisterRequest\x1a\x17.WorkerRegisterResponse\"\x00\x12\x33\n\x06Listen\x12\x14.WorkerListenRequest\x1a\x0f.AssignedAction\"\x00\x30\x01\x12\x35\n\x08ListenV2\x12\x14.WorkerListenRequest\x1a\x0f.AssignedAction\"\x00\x30\x01\x12\x34\n\tHeartbeat\x12\x11.HeartbeatRequest\x1a\x12.HeartbeatResponse\"\x00\x12R\n\x19SubscribeToWorkflowEvents\x12!.SubscribeToWorkflowEventsRequest\x1a\x0e.WorkflowEvent\"\x00\x30\x01\x12S\n\x17SubscribeToWorkflowRuns\x12\x1f.SubscribeToWorkflowRunsRequest\x1a\x11.WorkflowRunEvent\"\x00(\x01\x30\x01\x12?\n\x13SendStepActionEvent\x12\x10.StepActionEvent\x1a\x14.ActionEventResponse\"\x00\x12G\n\x17SendGroupKeyActionEvent\x12\x14.GroupKeyActionEvent\x1a\x14.ActionEventResponse\"\x00\x12<\n\x10PutOverridesData\x12\x0e.OverridesData\x1a\x16.OverridesDataResponse\"\x00\x12\x46\n\x0bUnsubscribe\x12\x19.WorkerUnsubscribeRequest\x1a\x1a.WorkerUnsubscribeResponse\"\x00\x12\x43\n\x0eRefreshTimeout\x12\x16.RefreshTimeoutRequest\x1a\x17.RefreshTimeoutResponse\"\x00\x12:\n\x0bReleaseSlot\x12\x13.ReleaseSlotRequest\x1a\x14.ReleaseSlotResponse\"\x00\x12O\n\x12UpsertWorkerLabels\x12\x1a.UpsertWorkerLabelsRequest\x1a\x1b.UpsertWorkerLabelsResponse\"\x00\x42GZEgithub.com/hatchet-dev/hatchet/internal/services/dispatcher/contractsb\x06proto3')
29
-
30
- _globals = globals()
31
- _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
32
- _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'dispatcher_pb2', _globals)
33
- if not _descriptor._USE_C_DESCRIPTORS:
34
- _globals['DESCRIPTOR']._loaded_options = None
35
- _globals['DESCRIPTOR']._serialized_options = b'ZEgithub.com/hatchet-dev/hatchet/internal/services/dispatcher/contracts'
36
- _globals['_WORKERREGISTERREQUEST_LABELSENTRY']._loaded_options = None
37
- _globals['_WORKERREGISTERREQUEST_LABELSENTRY']._serialized_options = b'8\001'
38
- _globals['_UPSERTWORKERLABELSREQUEST_LABELSENTRY']._loaded_options = None
39
- _globals['_UPSERTWORKERLABELSREQUEST_LABELSENTRY']._serialized_options = b'8\001'
40
- _globals['_SDKS']._serialized_start=3484
41
- _globals['_SDKS']._serialized_end=3539
42
- _globals['_ACTIONTYPE']._serialized_start=3541
43
- _globals['_ACTIONTYPE']._serialized_end=3619
44
- _globals['_GROUPKEYACTIONEVENTTYPE']._serialized_start=3622
45
- _globals['_GROUPKEYACTIONEVENTTYPE']._serialized_end=3784
46
- _globals['_STEPACTIONEVENTTYPE']._serialized_start=3787
47
- _globals['_STEPACTIONEVENTTYPE']._serialized_end=3959
48
- _globals['_RESOURCETYPE']._serialized_start=3961
49
- _globals['_RESOURCETYPE']._serialized_end=4062
50
- _globals['_RESOURCEEVENTTYPE']._serialized_start=4065
51
- _globals['_RESOURCEEVENTTYPE']._serialized_end=4319
52
- _globals['_WORKFLOWRUNEVENTTYPE']._serialized_start=4321
53
- _globals['_WORKFLOWRUNEVENTTYPE']._serialized_end=4381
54
- _globals['_WORKERLABELS']._serialized_start=53
55
- _globals['_WORKERLABELS']._serialized_end=139
56
- _globals['_RUNTIMEINFO']._serialized_start=142
57
- _globals['_RUNTIMEINFO']._serialized_end=342
58
- _globals['_WORKERREGISTERREQUEST']._serialized_start=345
59
- _globals['_WORKERREGISTERREQUEST']._serialized_end=665
60
- _globals['_WORKERREGISTERREQUEST_LABELSENTRY']._serialized_start=563
61
- _globals['_WORKERREGISTERREQUEST_LABELSENTRY']._serialized_end=623
62
- _globals['_WORKERREGISTERRESPONSE']._serialized_start=667
63
- _globals['_WORKERREGISTERRESPONSE']._serialized_end=747
64
- _globals['_UPSERTWORKERLABELSREQUEST']._serialized_start=750
65
- _globals['_UPSERTWORKERLABELSREQUEST']._serialized_end=913
66
- _globals['_UPSERTWORKERLABELSREQUEST_LABELSENTRY']._serialized_start=563
67
- _globals['_UPSERTWORKERLABELSREQUEST_LABELSENTRY']._serialized_end=623
68
- _globals['_UPSERTWORKERLABELSRESPONSE']._serialized_start=915
69
- _globals['_UPSERTWORKERLABELSRESPONSE']._serialized_end=979
70
- _globals['_ASSIGNEDACTION']._serialized_start=982
71
- _globals['_ASSIGNEDACTION']._serialized_end=1500
72
- _globals['_WORKERLISTENREQUEST']._serialized_start=1502
73
- _globals['_WORKERLISTENREQUEST']._serialized_end=1541
74
- _globals['_WORKERUNSUBSCRIBEREQUEST']._serialized_start=1543
75
- _globals['_WORKERUNSUBSCRIBEREQUEST']._serialized_end=1587
76
- _globals['_WORKERUNSUBSCRIBERESPONSE']._serialized_start=1589
77
- _globals['_WORKERUNSUBSCRIBERESPONSE']._serialized_end=1652
78
- _globals['_GROUPKEYACTIONEVENT']._serialized_start=1655
79
- _globals['_GROUPKEYACTIONEVENT']._serialized_end=1880
80
- _globals['_STEPACTIONEVENT']._serialized_start=1883
81
- _globals['_STEPACTIONEVENT']._serialized_end=2119
82
- _globals['_ACTIONEVENTRESPONSE']._serialized_start=2121
83
- _globals['_ACTIONEVENTRESPONSE']._serialized_end=2178
84
- _globals['_SUBSCRIBETOWORKFLOWEVENTSREQUEST']._serialized_start=2181
85
- _globals['_SUBSCRIBETOWORKFLOWEVENTSREQUEST']._serialized_end=2373
86
- _globals['_SUBSCRIBETOWORKFLOWRUNSREQUEST']._serialized_start=2375
87
- _globals['_SUBSCRIBETOWORKFLOWRUNSREQUEST']._serialized_end=2430
88
- _globals['_WORKFLOWEVENT']._serialized_start=2433
89
- _globals['_WORKFLOWEVENT']._serialized_end=2739
90
- _globals['_WORKFLOWRUNEVENT']._serialized_start=2742
91
- _globals['_WORKFLOWRUNEVENT']._serialized_end=2910
92
- _globals['_STEPRUNRESULT']._serialized_start=2913
93
- _globals['_STEPRUNRESULT']._serialized_end=3051
94
- _globals['_OVERRIDESDATA']._serialized_start=3053
95
- _globals['_OVERRIDESDATA']._serialized_end=3140
96
- _globals['_OVERRIDESDATARESPONSE']._serialized_start=3142
97
- _globals['_OVERRIDESDATARESPONSE']._serialized_end=3165
98
- _globals['_HEARTBEATREQUEST']._serialized_start=3167
99
- _globals['_HEARTBEATREQUEST']._serialized_end=3252
100
- _globals['_HEARTBEATRESPONSE']._serialized_start=3254
101
- _globals['_HEARTBEATRESPONSE']._serialized_end=3273
102
- _globals['_REFRESHTIMEOUTREQUEST']._serialized_start=3275
103
- _globals['_REFRESHTIMEOUTREQUEST']._serialized_end=3345
104
- _globals['_REFRESHTIMEOUTRESPONSE']._serialized_start=3347
105
- _globals['_REFRESHTIMEOUTRESPONSE']._serialized_end=3418
106
- _globals['_RELEASESLOTREQUEST']._serialized_start=3420
107
- _globals['_RELEASESLOTREQUEST']._serialized_end=3459
108
- _globals['_RELEASESLOTRESPONSE']._serialized_start=3461
109
- _globals['_RELEASESLOTRESPONSE']._serialized_end=3482
110
- _globals['_DISPATCHER']._serialized_start=4384
111
- _globals['_DISPATCHER']._serialized_end=5272
112
- # @@protoc_insertion_point(module_scope)
File without changes