hatchet-sdk 1.19.0__py3-none-any.whl → 1.20.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.
Files changed (34) hide show
  1. hatchet_sdk/clients/dispatcher/action_listener.py +0 -1
  2. hatchet_sdk/clients/dispatcher/dispatcher.py +0 -30
  3. hatchet_sdk/clients/rest/__init__.py +11 -3
  4. hatchet_sdk/clients/rest/api/task_api.py +27 -0
  5. hatchet_sdk/clients/rest/api/tenant_api.py +345 -0
  6. hatchet_sdk/clients/rest/api/user_api.py +9 -0
  7. hatchet_sdk/clients/rest/api/webhook_api.py +323 -8
  8. hatchet_sdk/clients/rest/api/workflow_api.py +327 -0
  9. hatchet_sdk/clients/rest/api/workflow_runs_api.py +408 -0
  10. hatchet_sdk/clients/rest/configuration.py +8 -0
  11. hatchet_sdk/clients/rest/models/__init__.py +11 -3
  12. hatchet_sdk/clients/rest/models/create_tenant_request.py +19 -1
  13. hatchet_sdk/clients/rest/models/registered_workflow.py +86 -0
  14. hatchet_sdk/clients/rest/models/tenant.py +6 -0
  15. hatchet_sdk/clients/rest/models/tenant_environment.py +38 -0
  16. hatchet_sdk/clients/rest/models/update_cron_workflow_trigger_request.py +83 -0
  17. hatchet_sdk/clients/rest/models/update_tenant_member_request.py +85 -0
  18. hatchet_sdk/clients/rest/models/v1_filter.py +8 -1
  19. hatchet_sdk/clients/rest/models/v1_update_webhook_request.py +86 -0
  20. hatchet_sdk/clients/rest/models/v1_webhook_source_name.py +2 -0
  21. hatchet_sdk/clients/rest/models/worker.py +22 -0
  22. hatchet_sdk/features/runs.py +212 -0
  23. hatchet_sdk/hatchet.py +0 -20
  24. hatchet_sdk/opentelemetry/instrumentor.py +1 -27
  25. hatchet_sdk/runnables/action.py +2 -5
  26. hatchet_sdk/runnables/task.py +0 -1
  27. hatchet_sdk/utils/iterables.py +9 -0
  28. hatchet_sdk/utils/opentelemetry.py +0 -1
  29. hatchet_sdk/worker/action_listener_process.py +0 -29
  30. hatchet_sdk/worker/runner/runner.py +1 -105
  31. {hatchet_sdk-1.19.0.dist-info → hatchet_sdk-1.20.1.dist-info}/METADATA +1 -1
  32. {hatchet_sdk-1.19.0.dist-info → hatchet_sdk-1.20.1.dist-info}/RECORD +34 -28
  33. {hatchet_sdk-1.19.0.dist-info → hatchet_sdk-1.20.1.dist-info}/WHEEL +0 -0
  34. {hatchet_sdk-1.19.0.dist-info → hatchet_sdk-1.20.1.dist-info}/entry_points.txt +0 -0
@@ -49,16 +49,16 @@ class ActionPayload(BaseModel):
49
49
  class ActionType(str, Enum):
50
50
  START_STEP_RUN = "START_STEP_RUN"
51
51
  CANCEL_STEP_RUN = "CANCEL_STEP_RUN"
52
- START_GET_GROUP_KEY = "START_GET_GROUP_KEY"
53
52
 
54
53
 
55
54
  class Action(BaseModel):
55
+ model_config = ConfigDict(extra="ignore")
56
+
56
57
  worker_id: str
57
58
  tenant_id: str
58
59
  workflow_run_id: str
59
60
  workflow_id: str | None = None
60
61
  workflow_version_id: str | None = None
61
- get_group_key_run_id: str
62
62
  job_id: str
63
63
  job_name: str
64
64
  job_run_id: str
@@ -101,7 +101,6 @@ class Action(BaseModel):
101
101
  OTelAttribute.ACTION_PAYLOAD: payload_str,
102
102
  OTelAttribute.WORKFLOW_NAME: self.job_name,
103
103
  OTelAttribute.ACTION_NAME: self.action_id,
104
- OTelAttribute.GET_GROUP_KEY_RUN_ID: self.get_group_key_run_id,
105
104
  OTelAttribute.WORKFLOW_ID: self.workflow_id,
106
105
  OTelAttribute.WORKFLOW_VERSION_ID: self.workflow_version_id,
107
106
  }
@@ -119,6 +118,4 @@ class Action(BaseModel):
119
118
  It's used when storing references to a task, a context, etc. in a dictionary so that
120
119
  we can look up those items in the dictionary by a unique key.
