boilercv_pipeline.sync_dvc.contexts#

Contexts.

Module Contents#

Classes#

DvcContext

DVC context.

DvcContexts

DVC contexts.

Data#

DVC

DVC context name.

API#

boilercv_pipeline.sync_dvc.contexts.DVC#

‘dvc’

DVC context name.

class boilercv_pipeline.sync_dvc.contexts.DvcContext(
/,
**data: typing.Any,
)#

Bases: pydantic.BaseModel

DVC context.

Initialization

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

model: boilercv_pipeline.sync_dvc.dvc.DvcYamlModel#

‘Field(…)’

Synchronized dvc.yaml configuration.

params: dict[str, Any]#

‘Field(…)’

DVC params.yaml synchronized to dvc.yaml.

stage: boilercv_pipeline.sync_dvc.dvc.Stage#

‘Field(…)’

Current stage.

only_sample: str = <Multiline-String>#

The only sample if only_sample is enabled.

plot_dir: pathlib.Path | None#

None

Current plotting directory.

plot_names: list[str]#

‘Field(…)’

Current plot names.

class boilercv_pipeline.sync_dvc.contexts.DvcContexts#

Bases: context_models.types.Context

DVC contexts.

Initialization

Initialize self. See help(type(self)) for accurate signature.

dvc: boilercv_pipeline.sync_dvc.contexts.DvcContext#

None