MCPcopy Index your code
hub / github.com/treeverse/dvc / dump

Method dump

dvc/dvcfile.py:239–243  ·  view source on GitHub ↗

Dumps given stage appropriately in the dvcfile.

(self, stage, update_pipeline=True, update_lock=True, **kwargs)

Source from the content-addressed store, hash-verified

237 self.__dict__.pop("stages", None)
238
239 def dump(self, stage, update_pipeline=True, update_lock=True, **kwargs):
240 """Dumps given stage appropriately in the dvcfile."""
241 return self.dump_stages(
242 [stage], update_pipeline=update_pipeline, update_lock=update_lock, **kwargs
243 )
244
245 def dump_stages(self, stages, update_pipeline=True, update_lock=True, **kwargs):
246 from dvc.stage import PipelineStage

Callers

nothing calls this directly

Calls 1

dump_stagesMethod · 0.95

Tested by

no test coverage detected