This repository was archived by the owner on Feb 20, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +10
-10
lines changed Expand file tree Collapse file tree 4 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -24,14 +24,14 @@ async def create_cron() -> None:
2424 id = cron_trigger .metadata .id # the id of the cron trigger
2525 # !!
2626
27- # ❓ Delete
28- await hatchet .cron .aio .delete (cron_trigger = cron_trigger .metadata .id )
29- # !!
30-
3127 # ❓ List
3228 cron_triggers = await hatchet .cron .aio .list ()
3329 # !!
3430
3531 # ❓ Get
3632 cron_trigger = await hatchet .cron .aio .get (cron_trigger = cron_trigger .metadata .id )
3733 # !!
34+
35+ # ❓ Delete
36+ await hatchet .cron .aio .delete (cron_trigger = cron_trigger .metadata .id )
37+ # !!
Original file line number Diff line number Diff line change 2222id = cron_trigger .metadata .id # the id of the cron trigger
2323# !!
2424
25- # ❓ Delete
26- hatchet .cron .delete (cron_trigger = cron_trigger .metadata .id )
27- # !!
28-
2925# ❓ List
3026cron_triggers = hatchet .cron .list ()
3127# !!
3228
3329# ❓ Get
3430cron_trigger = hatchet .cron .get (cron_trigger = cron_trigger .metadata .id )
3531# !!
32+
33+ # ❓ Delete
34+ hatchet .cron .delete (cron_trigger = cron_trigger .metadata .id )
35+ # !!
Original file line number Diff line number Diff line change @@ -237,7 +237,7 @@ async def cron_create(
237237 workflow = workflow_name ,
238238 create_cron_workflow_trigger_request = CreateCronWorkflowTriggerRequest (
239239 cronName = cron_name ,
240- expression = expression ,
240+ cronExpression = expression ,
241241 input = input ,
242242 additional_metadata = additional_metadata ,
243243 ),
Original file line number Diff line number Diff line change 11[tool .poetry ]
22name = " hatchet-sdk"
3- version = " 0.44.0 "
3+ version = " 0.44.1 "
44description = " "
55authors = [
" Alexander Belanger <[email protected] >" ]
66readme = " README.md"
You can’t perform that action at this time.
0 commit comments