dvc.yaml
dvc.yaml file
| Type | object |
|---|---|
| File match |
dvc.yaml
|
| Schema URL | https://catalog.lintel.tools/schemas/schemastore/dvc-yaml/latest.json |
| Source | https://raw.githubusercontent.com/iterative/dvcyaml-schema/master/schema.json |
Validate with Lintel
npx @lintel/lintel check
Properties
List of values for substitution.
May include any dict or a path to a params file which may be a string or a dict to params in the file).
Use elsewhere in dvc.yaml with the ${} substitution expression.
List of stages that form a pipeline.
Top level plots definition.
List of parameter files
List of metric files
Definitions
Path to params file with values for substitution.
Dict of values for substitution.
Path to a dependency (input) file or directory for the stage.
Cache output by DVC
Persist output between runs
Indicate that the output is associated with in-code checkpoints
User description for the output
User assigned type of the output
User assigned labels of the output
Custom metadata of the output.
Name of the remote to use for pushing/fetching
Whether the output should be pushed to remote during dvc push
Path to an output file or dir of the stage.
Cache output by DVC
Persist output between runs
Indicate that the output is associated with in-code checkpoints
User description for the output
User assigned type of the output
User assigned labels of the output
Custom metadata of the output.
Name of the remote to use for pushing/fetching
Whether the output should be pushed to remote during dvc push
Default field name to use as x-axis data
Default field name to use as y-axis data
Default label for the x-axis
Default label for the y-axis
Default plot title
Whether the target CSV or TSV has a header or not
Default plot template
Path to plots file or dir of the stage.
Data files may be JSON/YAML/CSV/TSV.
Image files may be JPEG/GIF/PNG.
A named stage of a pipeline.
(Required) Command to run (anything your system terminal can run).
Can be a string or a list of commands.
Working directory for the cmd, relative to dvc.yaml
List of dot-separated parameter dependency keys to track from params.yaml.
May contain other YAML/JSON/TOML/Python parameter file names, with a sub-list of the param names to track in them (leave empty to include all).
List of plots of the stage for visualization.
Plots may be written to JSON/YAML/CSV/TSV for data or JPEG/GIF/PNG for images.
Assume stage as unchanged
Assume stage as always changed
List of stage-specific values for substitution.
May include any dict or a path to a params file.
Use in the stage with the ${} substitution expression.
Description of the stage
Additional information/metadata
Iterable to loop through in foreach. Can be a parametrized string, list or a dict.
The stages will be generated by iterating through this data, by substituting data in the do block.
Parametrized stage definition that'll be substituted over for each of the value from the foreach data.
A named stage of a pipeline.
(Required) Command to run (anything your system terminal can run).
Can be a string or a list of commands.
Generate stages based on combination of variables.
The variable can be a list of values, or a parametrized string referencing a list.
Working directory for the cmd, relative to dvc.yaml
List of dot-separated parameter dependency keys to track from params.yaml.
May contain other YAML/JSON/TOML/Python parameter file names, with a sub-list of the param names to track in them (leave empty to include all).
List of plots of the stage for visualization.
Plots may be written to JSON/YAML/CSV/TSV for data or JPEG/GIF/PNG for images.
Assume stage as unchanged
Assume stage as always changed
List of stage-specific values for substitution.
May include any dict or a path to a params file.
Use in the stage with the ${} substitution expression.
Description of the stage
Additional information/metadata
A single column name, or a dictionary of data-source and column pair
A single column name, list of columns, or a dictionary of data-source and column pair
Default label for the x-axis
Default label for the y-axis
Default plot title
Default plot template
Path to the artifact
Type of the artifact
Description for the artifact
Custom metadata for the artifact
Labels for the artifact