Job
--job¶
Run one or more named generation jobs declared in pyproject.toml (experimental). Jobs are
executed sequentially in TOML declaration order, even when --job is supplied
in a different order.
Experimental
Named batch jobs are experimental; their configuration schema, batch output, and transactional/watch execution contracts may change.
Related: pyproject.toml Configuration,
--all-jobs, --diff-against
Configuration (pyproject.toml)
Jobs require their own input and output. A job can select one reusable
profile using profile = "name". Settings are resolved as base configuration,
job profile, job settings, then safe batch-wide CLI overrides. --input,
--url, --input-model, --output, and --profile cannot be combined with
job selection. --diff-against also cannot be combined with named jobs: compare
one profile or input at a time. With --watch, one outer scheduler watches the
selected jobs' combined dependency graph and pyproject.toml. Every event replans and
transactionally reruns the complete selection; failures retain the published
outputs and continue watching for recovery.
A job whose settings select generate-server also generates the FastAPI server
package, and such jobs can share one models output; see Batch jobs.