Files
hatchet/examples/python/concurrency_limit_rr/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

16 lines
305 B
Python

from examples.concurrency_limit_rr.worker import (
WorkflowInput,
concurrency_limit_rr_workflow,
)
from hatchet_sdk import Hatchet
hatchet = Hatchet()
for i in range(200):
group = "0"
if i % 2 == 0:
group = "1"
concurrency_limit_rr_workflow.run(WorkflowInput(group=group))