hatchet-sdk 0.44.2__py3-none-any.whl → 0.45.1__py3-none-any.whl

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.

@@ -52,6 +52,13 @@ class DispatcherClient:
52
52
  async def get_action_listener(
53
53
  self, req: GetActionListenerRequest
54
54
  ) -> ActionListener:
55
+
56
+ # Override labels with the preset labels
57
+ preset_labels = self.config.worker_preset_labels
58
+
59
+ for key, value in preset_labels.items():
60
+ req.labels[key] = WorkerLabels(strValue=str(value))
61
+
55
62
  # Register the worker
56
63
  response: WorkerRegisterResponse = await self.aio_client.Register(
57
64
  WorkerRegisterRequest(
@@ -103,6 +110,7 @@ class DispatcherClient:
103
110
  eventTimestamp=eventTimestamp,
104
111
  eventType=event_type,
105
112
  eventPayload=payload,
113
+ retryCount=action.retry_count,
106
114
  )
107
115
 
108
116
  ## TODO: What does this return?
@@ -111,6 +111,9 @@ from hatchet_sdk.clients.rest.models.events import Events
111
111
  from hatchet_sdk.clients.rest.models.get_step_run_diff_response import (
112
112
  GetStepRunDiffResponse,
113
113
  )
114
+ from hatchet_sdk.clients.rest.models.info_get_version200_response import (
115
+ InfoGetVersion200Response,
116
+ )
114
117
  from hatchet_sdk.clients.rest.models.job import Job
115
118
  from hatchet_sdk.clients.rest.models.job_run import JobRun
116
119
  from hatchet_sdk.clients.rest.models.job_run_status import JobRunStatus
@@ -19,6 +19,9 @@ from typing_extensions import Annotated
19
19
 
20
20
  from hatchet_sdk.clients.rest.api_client import ApiClient, RequestSerialized
21
21
  from hatchet_sdk.clients.rest.api_response import ApiResponse
22
+ from hatchet_sdk.clients.rest.models.info_get_version200_response import (
23
+ InfoGetVersion200Response,
24
+ )
22
25
  from hatchet_sdk.clients.rest.models.tenant_invite import TenantInvite
23
26
  from hatchet_sdk.clients.rest.models.update_tenant_invite_request import (
24
27
  UpdateTenantInviteRequest,
@@ -48,6 +51,233 @@ class DefaultApi:
48
51
  api_client = ApiClient.get_default()
49
52
  self.api_client = api_client
50
53
 
54
+ @validate_call
55
+ async def info_get_version(
56
+ self,
57
+ _request_timeout: Union[
58
+ None,
59
+ Annotated[StrictFloat, Field(gt=0)],
60
+ Tuple[
61
+ Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
62
+ ],
63
+ ] = None,
64
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
65
+ _content_type: Optional[StrictStr] = None,
66
+ _headers: Optional[Dict[StrictStr, Any]] = None,
67
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
68
+ ) -> InfoGetVersion200Response:
69
+ """We return the version for the currently running server
70
+
71
+ Get the version of the server
72
+
73
+ :param _request_timeout: timeout setting for this request. If one
74
+ number provided, it will be total request
75
+ timeout. It can also be a pair (tuple) of
76
+ (connection, read) timeouts.
77
+ :type _request_timeout: int, tuple(int, int), optional
78
+ :param _request_auth: set to override the auth_settings for an a single
79
+ request; this effectively ignores the
80
+ authentication in the spec for a single request.
81
+ :type _request_auth: dict, optional
82
+ :param _content_type: force content-type for the request.
83
+ :type _content_type: str, Optional
84
+ :param _headers: set to override the headers for a single
85
+ request; this effectively ignores the headers
86
+ in the spec for a single request.
87
+ :type _headers: dict, optional
88
+ :param _host_index: set to override the host_index for a single
89
+ request; this effectively ignores the host_index
90
+ in the spec for a single request.
91
+ :type _host_index: int, optional
92
+ :return: Returns the result object.
93
+ """ # noqa: E501
94
+
95
+ _param = self._info_get_version_serialize(
96
+ _request_auth=_request_auth,
97
+ _content_type=_content_type,
98
+ _headers=_headers,
99
+ _host_index=_host_index,
100
+ )
101
+
102
+ _response_types_map: Dict[str, Optional[str]] = {
103
+ "200": "InfoGetVersion200Response",
104
+ }
105
+ response_data = await self.api_client.call_api(
106
+ *_param, _request_timeout=_request_timeout
107
+ )
108
+ await response_data.read()
109
+ return self.api_client.response_deserialize(
110
+ response_data=response_data,
111
+ response_types_map=_response_types_map,
112
+ ).data
113
+
114
+ @validate_call
115
+ async def info_get_version_with_http_info(
116
+ self,
117
+ _request_timeout: Union[
118
+ None,
119
+ Annotated[StrictFloat, Field(gt=0)],
120
+ Tuple[
121
+ Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
122
+ ],
123
+ ] = None,
124
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
125
+ _content_type: Optional[StrictStr] = None,
126
+ _headers: Optional[Dict[StrictStr, Any]] = None,
127
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
128
+ ) -> ApiResponse[InfoGetVersion200Response]:
129
+ """We return the version for the currently running server
130
+
131
+ Get the version of the server
132
+
133
+ :param _request_timeout: timeout setting for this request. If one
134
+ number provided, it will be total request
135
+ timeout. It can also be a pair (tuple) of
136
+ (connection, read) timeouts.
137
+ :type _request_timeout: int, tuple(int, int), optional
138
+ :param _request_auth: set to override the auth_settings for an a single
139
+ request; this effectively ignores the
140
+ authentication in the spec for a single request.
141
+ :type _request_auth: dict, optional
142
+ :param _content_type: force content-type for the request.
143
+ :type _content_type: str, Optional
144
+ :param _headers: set to override the headers for a single
145
+ request; this effectively ignores the headers
146
+ in the spec for a single request.
147
+ :type _headers: dict, optional
148
+ :param _host_index: set to override the host_index for a single
149
+ request; this effectively ignores the host_index
150
+ in the spec for a single request.
151
+ :type _host_index: int, optional
152
+ :return: Returns the result object.
153
+ """ # noqa: E501
154
+
155
+ _param = self._info_get_version_serialize(
156
+ _request_auth=_request_auth,
157
+ _content_type=_content_type,
158
+ _headers=_headers,
159
+ _host_index=_host_index,
160
+ )
161
+
162
+ _response_types_map: Dict[str, Optional[str]] = {
163
+ "200": "InfoGetVersion200Response",
164
+ }
165
+ response_data = await self.api_client.call_api(
166
+ *_param, _request_timeout=_request_timeout
167
+ )
168
+ await response_data.read()
169
+ return self.api_client.response_deserialize(
170
+ response_data=response_data,
171
+ response_types_map=_response_types_map,
172
+ )
173
+
174
+ @validate_call
175
+ async def info_get_version_without_preload_content(
176
+ self,
177
+ _request_timeout: Union[
178
+ None,
179
+ Annotated[StrictFloat, Field(gt=0)],
180
+ Tuple[
181
+ Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]
182
+ ],
183
+ ] = None,
184
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
185
+ _content_type: Optional[StrictStr] = None,
186
+ _headers: Optional[Dict[StrictStr, Any]] = None,
187
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
188
+ ) -> RESTResponseType:
189
+ """We return the version for the currently running server
190
+
191
+ Get the version of the server
192
+
193
+ :param _request_timeout: timeout setting for this request. If one
194
+ number provided, it will be total request
195
+ timeout. It can also be a pair (tuple) of
196
+ (connection, read) timeouts.
197
+ :type _request_timeout: int, tuple(int, int), optional
198
+ :param _request_auth: set to override the auth_settings for an a single
199
+ request; this effectively ignores the
200
+ authentication in the spec for a single request.
201
+ :type _request_auth: dict, optional
202
+ :param _content_type: force content-type for the request.
203
+ :type _content_type: str, Optional
204
+ :param _headers: set to override the headers for a single
205
+ request; this effectively ignores the headers
206
+ in the spec for a single request.
207
+ :type _headers: dict, optional
208
+ :param _host_index: set to override the host_index for a single
209
+ request; this effectively ignores the host_index
210
+ in the spec for a single request.
211
+ :type _host_index: int, optional
212
+ :return: Returns the result object.
213
+ """ # noqa: E501
214
+
215
+ _param = self._info_get_version_serialize(
216
+ _request_auth=_request_auth,
217
+ _content_type=_content_type,
218
+ _headers=_headers,
219
+ _host_index=_host_index,
220
+ )
221
+
222
+ _response_types_map: Dict[str, Optional[str]] = {
223
+ "200": "InfoGetVersion200Response",
224
+ }
225
+ response_data = await self.api_client.call_api(
226
+ *_param, _request_timeout=_request_timeout
227
+ )
228
+ return response_data.response
229
+
230
+ def _info_get_version_serialize(
231
+ self,
232
+ _request_auth,
233
+ _content_type,
234
+ _headers,
235
+ _host_index,
236
+ ) -> RequestSerialized:
237
+
238
+ _host = None
239
+
240
+ _collection_formats: Dict[str, str] = {}
241
+
242
+ _path_params: Dict[str, str] = {}
243
+ _query_params: List[Tuple[str, str]] = []
244
+ _header_params: Dict[str, Optional[str]] = _headers or {}
245
+ _form_params: List[Tuple[str, str]] = []
246
+ _files: Dict[
247
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
248
+ ] = {}
249
+ _body_params: Optional[bytes] = None
250
+
251
+ # process the path parameters
252
+ # process the query parameters
253
+ # process the header parameters
254
+ # process the form parameters
255
+ # process the body parameter
256
+
257
+ # set the HTTP header `Accept`
258
+ if "Accept" not in _header_params:
259
+ _header_params["Accept"] = self.api_client.select_header_accept(
260
+ ["application/json"]
261
+ )
262
+
263
+ # authentication setting
264
+ _auth_settings: List[str] = []
265
+
266
+ return self.api_client.param_serialize(
267
+ method="GET",
268
+ resource_path="/api/v1/version",
269
+ path_params=_path_params,
270
+ query_params=_query_params,
271
+ header_params=_header_params,
272
+ body=_body_params,
273
+ post_params=_form_params,
274
+ files=_files,
275
+ auth_settings=_auth_settings,
276
+ collection_formats=_collection_formats,
277
+ _host=_host,
278
+ _request_auth=_request_auth,
279
+ )
280
+
51
281
  @validate_call
52
282
  async def monitoring_post_run_probe(
53
283
  self,
@@ -78,6 +78,9 @@ from hatchet_sdk.clients.rest.models.events import Events
78
78
  from hatchet_sdk.clients.rest.models.get_step_run_diff_response import (
79
79
  GetStepRunDiffResponse,
80
80
  )
81
+ from hatchet_sdk.clients.rest.models.info_get_version200_response import (
82
+ InfoGetVersion200Response,
83
+ )
81
84
  from hatchet_sdk.clients.rest.models.job import Job
82
85
  from hatchet_sdk.clients.rest.models.job_run import JobRun
83
86
  from hatchet_sdk.clients.rest.models.job_run_status import JobRunStatus
@@ -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
@@ -0,0 +1,83 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ Hatchet API
5
+
6
+ The Hatchet API
7
+
8
+ The version of the OpenAPI document: 1.0.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+
11
+ Do not edit the class manually.
12
+ """ # noqa: E501
13
+
14
+
15
+ from __future__ import annotations
16
+
17
+ import json
18
+ import pprint
19
+ import re # noqa: F401
20
+ from typing import Any, ClassVar, Dict, List, Optional, Set
21
+
22
+ from pydantic import BaseModel, ConfigDict, StrictStr
23
+ from typing_extensions import Self
24
+
25
+
26
+ class InfoGetVersion200Response(BaseModel):
27
+ """
28
+ InfoGetVersion200Response
29
+ """ # noqa: E501
30
+
31
+ version: StrictStr
32
+ __properties: ClassVar[List[str]] = ["version"]
33
+
34
+ model_config = ConfigDict(
35
+ populate_by_name=True,
36
+ validate_assignment=True,
37
+ protected_namespaces=(),
38
+ )
39
+
40
+ def to_str(self) -> str:
41
+ """Returns the string representation of the model using alias"""
42
+ return pprint.pformat(self.model_dump(by_alias=True))
43
+
44
+ def to_json(self) -> str:
45
+ """Returns the JSON representation of the model using alias"""
46
+ # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
47
+ return json.dumps(self.to_dict())
48
+
49
+ @classmethod
50
+ def from_json(cls, json_str: str) -> Optional[Self]:
51
+ """Create an instance of InfoGetVersion200Response from a JSON string"""
52
+ return cls.from_dict(json.loads(json_str))
53
+
54
+ def to_dict(self) -> Dict[str, Any]:
55
+ """Return the dictionary representation of the model using alias.
56
+
57
+ This has the following differences from calling pydantic's
58
+ `self.model_dump(by_alias=True)`:
59
+
60
+ * `None` is only added to the output dict for nullable fields that
61
+ were set at model initialization. Other fields with value `None`
62
+ are ignored.
63
+ """
64
+ excluded_fields: Set[str] = set([])
65
+
66
+ _dict = self.model_dump(
67
+ by_alias=True,
68
+ exclude=excluded_fields,
69
+ exclude_none=True,
70
+ )
71
+ return _dict
72
+
73
+ @classmethod
74
+ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
75
+ """Create an instance of InfoGetVersion200Response from a dict"""
76
+ if obj is None:
77
+ return None
78
+
79
+ if not isinstance(obj, dict):
80
+ return cls.model_validate(obj)
81
+
82
+ _obj = cls.model_validate({"version": obj.get("version")})
83
+ 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
@@ -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: dispatcher.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
  'dispatcher.proto'
19
19
  )
@@ -25,7 +25,7 @@ _sym_db = _symbol_database.Default()
25
25
  from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
26
26
 
27
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')
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
29
 
30
30
  _globals = globals()
31
31
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -37,20 +37,20 @@ if not _descriptor._USE_C_DESCRIPTORS:
37
37
  _globals['_WORKERREGISTERREQUEST_LABELSENTRY']._serialized_options = b'8\001'
38
38
  _globals['_UPSERTWORKERLABELSREQUEST_LABELSENTRY']._loaded_options = None
39
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
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
54
  _globals['_WORKERLABELS']._serialized_start=53
55
55
  _globals['_WORKERLABELS']._serialized_end=139
56
56
  _globals['_RUNTIMEINFO']._serialized_start=142
@@ -78,35 +78,35 @@ if not _descriptor._USE_C_DESCRIPTORS:
78
78
  _globals['_GROUPKEYACTIONEVENT']._serialized_start=1655
79
79
  _globals['_GROUPKEYACTIONEVENT']._serialized_end=1880
80
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
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
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
 
hatchet_sdk/loader.py CHANGED
@@ -45,6 +45,7 @@ class ClientConfig:
45
45
  otel_exporter_oltp_protocol: str | None = None,
46
46
  worker_healthcheck_port: int | None = None,
47
47
  worker_healthcheck_enabled: bool | None = None,
48
+ worker_preset_labels: dict[str, str] = {},
48
49
  ):
49
50
  self.tenant_id = tenant_id
50
51
  self.tls_config = tls_config
@@ -61,6 +62,7 @@ class ClientConfig:
61
62
  self.otel_exporter_oltp_protocol = otel_exporter_oltp_protocol
62
63
  self.worker_healthcheck_port = worker_healthcheck_port
63
64
  self.worker_healthcheck_enabled = worker_healthcheck_enabled
65
+ self.worker_preset_labels = worker_preset_labels
64
66
 
65
67
  if not self.logInterceptor:
66
68
  self.logInterceptor = getLogger()
@@ -184,6 +186,16 @@ class ConfigLoader:
184
186
  == "True"
185
187
  )
186
188
 
189
+ # Add preset labels to the worker config
190
+ worker_preset_labels: dict[str, str] = defaults.worker_preset_labels
191
+
192
+ autoscaling_target = get_config_value(
193
+ "autoscaling_target", "HATCHET_CLIENT_AUTOSCALING_TARGET"
194
+ )
195
+
196
+ if autoscaling_target:
197
+ worker_preset_labels["hatchet-autoscaling-target"] = autoscaling_target
198
+
187
199
  return ClientConfig(
188
200
  tenant_id=tenant_id,
189
201
  tls_config=tls_config,
@@ -201,6 +213,7 @@ class ConfigLoader:
201
213
  otel_exporter_oltp_protocol=otel_exporter_oltp_protocol,
202
214
  worker_healthcheck_port=worker_healthcheck_port,
203
215
  worker_healthcheck_enabled=worker_healthcheck_enabled,
216
+ worker_preset_labels=worker_preset_labels,
204
217
  )
205
218
 
206
219
  def _load_tls_config(self, tls_data: Dict, host_port) -> ClientTLSConfig:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: hatchet-sdk
3
- Version: 0.44.2
3
+ Version: 0.45.1
4
4
  Summary:
5
5
  Author: Alexander Belanger
6
6
  Author-email: alexander@hatchet.run
@@ -2,13 +2,13 @@ hatchet_sdk/__init__.py,sha256=R5ogd_Dn_6gA_u9a5W2URNq6eDtN1i56cObBv1tOwyU,9408
2
2
  hatchet_sdk/client.py,sha256=ajjLd-gZptVuAx25gG_SdAW8xDA4V7HMIhgYuh9MkVY,3486
3
3
  hatchet_sdk/clients/admin.py,sha256=1YsLK5AzpgFBKPblcPY5ACA0xLysynA4tihNJkcNyl4,20419
4
4
  hatchet_sdk/clients/dispatcher/action_listener.py,sha256=eOq5z29MhC7ynbOOegDRQr-RqDhpS3gfeLswIlZbuGg,15378
5
- hatchet_sdk/clients/dispatcher/dispatcher.py,sha256=qTcfIXn9EpfUlafff8Wun_fWTvz-UxOa4i4m6ZVIAnM,6402
5
+ hatchet_sdk/clients/dispatcher/dispatcher.py,sha256=5ArB3qPy5tetkn38pURWaXLduuRb8iDOjYWjVbbBX-U,6667
6
6
  hatchet_sdk/clients/event_ts.py,sha256=ACGvDdfhvK6ZLKdsPxy-PksLhjIU69P9cdH3AxX-X10,728
7
7
  hatchet_sdk/clients/events.py,sha256=pz68MOFEdvKV9ywu0e4DIaWFgqjwzm8zUV747Fim9ac,7258
8
- hatchet_sdk/clients/rest/__init__.py,sha256=AQBp3fX79IKrcjUmzLRGFaFKMYBnEbQD9DnwYOHU0jQ,14157
8
+ hatchet_sdk/clients/rest/__init__.py,sha256=YW-1qeo5pfYB4cad36eXVxb5ta-L-75SfNBw1Oglc18,14265
9
9
  hatchet_sdk/clients/rest/api/__init__.py,sha256=LaTEK7cYklb8R0iYj727C-jVk-MGHenADN8TJpoIASs,1067
10
10
  hatchet_sdk/clients/rest/api/api_token_api.py,sha256=C10FEIHHGBpwq-bIKkrBhvPlg6az4aHlREWEUlJHWl0,33577
11
- hatchet_sdk/clients/rest/api/default_api.py,sha256=YAMiuMO-Ye5AmbuA-5IODgBAoM_93B2EyGgnIjcvAP8,79629
11
+ hatchet_sdk/clients/rest/api/default_api.py,sha256=Ip9Z_VvS5dP2MAy4YgQkUHnylbxztg-cglFCbs7hy_c,89061
12
12
  hatchet_sdk/clients/rest/api/event_api.py,sha256=YbvcNJTDY9aa69SdWsiXS4gbQ0x51LiAxUQmsPzwVXs,100154
13
13
  hatchet_sdk/clients/rest/api/github_api.py,sha256=1eKhvrqPPekfiu7WLh-ngcpOYMJwpRSwliEKoJ85Kjs,12107
14
14
  hatchet_sdk/clients/rest/api/healthcheck_api.py,sha256=WGsezrIxWK_geHLIERjUwlCtXE65SSmt_XTe7oc25VE,18779
@@ -28,7 +28,7 @@ hatchet_sdk/clients/rest/api_client.py,sha256=8iS2NH_gkuPJ85jGwS80SldlzO3xjzeB63
28
28
  hatchet_sdk/clients/rest/api_response.py,sha256=rSuCVGY-HE8X_WwteQP5wyANIuS-L5AmtZEUOwTicak,641
29
29
  hatchet_sdk/clients/rest/configuration.py,sha256=9pAN6pgWxT6uWO9xajFOw1mKYIBG2g7ymzLXP5Zrovg,18702
30
30
  hatchet_sdk/clients/rest/exceptions.py,sha256=Je4cniD4ytm6i29BUM7Wmqwf0a0dE5xEngTYV-8nDtk,5834
31
- hatchet_sdk/clients/rest/models/__init__.py,sha256=mJC7vskumHTdaYaVbtOQz2I3S53KU2rer-8IiNiGPtc,12710
31
+ hatchet_sdk/clients/rest/models/__init__.py,sha256=xu2Q9ULEVR4l0S8TgxzJL82IOTzX7tHv7mEHANboOjA,12818
32
32
  hatchet_sdk/clients/rest/models/accept_invite_request.py,sha256=_otOis3SuTHl0F_hhYD-rYqgyxCXRn83CK_eU9oMdn4,2427
33
33
  hatchet_sdk/clients/rest/models/api_error.py,sha256=KodK1_cc28CgYGvX1WhIhTN0pAAkgq8PJXReIrMnqBA,3068
34
34
  hatchet_sdk/clients/rest/models/api_errors.py,sha256=RNmnWn1GWlG9xTvpvrTmKq-Pr70x9mcJ4-dNFBemxa8,2917
@@ -63,15 +63,16 @@ hatchet_sdk/clients/rest/models/event_list.py,sha256=XhUMb4qI5sO70pn34gwPR6045yE
63
63
  hatchet_sdk/clients/rest/models/event_order_by_direction.py,sha256=xOgm7eXyYFMaKDZL-mDYwCzsYlywDTYocs7GJBQn9OI,679
64
64
  hatchet_sdk/clients/rest/models/event_order_by_field.py,sha256=37DnYoHnYfsvE5G4LPEyFtF8rB9N84jjH-nwKOSbCGw,661
65
65
  hatchet_sdk/clients/rest/models/event_update_cancel200_response.py,sha256=0CQBlp8cCI5kjFtkAWABGAmPxf2R3beMI7ka8LMx9Ps,2573
66
- hatchet_sdk/clients/rest/models/event_workflow_run_summary.py,sha256=gvCkvdyS-6WulNYtqlWCi-WmDVbJtAX9_vHAWEtcaps,3261
66
+ hatchet_sdk/clients/rest/models/event_workflow_run_summary.py,sha256=uiN4dKxU-RntCIY9pLikr_jcupV4z1JgA2nDYm6YzAE,3449
67
67
  hatchet_sdk/clients/rest/models/events.py,sha256=tDjj895bxzri9nC2vtrf2mXKik4C3X0mMxFCKLea_hM,3421
68
68
  hatchet_sdk/clients/rest/models/get_step_run_diff_response.py,sha256=pPBtDdsDgjI2FmWTrqiJiadQ5Z8JMQs5FgMxdL2Mgzo,2970
69
69
  hatchet_sdk/clients/rest/models/github_app_installation.py,sha256=ayF5nvbKq0c-32MFiUrbEwalwp282TBodqTCJDE-0BM,3254
70
70
  hatchet_sdk/clients/rest/models/github_branch.py,sha256=sAnSlx27-ffukkNnKNlv_2xznkLxSW5tXM5I27vrwcE,2469
71
71
  hatchet_sdk/clients/rest/models/github_repo.py,sha256=eGOAwH7DcuoAcv6zYMqHvrvnIv7ebH-OxPDZY-bTF_U,2440
72
+ hatchet_sdk/clients/rest/models/info_get_version200_response.py,sha256=IyWjB_tZDFnOt7xcDYNyq-FxzQ_fHLsgdhf2OtMOuRA,2393
72
73
  hatchet_sdk/clients/rest/models/job.py,sha256=w9LKZXvMfXHLjnRH_kk6yUjyCUdlwuYOGieRz7XDhpU,4082
73
74
  hatchet_sdk/clients/rest/models/job_run.py,sha256=YFHqV1cpqKsvhsK3R7WRcakwrVh3Ia-nbgxtqZEVqmU,6303
74
- hatchet_sdk/clients/rest/models/job_run_status.py,sha256=ALnN6IhvA__JYgQGdr6aUg-KL8HydazhNd3t6MoC0GY,744
75
+ hatchet_sdk/clients/rest/models/job_run_status.py,sha256=moxr8YOjl3pVjOEOrKE4hFyZbavPSFkFxbN4BRRkZD0,768
75
76
  hatchet_sdk/clients/rest/models/link_github_repository_request.py,sha256=kFfQJsdcL73tLI1KmNSFWFR3b9nqbzY4bBndhT_KPfQ,3229
76
77
  hatchet_sdk/clients/rest/models/list_api_tokens_response.py,sha256=5v-rbhRAm6hTL1CC-06UNrPVlNapjwd3UrarIJN3o84,3491
77
78
  hatchet_sdk/clients/rest/models/list_github_app_installations_response.py,sha256=NvNGe7nycVfLQ7O3zwSoiy6i-KIRcgv1ZaC5HNDTsyk,3556
@@ -115,7 +116,7 @@ hatchet_sdk/clients/rest/models/step_run_event.py,sha256=57No-6dh40ZbOE_0tYx4__Y
115
116
  hatchet_sdk/clients/rest/models/step_run_event_list.py,sha256=-Mg1FVd__JuS8YAiWqvNCJNNiB4TNJCLBVPSwHh0l-g,3488
116
117
  hatchet_sdk/clients/rest/models/step_run_event_reason.py,sha256=mFPJ_9Ocb8lwmEGzxK-iYhrdmTm8_46RknP88HuvFRs,1286
117
118
  hatchet_sdk/clients/rest/models/step_run_event_severity.py,sha256=w4wwMnpesHEyPgsuGK0SMOW-86fPcnYqdHNZLnV2k9A,710
118
- hatchet_sdk/clients/rest/models/step_run_status.py,sha256=k-j-P_cYbi9XAkJ_ZzrBxZEEDqk5qy9RlwPjQty4dOA,849
119
+ hatchet_sdk/clients/rest/models/step_run_status.py,sha256=MTp9av3uPCqDMoBXq5JuP7pU_TgTTNNS4qh50Mrm3G8,873
119
120
  hatchet_sdk/clients/rest/models/tenant.py,sha256=htXgXGTpQkV80BKjnfMlyE2OeLWXdGXw7yGxG9VsQpE,3602
120
121
  hatchet_sdk/clients/rest/models/tenant_alert_email_group.py,sha256=QOipFLcB7yqMsesEElJAzOVrZ1_7B6TAhuNgsFwAxGg,2976
121
122
  hatchet_sdk/clients/rest/models/tenant_alert_email_group_list.py,sha256=rEmYCyWVree4mez0bTjD-S4dvcbi97c72qE3q9bFDgI,3570
@@ -168,11 +169,11 @@ hatchet_sdk/clients/rest/models/workflow_run_list.py,sha256=ZDq7OSw3aLJCSFPPwhBW
168
169
  hatchet_sdk/clients/rest/models/workflow_run_order_by_direction.py,sha256=P-QYH8bwfZmswc1-VxLTmL_bbxiioDlPSQ3TP2350UQ,697
169
170
  hatchet_sdk/clients/rest/models/workflow_run_order_by_field.py,sha256=WGmZ-b4Mc34HSCQgOm4GUFKNvtSQPLYX1NCf-BbxNMs,763
170
171
  hatchet_sdk/clients/rest/models/workflow_run_shape.py,sha256=DMQLMHA9_mNKRqzHjT82o9EpII4hCBM7jTEuwnpbGMo,6870
171
- hatchet_sdk/clients/rest/models/workflow_run_status.py,sha256=Eluj3wNSQ_R5FXQvrG9lr6N89fxF1_3oYlgYmwSEbW8,781
172
+ hatchet_sdk/clients/rest/models/workflow_run_status.py,sha256=X_jDDvq3GhjTNvdGy_NXUVNlUiIFrwbsQTw9kG_7YPs,805
172
173
  hatchet_sdk/clients/rest/models/workflow_run_triggered_by.py,sha256=j6Ob3ICDL2wqZuFE2Bu1wuusH75HPwH0S53xpjQaRHY,3545
173
174
  hatchet_sdk/clients/rest/models/workflow_runs_cancel_request.py,sha256=57o2jz6LN3PB2gi2SH_PBmyyhg5_94uNx2Shv_EpiSE,2537
174
175
  hatchet_sdk/clients/rest/models/workflow_runs_metrics.py,sha256=VokrmzO64TRSpPhLDIbsoBRfX9c7-9tKWvzY0wO7p-4,2745
175
- hatchet_sdk/clients/rest/models/workflow_runs_metrics_counts.py,sha256=vFreNVn30EzqqG18Zxz2Yuk3W7SbTkCkWBXTGnaJtq8,3069
176
+ hatchet_sdk/clients/rest/models/workflow_runs_metrics_counts.py,sha256=8pe_pI8UXe0YeMaOTRwrog3_Gq1z0LR2kLtq9hwS28g,3217
176
177
  hatchet_sdk/clients/rest/models/workflow_tag.py,sha256=9aPXHeUYW6FV-6dB-I5Ex0P5g82YNePEuy8-VG5Ecrs,2494
177
178
  hatchet_sdk/clients/rest/models/workflow_trigger_cron_ref.py,sha256=_6r0laWazB6r_eC1Sc7RZOYACWzhnItasKkMtkqu4Eg,2498
178
179
  hatchet_sdk/clients/rest/models/workflow_trigger_event_ref.py,sha256=C2OfCrh9q_DoDM-FLGd2OxdK0ZG0FEtnm0LFPzXltGY,2522
@@ -192,20 +193,20 @@ hatchet_sdk/connection.py,sha256=593aUGAj7Ouf00lcVwx_pmhdQ9NOC5ANT1Jrf8nwkHs,216
192
193
  hatchet_sdk/context/__init__.py,sha256=Pl_seJ_SJpW34BBZp4KixuZ8GiRK9sJFfegf9u3m7zk,29
193
194
  hatchet_sdk/context/context.py,sha256=sRAih-dBqxkmQUxgo_IpQP2YIJJinzJ2C09RP-EM94o,13910
194
195
  hatchet_sdk/context/worker_context.py,sha256=OVcEWvdT_Kpd0nlg61VAPUgIPSFzSLs0aSrXWj-1GX4,974
195
- hatchet_sdk/contracts/dispatcher_pb2.py,sha256=-9YGf7pfuMyRpkjjcmFa6jlr-95gha4CJw9hG3seNFI,14573
196
- hatchet_sdk/contracts/dispatcher_pb2.pyi,sha256=2dvxvN4OETOc-OhLNWDntN7GvI4QUxbMiGLdK7FM1wE,18224
197
- hatchet_sdk/contracts/dispatcher_pb2_grpc.py,sha256=6qOOsSM9lUeRG1Hk1h6Yv8gPEGmpccRrhrRY4Y2mLJU,24459
198
- hatchet_sdk/contracts/events_pb2.py,sha256=bf8_S6cDhFoN869ZcS-xCLNirsH_NoYvHCR1yXk2aNA,4308
196
+ hatchet_sdk/contracts/dispatcher_pb2.py,sha256=F3A0bg3bioUZQnW_BfjU4BXtpOfO1b3ShPHfz4zh3Ms,14651
197
+ hatchet_sdk/contracts/dispatcher_pb2.pyi,sha256=JLtc615N9vNDRtQoUVynclPBbgIsRhbikcrT8b7Z-TM,18336
198
+ hatchet_sdk/contracts/dispatcher_pb2_grpc.py,sha256=AXR6cR9UCg7escI3ZHqpqcEl0y8y1ir6KW1tzfXoKJs,24459
199
+ hatchet_sdk/contracts/events_pb2.py,sha256=5I9pM650UAWZGsEYxWfJvDWvs2ku8S2A1Zc34y9lGlQ,4308
199
200
  hatchet_sdk/contracts/events_pb2.pyi,sha256=eoHvNI5gY98ZfFleiynbtIz3SiW_X49ggMBOlOgAP74,4014
200
- hatchet_sdk/contracts/events_pb2_grpc.py,sha256=7opRptwLBvJE3ymhufaD-MmeLvY8UcuINg4CcZhiH_4,9980
201
- hatchet_sdk/contracts/workflows_pb2.py,sha256=TvegbF5Kw9oVBHuSHNmpQMiF4xzEM7ioH4dhKdDxnsY,11975
201
+ hatchet_sdk/contracts/events_pb2_grpc.py,sha256=2ajmSPbydJe0fafX5SS-V0UrFORnd4NRjCBitMNox00,9980
202
+ hatchet_sdk/contracts/workflows_pb2.py,sha256=iATZDnhFKbSJlA69ZFIUAXsqZCEzRAXztTx7kzhxz3o,11975
202
203
  hatchet_sdk/contracts/workflows_pb2.pyi,sha256=2r5d4DWaR0kwY8jKSzcffTAMMlWrusRXCziE_03SFYc,15434
203
- hatchet_sdk/contracts/workflows_pb2_grpc.py,sha256=AFu0wRpfyCyNVIYZLKian6s5qPnVDCwtuE91JMaMmUI,10522
204
+ hatchet_sdk/contracts/workflows_pb2_grpc.py,sha256=1cjXwOgecVJT3rWXwPKp92mjNux1O-0fxU5nXXcHwD8,10522
204
205
  hatchet_sdk/features/cron.py,sha256=4lKMH0MqiN8cHJk2jhF0Ueqs6z5ozwJzlOeSeaWqvO0,10217
205
206
  hatchet_sdk/features/scheduled.py,sha256=YhEbNWl8dWOH61rXVjAyu8iG1BZqpSkD4kgaxkKIHgY,9504
206
207
  hatchet_sdk/hatchet.py,sha256=L6O9cTeZtGqFUxO5H8knXKdiej0iAequ1Wl7vSNO9FY,10027
207
208
  hatchet_sdk/labels.py,sha256=Axfp1yUNowzE9mL8AQA1ADqwOaNmq3QP_45wb1Ed1aI,272
208
- hatchet_sdk/loader.py,sha256=ddwQ7BAWYsJ9LEsNxajCkv78hRLUMftVG0vdg5V09iQ,8746
209
+ hatchet_sdk/loader.py,sha256=Q1MxVCtQZrOgAlyDhaSvEMl-avnBwGD-VvLhsAtyMwg,9281
209
210
  hatchet_sdk/logger.py,sha256=5uOr52T4mImSQm1QvWT8HvZFK5WfPNh3Y1cBQZRFgUQ,333
210
211
  hatchet_sdk/metadata.py,sha256=M_Cb-CXRKitzVMQHeaHUtbY28ET__fAbyGX1YKaeN4I,80
211
212
  hatchet_sdk/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -230,7 +231,7 @@ hatchet_sdk/worker/runner/utils/error_with_traceback.py,sha256=Iih_s8JNqrinXETFJ
230
231
  hatchet_sdk/worker/worker.py,sha256=7UPm3qTzNYSSm9QTNX6zBBMJqVA6nKFeCbAdqLLjUBs,13007
231
232
  hatchet_sdk/workflow.py,sha256=XRj5jcCQSvPQMXxBipf-ZlARua2E8Z9igRzGcQ5alkI,9375
232
233
  hatchet_sdk/workflow_run.py,sha256=BwK5cefvXXvyQ1Ednj_7LeejMwQJqWnvUC_FTBmJNxk,1805
233
- hatchet_sdk-0.44.2.dist-info/METADATA,sha256=yatxwQ98VBkr9t_u7FZbahecNvlBdvND6Gim4RSfjxE,1736
234
- hatchet_sdk-0.44.2.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
235
- hatchet_sdk-0.44.2.dist-info/entry_points.txt,sha256=LTtQRABmSGYOxRI68cUVEz5dp9Qb57eqXGic9lU8RMo,1023
236
- hatchet_sdk-0.44.2.dist-info/RECORD,,
234
+ hatchet_sdk-0.45.1.dist-info/METADATA,sha256=Vj7sfnNCWiYV-qJGSqPwwrXBOX0rffAOp8SqUlU324g,1736
235
+ hatchet_sdk-0.45.1.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
236
+ hatchet_sdk-0.45.1.dist-info/entry_points.txt,sha256=LTtQRABmSGYOxRI68cUVEz5dp9Qb57eqXGic9lU8RMo,1023
237
+ hatchet_sdk-0.45.1.dist-info/RECORD,,