hatchet-sdk 1.6.4__py3-none-any.whl → 1.6.5__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.
- hatchet_sdk/runnables/workflow.py +3 -3
- {hatchet_sdk-1.6.4.dist-info → hatchet_sdk-1.6.5.dist-info}/METADATA +1 -1
- {hatchet_sdk-1.6.4.dist-info → hatchet_sdk-1.6.5.dist-info}/RECORD +5 -5
- {hatchet_sdk-1.6.4.dist-info → hatchet_sdk-1.6.5.dist-info}/WHEEL +0 -0
- {hatchet_sdk-1.6.4.dist-info → hatchet_sdk-1.6.5.dist-info}/entry_points.txt +0 -0
|
@@ -765,7 +765,7 @@ class Workflow(BaseWorkflow[TWorkflowInput]):
|
|
|
765
765
|
"""
|
|
766
766
|
A decorator to transform a function into a Hatchet on-success task that runs as the last step in a workflow that had all upstream tasks succeed.
|
|
767
767
|
|
|
768
|
-
:param name: The name of the on-success task. If not specified, defaults to the name of the function being wrapped by the `
|
|
768
|
+
:param name: The name of the on-success task. If not specified, defaults to the name of the function being wrapped by the `on_success_task` decorator.
|
|
769
769
|
|
|
770
770
|
:param schedule_timeout: The maximum time to wait for the task to be scheduled. The run will be canceled if the task does not begin within this time.
|
|
771
771
|
|
|
@@ -803,8 +803,8 @@ class Workflow(BaseWorkflow[TWorkflowInput]):
|
|
|
803
803
|
parents=[],
|
|
804
804
|
)
|
|
805
805
|
|
|
806
|
-
if self.
|
|
807
|
-
raise ValueError("Only one on-
|
|
806
|
+
if self._on_success_task:
|
|
807
|
+
raise ValueError("Only one on-success task is allowed")
|
|
808
808
|
|
|
809
809
|
self._on_success_task = task
|
|
810
810
|
|
|
@@ -261,7 +261,7 @@ hatchet_sdk/runnables/contextvars.py,sha256=6MDocAMmlyiRW37oQ1jyx10tAlJs-xgDjR3x
|
|
|
261
261
|
hatchet_sdk/runnables/standalone.py,sha256=2D31qNL7IgStrW0bO_794VDhvLxgyrahZalrlEu17WQ,11739
|
|
262
262
|
hatchet_sdk/runnables/task.py,sha256=nZPclBbNaYRMlCLOYi91YU503MiTcGSp92Unh3_nKvs,7533
|
|
263
263
|
hatchet_sdk/runnables/types.py,sha256=hF_8kcSWIVXgYspp67RwSfi-CFZJFTbb8mL8BHR8tG8,4889
|
|
264
|
-
hatchet_sdk/runnables/workflow.py,sha256=
|
|
264
|
+
hatchet_sdk/runnables/workflow.py,sha256=mH6ZfrHbLVe9kNIUVnQYdivESvqA9G-a9d9qmJUjqwc,33562
|
|
265
265
|
hatchet_sdk/token.py,sha256=KjIiInwG5Kqd_FO4BSW1x_5Uc7PFbnzIVJqr50-ZldE,779
|
|
266
266
|
hatchet_sdk/utils/backoff.py,sha256=6B5Rb5nLKw_TqqgpJMYjIBV1PTTtbOMRZCveisVhg_I,353
|
|
267
267
|
hatchet_sdk/utils/proto_enums.py,sha256=0UybwE3s7TcqmzoQSO8YnhgAKOS8WZXsyPchB8-eksw,1247
|
|
@@ -506,7 +506,7 @@ hatchet_sdk/worker/runner/runner.py,sha256=z8ri-viK_avAfF6zgbVNBc-rztFDbxSwng3RH
|
|
|
506
506
|
hatchet_sdk/worker/runner/utils/capture_logs.py,sha256=nHRPSiDBqzhObM7i2X7t03OupVFnE7kQBdR2Ckgg-2w,2709
|
|
507
507
|
hatchet_sdk/worker/worker.py,sha256=AdkYo167jNsQ3CAaxuBcqA8YjmnKEu33Lp9TKK15amg,16168
|
|
508
508
|
hatchet_sdk/workflow_run.py,sha256=ZwH0HLFGFVXz6jbiqSv4w0Om2XuR52Tzzw6LH4y65jQ,2765
|
|
509
|
-
hatchet_sdk-1.6.
|
|
510
|
-
hatchet_sdk-1.6.
|
|
511
|
-
hatchet_sdk-1.6.
|
|
512
|
-
hatchet_sdk-1.6.
|
|
509
|
+
hatchet_sdk-1.6.5.dist-info/METADATA,sha256=UDOxt6AocsMoaP8zNZsU2DakoXFWDdKpz-20Ti6XjTI,3635
|
|
510
|
+
hatchet_sdk-1.6.5.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
|
|
511
|
+
hatchet_sdk-1.6.5.dist-info/entry_points.txt,sha256=Un_76pcLse-ZGBlwebhQpnTPyQrripeHW8J7qmEpGOk,1400
|
|
512
|
+
hatchet_sdk-1.6.5.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|