Files
hatchet/examples/python/conditions/trigger.py
Matt Kaye 7679732b15 Fix: Skipping conditions with multiple parents (#1948)
* fix: skipping bug

* fix: move `waits` -> `conditions`

* fix: refs

* chore: ver

* feat: add skipped task to test

* feat: start implementing or groups in wait for

* feat: test of or groups on durable context

* fix: lint

* chore: gen

* fix: lint

* fix: branching hell
2025-07-03 16:50:57 -04:00

11 lines
232 B
Python

import time
from examples.conditions.worker import hatchet, task_condition_workflow
task_condition_workflow.run_no_wait()
time.sleep(5)
hatchet.event.push("skip_on_event:skip", {})
hatchet.event.push("wait_for_event:start", {})