Skip to content

API Reference

Client

BackgroundJobClient

A client for interacting with PyTaskFlow, enabling job enqueuing, scheduling, and querying for the dashboard.

continue_with(parent_job_id, target_func, *args, **kwargs)

Creates a job that is enqueued after the parent job succeeds.

enqueue(target_func, *args, **kwargs)

Creates a fire-and-forget job.

Worker

Worker

run()

Starts the worker's processing loop.

Storage

Integrations

FastAPI integration helpers for PyTaskFlow.

Litestar integration helpers for PyTaskFlow.