121
120
  """
122
- if self.action_type == ActionType.START_GET_GROUP_KEY:
123
- return f"{self.get_group_key_run_id}/{self.retry_count}"
124
121
  return f"{self.step_run_id}/{self.retry_count}"
@@ -299,7 +299,6 @@ class Task(Generic[TWorkflowInput, R]):
299
299
  tenant_id=self.workflow.client.config.tenant_id,
300
300
  worker_id="mock-worker-id",
301
301
  workflow_run_id="mock-workflow-run-id",
302
- get_group_key_run_id="mock-get-group-key-run-id",
303
302
  job_id="mock-job-id",
304
303
  job_name="mock-job-name",
305
304
  job_run_id="mock-job-run-id",
@@ -0,0 +1,9 @@
1
+ from collections.abc import Generator
2
+ from typing import TypeVar
3
+
4
+ T = TypeVar("T")
5
+
6
+
7
+ def create_chunks(xs: list[T], n: int) -> Generator[list[T], None, None]:
8
+ for i in range(0, len(xs), n):
9
+ yield xs[i : i + n]
@@ -16,7 +16,6 @@ class OTelAttribute(str, Enum):
16
16
  ACTION_NAME = "action_name"
17
17
  CHILD_WORKFLOW_INDEX = "child_workflow_index"
18
18
  CHILD_WORKFLOW_KEY = "child_workflow_key"
19
- GET_GROUP_KEY_RUN_ID = "get_group_key_run_id"
20
19
  PARENT_WORKFLOW_RUN_ID = "parent_workflow_run_id"
21
20
  RETRY_COUNT = "retry_count"
22
21
  STEP_ID = "step_id"
@@ -18,10 +18,8 @@ from hatchet_sdk.clients.dispatcher.dispatcher import DispatcherClient
18
18
  from hatchet_sdk.clients.rest.models.update_worker_request import UpdateWorkerRequest
19
19
  from hatchet_sdk.config import ClientConfig
20
20
  from hatchet_sdk.contracts.dispatcher_pb2 import (
21
- GROUP_KEY_EVENT_TYPE_STARTED,
22
21
  STEP_EVENT_TYPE_STARTED,
23
22
  ActionEventResponse,
24
- GroupKeyActionEvent,
25
23
  StepActionEvent,
26
24
  )
27
25
  from hatchet_sdk.logger import logger
@@ -80,11 +78,6 @@ class WorkerActionListenerProcess:
80
78
  self.step_action_events: set[
81
79
  asyncio.Task[UnaryUnaryCall[StepActionEvent, ActionEventResponse] | None]
82
80
  ] = set()
83
- self.group_key_action_events: set[
84
- asyncio.Task[
85
- UnaryUnaryCall[GroupKeyActionEvent, ActionEventResponse] | None
86
- ]
87
- ] = set()
88
81
 
89
82
  if self.debug:
90
83
  logger.setLevel(logging.DEBUG)
@@ -213,16 +206,6 @@ class WorkerActionListenerProcess:
213
206
  )
214
207
  case ActionType.CANCEL_STEP_RUN:
215
208
  logger.debug("unimplemented event send")
216
- case ActionType.START_GET_GROUP_KEY:
217
- get_group_key_task = asyncio.create_task(
218
- self.dispatcher_client.send_group_key_action_event(
219
- event.action, event.type, event.payload
220
- )
221
- )
222
- self.group_key_action_events.add(get_group_key_task)
223
- get_group_key_task.add_done_callback(
224
- lambda t: self.group_key_action_events.discard(t)
225
- )
226
209
  case _:
227
210
  logger.error("unknown action type for event send")
228
211
  except Exception:
@@ -273,18 +256,6 @@ class WorkerActionListenerProcess:
273
256
 
274
257
  case ActionType.CANCEL_STEP_RUN:
275
258
  logger.info(f"rx: cancel step run: {action.step_run_id}")
276
- case ActionType.START_GET_GROUP_KEY:
277
- self.event_queue.put(
278
- ActionEvent(
279
- action=action,
280
- type=GROUP_KEY_EVENT_TYPE_STARTED, # TODO ack type
281
- payload="",
282
- should_not_retry=False,
283
- )
284
- )
285
- logger.info(
286
- f"rx: start group key: {action.get_group_key_run_id}"
287
- )
288
259
  case _:
289
260
  logger.error(
290
261
  f"rx: unknown action type ({action.action_type}): {action.action_type}"
@@ -23,9 +23,6 @@ from hatchet_sdk.config import ClientConfig
23
23
  from hatchet_sdk.context.context import Context, DurableContext
24
24
  from hatchet_sdk.context.worker_context import WorkerContext
25
25
  from hatchet_sdk.contracts.dispatcher_pb2 import (
26
- GROUP_KEY_EVENT_TYPE_COMPLETED,
27
- GROUP_KEY_EVENT_TYPE_FAILED,
28
- GROUP_KEY_EVENT_TYPE_STARTED,
29
26
  STEP_EVENT_TYPE_COMPLETED,
30
27
  STEP_EVENT_TYPE_FAILED,
31
28
  STEP_EVENT_TYPE_STARTED,
@@ -142,10 +139,6 @@ class Runner:
142
139
  log = f"cancel: step run: {action.action_id}/{action.step_run_id}/{action.retry_count}"
143
140
  logger.info(log)
144
141
  t = asyncio.create_task(self.handle_cancel_action(action))
145
- case ActionType.START_GET_GROUP_KEY:
146
- log = f"run: get group key: {action.action_id}/{action.get_group_key_run_id}"
147
- logger.info(log)
148
- t = asyncio.create_task(self.handle_start_group_key_run(action))
149
142
  case _:
150
143
  log = f"unknown action type: {action.action_type}"
151
144
  logger.error(log)
@@ -218,67 +211,6 @@ class Runner:
218
211
 
219
212
  return inner_callback
220
213
 
221
- def group_key_run_callback(
222
- self, action: Action
223
- ) -> Callable[[asyncio.Task[Any]], None]:
224
- def inner_callback(task: asyncio.Task[Any]) -> None:
225
- self.cleanup_run_id(action.key)
226
-
227
- if task.cancelled():
228
- return
229
-
230
- try:
231
- output = task.result()
232
- except Exception as e:
233
- exc = TaskRunError.from_exception(e, action.step_run_id)
234
-
235
- self.event_queue.put(
236
- ActionEvent(
237
- action=action,
238
- type=GROUP_KEY_EVENT_TYPE_FAILED,
239
- payload=exc.serialize(include_metadata=True),
240
- should_not_retry=False,
241
- )
242
- )
243
-
244
- logger.exception(
245
- f"failed step run: {action.action_id}/{action.step_run_id}\n{exc.serialize(include_metadata=False)}"
246
- )
247
-
248
- return
249
-
250
- try:
251
- output = self.serialize_output(output)
252
-
253
- self.event_queue.put(
254
- ActionEvent(
255
- action=action,
256
- type=GROUP_KEY_EVENT_TYPE_COMPLETED,
257
- payload=output,
258
- should_not_retry=False,
259
- )
260
- )
261
- except IllegalTaskOutputError as e:
262
- exc = TaskRunError.from_exception(e, action.step_run_id)
263
- self.event_queue.put(
264
- ActionEvent(
265
- action=action,
266
- type=STEP_EVENT_TYPE_FAILED,
267
- payload=exc.serialize(include_metadata=True),
268
- should_not_retry=False,
269
- )
270
- )
271
-
272
- logger.exception(
273
- f"failed step run: {action.action_id}/{action.step_run_id}\n{exc.serialize(include_metadata=False)}"
274
- )
275
-
276
- return
277
-
278
- logger.info(f"finished step run: {action.action_id}/{action.step_run_id}")
279
-
280
- return inner_callback
281
-
282
214
  def thread_action_func(
283
215
  self,
284
216
  ctx: Context,
@@ -286,7 +218,7 @@ class Runner:
286
218
  action: Action,
287
219
  dependencies: dict[str, Any],
288
220
  ) -> R:
289
- if action.step_run_id or action.get_group_key_run_id:
221
+ if action.step_run_id:
290
222
  self.threads[action.key] = current_thread()
291
223
 
292
224
  return task.call(ctx, dependencies)
@@ -485,42 +417,6 @@ class Runner:
485
417
 
486
418
  return None
487
419
 
488
- ## IMPORTANT: Keep this method's signature in sync with the wrapper in the OTel instrumentor
489
- async def handle_start_group_key_run(self, action: Action) -> Exception | None:
490
- action_name = action.action_id
491
- context = self.create_context(action)
492
-
493
- self.contexts[action.key] = context
494
-
495
- # Find the corresponding action function from the registry
496
- action_func = self.action_registry.get(action_name)
497
-
498
- if action_func:
499
- # send an event that the group key run has started
500
- self.event_queue.put(
501
- ActionEvent(
502
- action=action,
503
- type=GROUP_KEY_EVENT_TYPE_STARTED,
504
- payload="",
505
- should_not_retry=False,
506
- )
507
- )
508
-
509
- loop = asyncio.get_event_loop()
510
- task = loop.create_task(
511
- self.async_wrapped_action_func(context, action_func, action)
512
- )
513
-
514
- task.add_done_callback(self.group_key_run_callback(action))
515
- self.tasks[action.key] = task
516
-
517
- try:
518
- await task
519
- except Exception as e:
520
- return e
521
-
522
- return None
523
-
524
420
  def force_kill_thread(self, thread: Thread) -> None:
525
421
  """Terminate a python threading.Thread."""
526
422
  try:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: hatchet-sdk
3
- Version: 1.19.0
3
+ Version: 1.20.1
4
4
  Summary:
5
5
  License: MIT
6
6
  Author: Alexander Belanger
@@ -1,15 +1,15 @@
1
1
  hatchet_sdk/__init__.py,sha256=ng-IkoknD8Xbq1q8Wc42tEsO0OhD74MI9FPbBor9ut8,10911
2
2
  hatchet_sdk/client.py,sha256=s0-0WXGTyLkD-JOJl68bsaInDKOzDHSM5NCB0ic46lw,2502
3
3
  hatchet_sdk/clients/admin.py,sha256=Blx1OYhPGcdbUVCNq7n5jygjTy--8l_RYpjV-a8DRjw,17058
4
- hatchet_sdk/clients/dispatcher/action_listener.py,sha256=FeIYd8HZoYX_ELdeu--Nc6kTn9OfjL7Tr7WCs2EgJbc,13822
5
- hatchet_sdk/clients/dispatcher/dispatcher.py,sha256=1d4_4DYdFskqXjmHPHgZ-jBx1l9fQ1e0SMIweDL0VsE,8559
4
+ hatchet_sdk/clients/dispatcher/action_listener.py,sha256=uQpyU2ozGY_zrChss8MRVlD8rI9TYNDnxCYqe1Sau3E,13743
5
+ hatchet_sdk/clients/dispatcher/dispatcher.py,sha256=L_pwwtDam4me_pGpp0Q_YY0FByKvDK2ZV9kfitReDx4,7482
6
6
  hatchet_sdk/clients/event_ts.py,sha256=JVfxZ-OJ-xv7xJgPWAjv-g7ChwnkVwMDbYNVcAF-XnE,2121
7
7
  hatchet_sdk/clients/events.py,sha256=fcoC7OhLmAKMyeXJMY-zhPPcr129em9XO-gGPh10BBg,8954
8
8
  hatchet_sdk/clients/listeners/durable_event_listener.py,sha256=55WbVQpm65ccVSQtqz-Z_4EI8Gig-7MzH5F9Arh-rb0,4166
9
9
  hatchet_sdk/clients/listeners/pooled_listener.py,sha256=mBx9XTQZuFStyvuM93QPyhjnF7qF2XzWfuUR7bniHt8,8512
10
10
  hatchet_sdk/clients/listeners/run_event_listener.py,sha256=CNXG5a_MUoYnNVmfrXkW1w3v6UnImyeUFXHQ96n4ULM,10222
11
11
  hatchet_sdk/clients/listeners/workflow_listener.py,sha256=u7qkr_uqnk3Pq_dARM3ah0nd1KtL3D_UQwbZ5IdcnjE,2283
12
- hatchet_sdk/clients/rest/__init__.py,sha256=ZkGkE5ycOgQqcgXunPE7Jo55VbgfV2dM1Q7ZyHe2-mY,19460
12
+ hatchet_sdk/clients/rest/__init__.py,sha256=nbG5u2JkuGA9jNqyigcPOKZ7zmVWJ80TWgQ8dHxgmXM,19845
13
13
  hatchet_sdk/clients/rest/api/__init__.py,sha256=l2G4N2X56OL4ph2g8s6RukHogw00Y0x5DLVuSzQId10,1382
14
14
  hatchet_sdk/clients/rest/api/api_token_api.py,sha256=xzqMH_-wajBA0qLLs5Ta7tYg4FOLq0NjATyhZ1SV9jo,33433
15
15
  hatchet_sdk/clients/rest/api/cel_api.py,sha256=QNVdL2L2-dnjxFerHHUDvugBEIhqBp2_-WJ614lJVMc,13098
@@ -24,19 +24,19 @@ hatchet_sdk/clients/rest/api/rate_limits_api.py,sha256=e3CIX35R8SkV8LrgLMPCAy6Kz
24
24
  hatchet_sdk/clients/rest/api/slack_api.py,sha256=0xIUw3_1_3hSTn2yw7fLRO5yb38nYLu5aLM7IE2pnwk,21894
25
25
  hatchet_sdk/clients/rest/api/sns_api.py,sha256=1LfhnZEA450uHwtZCoM_wycOeH4UGwfNP1pw4RWSe08,33641
26
26
  hatchet_sdk/clients/rest/api/step_run_api.py,sha256=rqP4UIJSkw8DwbDnlEgupBDWUL0jlVH_Rm7bNGMUoG8,84505
27
- hatchet_sdk/clients/rest/api/task_api.py,sha256=maJxIkIh0YYVzFMKXpx5xBDkavWJr-rWwor5t4GbSwc,90052
28
- hatchet_sdk/clients/rest/api/tenant_api.py,sha256=iz67ow7wp9qgo1IRPI_IVTkoMh_ytx81wz4MPgEWWSg,198472
29
- hatchet_sdk/clients/rest/api/user_api.py,sha256=NYuEKLeBjXO4q8gyYq1thtbuRm9m3g0R6-q6LIfv83U,115780
30
- hatchet_sdk/clients/rest/api/webhook_api.py,sha256=31hyrk6I-kUJ38-fIm_Xre8KJzg_DIeslVD_yv2chvE,60525
27
+ hatchet_sdk/clients/rest/api/task_api.py,sha256=Cxit86KqI40AznAO3o_6ITL8OiQdZs6S1o5FCu0SfFE,91303
28
+ hatchet_sdk/clients/rest/api/tenant_api.py,sha256=JDkR86bGqVlrZfoeokOWRCfJkpLmnqvT9TZXTk6TzyQ,211941
29
+ hatchet_sdk/clients/rest/api/user_api.py,sha256=3FfSeP_UbYrOarRS2n7dVq76-zWW8LvSnwUoJEj5eTg,116068
30
+ hatchet_sdk/clients/rest/api/webhook_api.py,sha256=AVzkOlgcOxUFW1usykF21KeJGLZOBHcw0sakeMwE3aM,73167
31
31
  hatchet_sdk/clients/rest/api/worker_api.py,sha256=56jRXsyK7SDENly2b019EO80d8xOHU4bZnmOmjKY1iQ,33049
32
- hatchet_sdk/clients/rest/api/workflow_api.py,sha256=rpPXy5xZDZWo1GXQGLapTC3A5M_spk1zoK_vu_J7SVA,251652
32
+ hatchet_sdk/clients/rest/api/workflow_api.py,sha256=pgU5jHNNYmyEboeJApLyV-Uq9nPz3zi_qjlAvydXyiE,264968
33
33
  hatchet_sdk/clients/rest/api/workflow_run_api.py,sha256=Jvge80z6DhlqL9OuLzUC49OtojeiCuagrMbNBThMYI4,78120
34
- hatchet_sdk/clients/rest/api/workflow_runs_api.py,sha256=PwUCdfseQvB6amGYW1XmowmrQaZaQODZaDebBXjAkPQ,96418
34
+ hatchet_sdk/clients/rest/api/workflow_runs_api.py,sha256=XovxfyatONywrQYUM6JpitT2dV6uhB2Bv8xC9HeX9pI,112671
35
35
  hatchet_sdk/clients/rest/api_client.py,sha256=25vNKzpKVhvrGrU8T2YBLbz0Y7K0pKZwiLXF3Oc7tt0,27435
36
36
  hatchet_sdk/clients/rest/api_response.py,sha256=jPXKGanAyue6QAb6r56f-_d7KXGpFERBT-AYq9XdktQ,655
37
- hatchet_sdk/clients/rest/configuration.py,sha256=ijGxGorVe8OEikJruwJ0hPk1Rc0OAKOqeUrfcoEiYH8,19333
37
+ hatchet_sdk/clients/rest/configuration.py,sha256=pd7NFuGtsh7tZUwdTs9BwNune6_EWqdyy-LKfNuJvoo,19627
38
38
  hatchet_sdk/clients/rest/exceptions.py,sha256=5PTEjyGxLeGP8U_qqc79QzR-sN7SOhzBwknSUC-BU4c,6365
39
- hatchet_sdk/clients/rest/models/__init__.py,sha256=PcQFQXhFLiarNHfSFrXkOTOKKjmYg4eWsO56JyVvVjY,17698
39
+ hatchet_sdk/clients/rest/models/__init__.py,sha256=6Grq8HRqwJydibHuDgqcmtHOJcAJMomMPV63mgUi9xY,18083
40
40
  hatchet_sdk/clients/rest/models/accept_invite_request.py,sha256=_otOis3SuTHl0F_hhYD-rYqgyxCXRn83CK_eU9oMdn4,2427
41
41
  hatchet_sdk/clients/rest/models/api_error.py,sha256=KodK1_cc28CgYGvX1WhIhTN0pAAkgq8PJXReIrMnqBA,3068
42
42
  hatchet_sdk/clients/rest/models/api_errors.py,sha256=RNmnWn1GWlG9xTvpvrTmKq-Pr70x9mcJ4-dNFBemxa8,2917
@@ -59,7 +59,7 @@ hatchet_sdk/clients/rest/models/create_pull_request_from_step_run.py,sha256=YWYB
59
59
  hatchet_sdk/clients/rest/models/create_sns_integration_request.py,sha256=8xi59Xun0UGlNxJ7VuqHPAfqqH4takdtmZ673mK_6Og,2517
60
60
  hatchet_sdk/clients/rest/models/create_tenant_alert_email_group_request.py,sha256=MgMDiPtElEiiZU6boYVkOl9nSkvP9bnFjUIzByEn7WM,2488
61
61
  hatchet_sdk/clients/rest/models/create_tenant_invite_request.py,sha256=fVCrUaEcnKW8ekH4mPZpch1056i4tJVYHRyU9aDVuVE,2648
62
- hatchet_sdk/clients/rest/models/create_tenant_request.py,sha256=ZKDe4BNp5DqVTlc10Ud10BaIwUcGay0i2sPl6W4Iv9Y,3232
62
+ hatchet_sdk/clients/rest/models/create_tenant_request.py,sha256=R5O3OxQLVZj_PRAg_-FzyQUv69IkeSPNr1pSgoHhE_0,3840
63
63
  hatchet_sdk/clients/rest/models/cron_workflows.py,sha256=mHYhFHC-0NcA_sosCnYCqRiTYMvSbQQZiRCMTO4kgYc,4310
64
64
  hatchet_sdk/clients/rest/models/cron_workflows_list.py,sha256=bLMycEajkleH0-8gGuqDAvZDparvQ4LRKa2sX3bxsG0,3495
65
65
  hatchet_sdk/clients/rest/models/cron_workflows_method.py,sha256=zq05HHTwhf-D2kmhbf40ihYCDBihAeEMQEbr7DrtaoM,679
@@ -101,6 +101,7 @@ hatchet_sdk/clients/rest/models/rate_limit_list.py,sha256=3Wz1mefNHtSpfYYws9hXge
101
101
  hatchet_sdk/clients/rest/models/rate_limit_order_by_direction.py,sha256=aXma3sKpfz0I8NfbfRw8eY61X5JhBmj7vakd65gfAJ8,691
102
102
  hatchet_sdk/clients/rest/models/rate_limit_order_by_field.py,sha256=erHlsguxo6kHMNvXmBx9DILtaPOWy58DkAYeTdCI17Q,711
103
103
  hatchet_sdk/clients/rest/models/recent_step_runs.py,sha256=JBI3S2itWEdS3rGDpF-t_3KrkZAKf5cXwSNeU8Dh9tE,3778
104
+ hatchet_sdk/clients/rest/models/registered_workflow.py,sha256=PBdxGX1xoaYe5VkfjcE1uHavta12XHXiDIc_PNYZNcw,2560
104
105
  hatchet_sdk/clients/rest/models/reject_invite_request.py,sha256=J_nuhHw36MvWl3d_re6_1Fb4gBD9vaMnog1hXMUq6_g,2427
105
106
  hatchet_sdk/clients/rest/models/replay_event_request.py,sha256=7lgUhbzcoSTqq1X57nrIjsMZ9nZJ2K2cLMPYdagn34E,2478
106
107
  hatchet_sdk/clients/rest/models/replay_workflow_runs_request.py,sha256=sh-7aV71affZzVEyNsK4Ok4mkPy8upIbgxN_-xz-UM4,2537
@@ -125,10 +126,11 @@ hatchet_sdk/clients/rest/models/step_run_event_list.py,sha256=-Mg1FVd__JuS8YAiWq
125
126
  hatchet_sdk/clients/rest/models/step_run_event_reason.py,sha256=mFPJ_9Ocb8lwmEGzxK-iYhrdmTm8_46RknP88HuvFRs,1286
126
127
  hatchet_sdk/clients/rest/models/step_run_event_severity.py,sha256=w4wwMnpesHEyPgsuGK0SMOW-86fPcnYqdHNZLnV2k9A,710
127
128
  hatchet_sdk/clients/rest/models/step_run_status.py,sha256=MTp9av3uPCqDMoBXq5JuP7pU_TgTTNNS4qh50Mrm3G8,873
128
- hatchet_sdk/clients/rest/models/tenant.py,sha256=NIaxcdsqC_4x9tbSUuMcIsgDTJj8zYRLBooJ3h-7HpU,4102
129
+ hatchet_sdk/clients/rest/models/tenant.py,sha256=x-YYbslg6rotWkDVdAkJUTqN-jj1rIhYVqF2SrwqT8M,4393
129
130
  hatchet_sdk/clients/rest/models/tenant_alert_email_group.py,sha256=QOipFLcB7yqMsesEElJAzOVrZ1_7B6TAhuNgsFwAxGg,2976
130
131
  hatchet_sdk/clients/rest/models/tenant_alert_email_group_list.py,sha256=rEmYCyWVree4mez0bTjD-S4dvcbi97c72qE3q9bFDgI,3570
131
132
  hatchet_sdk/clients/rest/models/tenant_alerting_settings.py,sha256=fOK_v5ZJ00Cypagv7lTplmvOmkLTUQgGnsBwtpLVN1o,4820
133
+ hatchet_sdk/clients/rest/models/tenant_environment.py,sha256=ifRlmbj3gpoNlGJhRZ6tHeAO1y9VN0-q0LC5ZUKBaLc,715
132
134
  hatchet_sdk/clients/rest/models/tenant_invite.py,sha256=1OZHEaepVA5ztf-242LWoEr20Kj2J_m7g4zj7S3qX1k,3781
133
135
  hatchet_sdk/clients/rest/models/tenant_invite_list.py,sha256=lCDkNIYrev_RogTVN19TtcuFcmMVJVCMB3mksQ4-WSo,3487
134
136
  hatchet_sdk/clients/rest/models/tenant_list.py,sha256=zKtM3QsFfbrLMF386gTGdmJAfYbtPsBEcQTVLVDX1bM,3438
@@ -143,8 +145,10 @@ hatchet_sdk/clients/rest/models/tenant_step_run_queue_metrics.py,sha256=pkbuRSwr
143
145
  hatchet_sdk/clients/rest/models/tenant_ui_version.py,sha256=iZSSY_cOHmwmKY5U6oZLFXtMhrZvBHpaO5vH2LOt48U,655
144
146
  hatchet_sdk/clients/rest/models/tenant_version.py,sha256=5izyls2uBLE-gHEPfBaRaWOE24k9iM-2T_TB_LYINJ8,649
145
147
  hatchet_sdk/clients/rest/models/trigger_workflow_run_request.py,sha256=8l1biY4plhSQFr8w6g4a_pcZjJSBuPO18WjCr4Dz75k,2644
148
+ hatchet_sdk/clients/rest/models/update_cron_workflow_trigger_request.py,sha256=XKltLOPwpt2yu6UYjDrWxX9DLY1AufM2t7Qb_eP5dX4,2440
146
149
  hatchet_sdk/clients/rest/models/update_tenant_alert_email_group_request.py,sha256=9KfQNVApba-LG49ioR-W16YAfk2W2HanV_RRDugQeho,2488
147
150
  hatchet_sdk/clients/rest/models/update_tenant_invite_request.py,sha256=RSoI2hpSMJsgQiDt8NfJggOYJmdUfjFeHUxEWK0gPhk,2524
151
+ hatchet_sdk/clients/rest/models/update_tenant_member_request.py,sha256=n12RCn26KfmCqfeF7748lKe940v7qDwRvOLOm8g9cYc,2524
148
152
  hatchet_sdk/clients/rest/models/update_tenant_request.py,sha256=CWLIeBE9XPR8Ydk8yEcUlSMmju7g-H94OUDjkO_VL14,5051
149
153
  hatchet_sdk/clients/rest/models/update_worker_request.py,sha256=7UkXgkwTfXKirY1iuFa-Yqzk3lC-3CNByYRGo65l9U8,2536
150
154
  hatchet_sdk/clients/rest/models/user.py,sha256=D0royyHH9yFSJk7RinRUNdU8xB3Vo-QiOohIznyBHBg,3845
@@ -174,7 +178,7 @@ hatchet_sdk/clients/rest/models/v1_event.py,sha256=KR-N9DDzEXEQFeuVDGH1qG3cZ2XiR
174
178
  hatchet_sdk/clients/rest/models/v1_event_list.py,sha256=miUX2fVgV_9dFHm6Kx3A09KSI8fRowbEwtfzImuTHfE,3447
175
179
  hatchet_sdk/clients/rest/models/v1_event_triggered_run.py,sha256=JBi9i3_XBosPqG95yjL92YdNVc-Yxa92JRaIrhxkEcU,2828
176
180
  hatchet_sdk/clients/rest/models/v1_event_workflow_run_summary.py,sha256=X09QH2HU7a7TV4A7xH6P5LxekWlWR_NOsPv9-E3Ncy8,3089
177
- hatchet_sdk/clients/rest/models/v1_filter.py,sha256=XKP8VAKRt3Ks1dZmo0ggtba5zTjIMWXkZuMSwZhDOLI,3899
181
+ hatchet_sdk/clients/rest/models/v1_filter.py,sha256=kZwpRPuIl05JHXSU71hy9EQQOB0ZXO0Ko7rxUPY3qtE,4192
178
182
  hatchet_sdk/clients/rest/models/v1_filter_list.py,sha256=TFeTo77aAs-3yeCdgCWHn2NRgflP1vpxd1XiylnGp5E,3455
179
183
  hatchet_sdk/clients/rest/models/v1_log_line.py,sha256=ht7HPw9vLgrcIQ_5XSEDkLQuGWaky6sllndzv9xMWMc,3440
180
184
  hatchet_sdk/clients/rest/models/v1_log_line_level.py,sha256=lgBe481y--PMLHHaHR9AuVZtC092SxkjY8ca0yApM00,700
@@ -197,6 +201,7 @@ hatchet_sdk/clients/rest/models/v1_task_timing.py,sha256=ygr-r0_Mius0JDSAYIYjsXO
197
201
  hatchet_sdk/clients/rest/models/v1_task_timing_list.py,sha256=1LFoKqFn11EJ_t7ZeWUFldWOWfG09tN_wTZu3a8e_SM,3509
198
202
  hatchet_sdk/clients/rest/models/v1_trigger_workflow_run_request.py,sha256=P-dC3O7dPr6mGJ2UZYcl3lSQoxKcX-GlYOiWkmNRMj0,3080
199
203
  hatchet_sdk/clients/rest/models/v1_update_filter_request.py,sha256=XSWSkNlYZTcVdnZSGFSDVn8g_9YjlXW2UYQSeCiU2No,2953
204
+ hatchet_sdk/clients/rest/models/v1_update_webhook_request.py,sha256=Uis_IdX6ZgpBPO_tgx1SZWLvuBGmAJkVMGipPN3O5ws,2616
200
205
  hatchet_sdk/clients/rest/models/v1_webhook.py,sha256=gl4pv0BKEYOnKzOv2VTCpeQUamMNA6yPA0nlH43JG9k,4055
201
206
  hatchet_sdk/clients/rest/models/v1_webhook_api_key_auth.py,sha256=9ejAQVVPw5T75YA50-7PcYAg9LxE-xLE3INaSfNhx9A,2667
202
207
  hatchet_sdk/clients/rest/models/v1_webhook_auth_type.py,sha256=_YcYA6h9Arkvd9NA6CDxrLKVOFZDiF93NKdxDbMwSiE,695
@@ -206,7 +211,7 @@ hatchet_sdk/clients/rest/models/v1_webhook_hmac_auth.py,sha256=xTYLsUJrtMcb7BGdM
206
211
  hatchet_sdk/clients/rest/models/v1_webhook_hmac_encoding.py,sha256=NAallMjEsWwP03aQVJOEU8AfgIviSitBkrIdgq5Oozs,711
207
212
  hatchet_sdk/clients/rest/models/v1_webhook_list.py,sha256=6-hZjTFteT3oTRgGoqbr1VM624icunk77h8T5oSnAM8,3463
208
213
  hatchet_sdk/clients/rest/models/v1_webhook_receive200_response.py,sha256=kFlBrhGGNgz3uBVbBQHj0q91Da2YRBm43_wxkOn1Qeo,2418
209
- hatchet_sdk/clients/rest/models/v1_webhook_source_name.py,sha256=SIFS38XmeSHvQYaOSp0Wb3dz7drtKk1gDCKwBYma55k,707
214
+ hatchet_sdk/clients/rest/models/v1_webhook_source_name.py,sha256=wzumf1ob3U6lVJ5Xkks3lF0lZ9GZCvX4xgmLkoG5NA4,749
210
215
  hatchet_sdk/clients/rest/models/v1_workflow_run.py,sha256=0kgHJ35XjXgNfaJfb1p0KLS1Jw6VAMeMYSdts8EvuYc,5895
211
216
  hatchet_sdk/clients/rest/models/v1_workflow_run_details.py,sha256=1EqvBWpNF-LvjgnT65WQ6D7QnMHxX2Jt-4Jj_h4BOVY,5272
212
217
  hatchet_sdk/clients/rest/models/v1_workflow_run_display_name.py,sha256=0r6ASZvs6zUzW-YcJGbhkV_cs6N7jl-5l7f_LLgvBVY,2982
@@ -220,7 +225,7 @@ hatchet_sdk/clients/rest/models/webhook_worker_list_response.py,sha256=xShiFciv2
220
225
  hatchet_sdk/clients/rest/models/webhook_worker_request.py,sha256=gYaDiF2_YKHkuovO7GN9bV9fust5vNteMy5JSqx7Rg8,3023
221
226
  hatchet_sdk/clients/rest/models/webhook_worker_request_list_response.py,sha256=up1LSEDovPz3tSfE87RU0jOvdUxu-_iZ_8hNhkzBhpo,3180
222
227
  hatchet_sdk/clients/rest/models/webhook_worker_request_method.py,sha256=cHjXGrtBTuNzSHdrfY7CqDNF__GFD2DUKeSo9JiC5yk,710
223
- hatchet_sdk/clients/rest/models/worker.py,sha256=X1ZHtGsfj_SBWynBH7AP9UKwtQ76WvTZxsln4oIxql4,8710
228
+ hatchet_sdk/clients/rest/models/worker.py,sha256=TBYshbP7oD0-rOETbeYZFqdlsYU_VZvktkdMMY8OCoo,9769
224
229
  hatchet_sdk/clients/rest/models/worker_label.py,sha256=CtnrPm585AzpXz4vOUp4_qS0hG7R69mZiITdP6NZrhY,3071
225
230
  hatchet_sdk/clients/rest/models/worker_list.py,sha256=D9Yk9DzbIU6CJUJxI-ZxEtBqLRRh_do4X6sdKni4L3Q,3438
226
231
  hatchet_sdk/clients/rest/models/worker_runtime_info.py,sha256=f87fjpVCwdnuUsle0ogH8SmF2eNG2_m-UT-aGybDAcI,3131
@@ -288,41 +293,42 @@ hatchet_sdk/features/filters.py,sha256=n6PPeRiqd5SOFlcx8V2strUaCGma9JPRAOLx44XpC
288
293
  hatchet_sdk/features/logs.py,sha256=H_vQnOqiN5q_wQWVoOGAJp7eOPKFYZsLJ1Hb63LriRA,1190
289
294
  hatchet_sdk/features/metrics.py,sha256=do4kVX6cjDszHocc-IoS8BdT5ChptPc39oElbW6Cd8k,5109
290
295
  hatchet_sdk/features/rate_limits.py,sha256=eh55Z3w75cYUthqTyoWmNxj_6tN3rjebMKm3of-vxv0,2155
291
- hatchet_sdk/features/runs.py,sha256=u0KEcLOLSWusgyp8T4z30yR9UxSdz9CdyrGxM9SSr-g,23758
296
+ hatchet_sdk/features/runs.py,sha256=pR4UqdWR7QyJBqoNzVIi54Kgg3gB98CMYTYoWnApqwA,33157
292
297
  hatchet_sdk/features/scheduled.py,sha256=t7YA9CoJrzBhH82ChTSFWaTF_dyoC9i1O_wf9ywsphc,8939
293
298
  hatchet_sdk/features/stubs.py,sha256=5NF43cgZKzh7qzYv_lLae4Xkh_zrz2wMj8M_OoTAAF8,2604
294
299
  hatchet_sdk/features/tenant.py,sha256=xkhh5mRKCWbunk_S1iBmGR-DYR-F4mjxk8jLyYUyzNE,886
295
300
  hatchet_sdk/features/workers.py,sha256=DVdno28RmtlfhMJUkaPcOMHNKXCPV0RFrXtLqV6zWyE,2600
296
301
  hatchet_sdk/features/workflows.py,sha256=WTt58imAFRrEEB3M5hEEIBwNtrzdWbITFpgtsIqJNSM,4770
297
- hatchet_sdk/hatchet.py,sha256=v4V7_jHy5cYYFGM2nvrjmuu979i59KuDDRZZUyW8Eis,26558
302
+ hatchet_sdk/hatchet.py,sha256=8p5fjuI7VFlbYths0PyMDMfihcGSMmM4cBAjLm5JZHc,25702
298
303
  hatchet_sdk/labels.py,sha256=nATgxWE3lFxRTnfISEpoIRLGbMfAZsHF4lZTuG4Mfic,182
299
304
  hatchet_sdk/logger.py,sha256=5uOr52T4mImSQm1QvWT8HvZFK5WfPNh3Y1cBQZRFgUQ,333
300
305
  hatchet_sdk/metadata.py,sha256=XkRbhnghJJGCdVvF-uzyGBcNaTqpeQ3uiQvNNP1wyBc,107
301
- hatchet_sdk/opentelemetry/instrumentor.py,sha256=7-OM_6Wu_EJaOVyYECNj7H50YqX6SkokQe1hGtU1rFY,27028
306
+ hatchet_sdk/opentelemetry/instrumentor.py,sha256=w-M6KToQez0xUnHW6mfw5xVAcVmEamC3SstRElmdnMQ,26049
302
307
  hatchet_sdk/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
303
308
  hatchet_sdk/rate_limit.py,sha256=ptFvHJU9rCzxfcITZEnRkKtJM-SY12WP84FzBwCKAPE,3277
304
- hatchet_sdk/runnables/action.py,sha256=zrVHpyzIQ9XZgWwY69b_6uhZd53An4trRoLd9b3os5E,4384
309
+ hatchet_sdk/runnables/action.py,sha256=B9fAKmpseENVjwqL-quHbBmoqbvPgwnypsFfFlDmyeY,4146
305
310
  hatchet_sdk/runnables/contextvars.py,sha256=jHrrewUlFPAT9f2u3VCsuSlDBtBoagEUtUzJOSmm4yk,1118
306
- hatchet_sdk/runnables/task.py,sha256=JsiDBkYQVJodyqtNDT9z8Pwz3ePL8GhY0Z1-ptPw9ms,16030
311
+ hatchet_sdk/runnables/task.py,sha256=tNXsUFuua1_DYNeJHodwgOtm_4uX4-5dOp0apGq5h2g,15968
307
312
  hatchet_sdk/runnables/types.py,sha256=M23xSMTBPl12CXCCXZ0wbnqZ_sePB6CJKtOdipiNDlg,4362
308
313
  hatchet_sdk/runnables/workflow.py,sha256=-oz0q76N-NAi3Xon1VXkzDvZe0ZjbXR_O-3sTCGfokk,58876
309
314
  hatchet_sdk/token.py,sha256=KjIiInwG5Kqd_FO4BSW1x_5Uc7PFbnzIVJqr50-ZldE,779
310
315
  hatchet_sdk/utils/aio.py,sha256=cu1rD_UZkShtfzi7iXMYwBBaCRdxJQTdUC0_mf8nU2E,499
311
316
  hatchet_sdk/utils/backoff.py,sha256=6B5Rb5nLKw_TqqgpJMYjIBV1PTTtbOMRZCveisVhg_I,353
312
317
  hatchet_sdk/utils/datetimes.py,sha256=vIZNEX8tt-bknaIuTmoLEmKVt18dBjClH3urYtCJAys,775
313
- hatchet_sdk/utils/opentelemetry.py,sha256=64TVwCLrUzEmcL2BUNPV_QubfiR5jajOZtVeGYLnEEA,1226
318
+ hatchet_sdk/utils/iterables.py,sha256=beKAOSY2PBnh3Yin3CRfzEF_TP4eOUjprAFzydbhmrk,222
319
+ hatchet_sdk/utils/opentelemetry.py,sha256=Ei_Xbb175O6hwM657uKES9MiHcJa0dyxjA5mzr6JVac,1176
314
320
  hatchet_sdk/utils/proto_enums.py,sha256=v2gp_ZmIhPxURVXwz5lscllXwZXDl5XGXeL6gezw3o0,1241
315
321
  hatchet_sdk/utils/serde.py,sha256=5edZsFddc5KjfbBjHVizPKW6PGgzM5guaLQ5FAFrog8,1769
316
322
  hatchet_sdk/utils/timedelta_to_expression.py,sha256=YujnBnGn7lxtkUdKIeqmOiN_ZCGBpRPjCCSzcD3jxzA,644
317
323
  hatchet_sdk/utils/typing.py,sha256=zyRsfF-HO_aVhNx_vun-BRCbMWYDBps8aV0NczGUcho,1534
318
324
  hatchet_sdk/worker/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
319
- hatchet_sdk/worker/action_listener_process.py,sha256=CzXen-7tFG_rryvM2xWV2_KMUFC2-i_Ts643TB_Urd8,12878
325
+ hatchet_sdk/worker/action_listener_process.py,sha256=B-geWWFL3fmCmONaSydOBYpc5T_ctpSzNog9NNPddqE,11528
320
326
  hatchet_sdk/worker/runner/run_loop_manager.py,sha256=BcdfxSvZdrxbeTZSUASwCTMKJe6pwLorHVKPTprkM2k,4176
321
- hatchet_sdk/worker/runner/runner.py,sha256=QULD00hEyW2dcHCcH46C1k7mxr5nHEwtusyAs33VOO0,22857
327
+ hatchet_sdk/worker/runner/runner.py,sha256=B546JN14g7RtRe7qeXs2cSgfosO3bJa8AkZ1a2NLe1k,19170
322
328
  hatchet_sdk/worker/runner/utils/capture_logs.py,sha256=hNELuNHS0HmoMZJ7F7yIjZuahPEx9cOx9JZro618W74,4675
323
329
  hatchet_sdk/worker/worker.py,sha256=BP8A70hQxNvJ8VG8Osb5NTE4mwdcmEkiLwdtwkkNbuE,16868
324
330
  hatchet_sdk/workflow_run.py,sha256=KcylcqRwKADtnzOTjoiVr1vdr7qTZFtDeD5aRS6A4Y8,2823
325
- hatchet_sdk-1.19.0.dist-info/METADATA,sha256=ixa0o-qnp_sGCMtyLR_Wp6jYDyoqlwLr-WKGfTdj9RI,3525
326
- hatchet_sdk-1.19.0.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
327
- hatchet_sdk-1.19.0.dist-info/entry_points.txt,sha256=Un_76pcLse-ZGBlwebhQpnTPyQrripeHW8J7qmEpGOk,1400
328
- hatchet_sdk-1.19.0.dist-info/RECORD,,
331
+ hatchet_sdk-1.20.1.dist-info/METADATA,sha256=I3GJd209JbpAVeP-0aORP-6eyX8HL2dm9vpjz7WWx-s,3525
332
+ hatchet_sdk-1.20.1.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
333
+ hatchet_sdk-1.20.1.dist-info/entry_points.txt,sha256=Un_76pcLse-ZGBlwebhQpnTPyQrripeHW8J7qmEpGOk,1400
334
+ hatchet_sdk-1.20.1.dist-info/RECORD,,