예제 #1
0
 def delete_pipeline(self, pipeline: Pipeline):
     if pipeline.id is None:
         raise NonExistingPipelineError(pipeline)
     self.data.remove_pipeline(pipeline.id)
     self.save()
     pipeline.unbind_meta_repo()
예제 #2
0
파일: repository.py 프로젝트: zyfra/ebonite
 def delete_pipeline(self, pipeline: Pipeline):
     self._delete_object(self.pipelines, pipeline, NonExistingPipelineError,
                         AssertionError)
     pipeline.unbind_meta_repo()