Files
hatchet/sdks/python/examples/affinity-workers/event.py
2025-03-11 14:57:13 -04:00

11 lines
261 B
Python

from hatchet_sdk.clients.events import PushEventOptions
from hatchet_sdk.hatchet import Hatchet
hatchet = Hatchet(debug=True)
hatchet.event.push(
"affinity:run",
{"test": "test"},
options=PushEventOptions(additional_metadata={"hello": "moon"}),
)