Files
hatchet/examples/python/waits/trigger.py
Gabe Ruttner 8e80faf2d6 Fe overhaul docs (#1640)
* api changes

* doc changes

* move docs

* generated

* generate

* pkg

* backmerge main

* revert to main

* revert main

* race?

* remove go tests
2025-04-30 14:10:09 -07:00

11 lines
227 B
Python

import time
from examples.waits.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", {})