MCPcopy
hub / github.com/treeverse/dvc / _check_if_parametrized

Method _check_if_parametrized

dvc/dvcfile.py:287–289  ·  view source on GitHub ↗
(stage, action: str = "dump")

Source from the content-addressed store, hash-verified

285
286 @staticmethod
287 def _check_if_parametrized(stage, action: str = "dump") -> None:
288 if stage.raw_data.parametrized:
289 raise ParametrizedDumpError(f"cannot {action} a parametrized {stage}")
290
291 def _dump_pipeline_file(self, stages):
292 stages = stages if isinstance(stages, list) else [stages]

Callers 2

_dump_pipeline_fileMethod · 0.95
remove_stageMethod · 0.95

Calls 1

Tested by

no test coverage detected