mirror of
https://github.com/hatchet-dev/hatchet.git
synced 2026-01-01 22:29:54 -06: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
|
|
)
|
|
)
|
|
# !!
|