* feat: add params to api * feat: wire up API to accept params * fix: queries, gen python * chore: python version * feat: gen ts * chore: ver * chore: lint * [Python]: Feat: Workflow runs API wrapper, slightly improved typing, cruft (#1636) * feat: add runs list wrapper around API * chore: version * feat: add to standalone * chore: docs * fix: clean up workflow registration * fix: add additional opts to trigger opts * fix: warning * fix: defaults * fix: docs * docs: fix cron docs * fix: gen
1.3 KiB
Runnables
Runnables in the Hatchet SDK are things that can be run, namely tasks and workflows. The two main types of runnables you'll encounter are:
Workflow, which lets you define tasks and call all of the run, schedule, etc. methodsStandalone, which is a single task that's returned byhatchet.taskand can be run, scheduled, etc.
Workflow
::: runnables.workflow.Workflow options: members: - task - durable_task - on_failure_task - on_success_task - run - aio_run - run_no_wait - aio_run_no_wait - run_many - aio_run_many - run_many_no_wait - aio_run_many_no_wait - schedule - aio_schedule - create_cron - aio_create_cron - create_bulk_run_item - name - tasks - is_durable - list_runs - aio_list_runs
Standalone
::: runnables.standalone.Standalone options: members: - run - aio_run - run_no_wait - aio_run_no_wait - run_many - aio_run_many - run_many_no_wait - aio_run_many_no_wait - schedule - aio_schedule - create_cron - aio_create_cron - create_bulk_run_item - is_durable - list_runs - aio_list_runs