Files
hatchet/examples/python/simple/schedule.py
github-actions[bot] ca6ccc7ab6 chore: regenerate examples (#2256)
Co-authored-by: GitHub Action <action@github.com>
2025-09-05 15:09:10 -04:00

11 lines
209 B
Python

# > Schedule a Task
from datetime import datetime
from examples.simple.worker import simple
schedule = simple.schedule(datetime(2025, 3, 14, 15, 9, 26))
## 👀 do something with the id
print(schedule.id)