Expand description
A DAG’s run parameters (decisions 133, 135, 138): the check of its schema when the DAG is validated, and of a run’s values before the run exists.
The master runs no user code: it checks values against the JSON Schema the runner wrote
(with the jsonschema crate), and refuses at validation a schema asking for a check that
crate doesn’t make, so what passes here never falls short of the schema. Pydantic’s own
validators run only when a task decodes the values.
Functions§
- problems
- What is wrong with a DAG’s
params, for the DAG’s validation; empty when nothing is.scheduled: the DAG has a schedule, so every field needs a default. - run_
params - A run’s parameters, as stored (decision 138): the DAG’s defaults with
givenover them, checked against its schema.