Files
hatchet/examples/python/simple/schedule.py
matt 4a50e454a6 Fix: Python docs examples (#2255)
* feat: client example

* fix: batch i

* fix: batch ii

* fix: batch iii

* fix: batch iv
2025-09-05 15:08:23 -04:00

10 lines
210 B
Python

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