boilercv_pipeline.sync_dvc.__main__#

Sync dvc.yaml and params.yaml with pipeline specification.

Module Contents#

Functions#

main

Sync dvc.yaml and params.yaml with pipeline specification.

get_dvc_context

Get DVC context for pipeline model and stages.

dvc_clear_defaults

Clear defaults in DVC model and its nested stages.

clear_defaults

Clear default fields of a model.

API#

boilercv_pipeline.sync_dvc.__main__.main(
params: boilercv_pipeline.sync_dvc.SyncDvc,
)#

Sync dvc.yaml and params.yaml with pipeline specification.

boilercv_pipeline.sync_dvc.__main__.get_dvc_context(
params: dict[str, Any],
stages: str,
) boilercv_pipeline.sync_dvc.contexts.DvcContext#

Get DVC context for pipeline model and stages.

boilercv_pipeline.sync_dvc.__main__.dvc_clear_defaults(
model: boilercv_pipeline.sync_dvc.dvc.DvcYamlModel,
) boilercv_pipeline.sync_dvc.dvc.DvcYamlModel#

Clear defaults in DVC model and its nested stages.

boilercv_pipeline.sync_dvc.__main__.clear_defaults(
model: boilercv_pipeline.sync_dvc.types.Model,
) boilercv_pipeline.sync_dvc.types.Model#

Clear default fields of a model.