mirror of
https://github.com/hatchet-dev/hatchet.git
synced 2025-12-21 08:40:10 -06:00
chore: regenerate examples (#2256)
Co-authored-by: GitHub Action <action@github.com>
This commit is contained in:
committed by
GitHub
parent
4a50e454a6
commit
ca6ccc7ab6
@@ -1,8 +1,9 @@
|
||||
# > Schedule a Task
|
||||
from examples.simple.worker import simple
|
||||
from datetime import datetime
|
||||
|
||||
schedule = simple.schedule([datetime(2025, 3, 14, 15, 9, 26)])
|
||||
from examples.simple.worker import simple
|
||||
|
||||
schedule = simple.schedule(datetime(2025, 3, 14, 15, 9, 26))
|
||||
|
||||
## 👀 do something with the id
|
||||
print(schedule.id)
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
from hatchet_sdk import Hatchet, Context
|
||||
from pydantic import BaseModel
|
||||
|
||||
from hatchet_sdk import Context, Hatchet
|
||||
|
||||
hatchet = Hatchet()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user