mirror of
https://github.com/hatchet-dev/hatchet.git
synced 2026-03-20 03:31:47 -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
|
|
)
|
|
)
|
|
# !!
|