mirror of
https://github.com/hatchet-dev/hatchet.git
synced 2026-04-18 15:30:31 -05:00
11 lines
251 B
Python
11 lines
251 B
Python
from examples.simple.worker import simple
|
|
from hatchet_sdk import TriggerWorkflowOptions
|
|
|
|
# > Trigger with metadata
|
|
simple.run(
|
|
options=TriggerWorkflowOptions(
|
|
additional_metadata={"source": "api"} # Arbitrary key-value pair
|
|
)
|
|
)
|
|
# !!
|