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

18 lines
385 B
Python

import asyncio
from examples.fanout_sync.worker import ParentInput, sync_fanout_parent
from hatchet_sdk import Hatchet, TriggerWorkflowOptions
hatchet = Hatchet()
async def main() -> None:
sync_fanout_parent.run(
ParentInput(n=2),
options=TriggerWorkflowOptions(additional_metadata={"hello": "moon"}),
)
if __name__ == "__main__":
asyncio.run(main())