(self, stages, update_pipeline=True, update_lock=True, **kwargs)
| 243 | ) |
| 244 | |
| 245 | def dump_stages(self, stages, update_pipeline=True, update_lock=True, **kwargs): |
| 246 | from dvc.stage import PipelineStage |
| 247 | |
| 248 | if not stages: |
| 249 | return |
| 250 | |
| 251 | for stage in stages: |
| 252 | assert isinstance(stage, PipelineStage) |
| 253 | |
| 254 | if self.verify: |
| 255 | check_dvcfile_path(self.repo, self.path) |
| 256 | |
| 257 | if update_pipeline: |
| 258 | self._dump_pipeline_file(stages) |
| 259 | |
| 260 | if update_lock: |
| 261 | self._dump_lockfile(stages, **kwargs) |
| 262 | |
| 263 | def dump_dataset(self, dataset): |
| 264 | with modify_yaml(self.path, fs=self.repo.fs) as data: |
no test coverage detected