def delete(self, data): delete_pipeline(data['name'])
def delete_pipeline_api(name): return delete_pipeline(name)
def wrapper(*args, **kwargs): create_pipeline(name=name, processors=processors, encoder=encoder) func(*args, **kwargs) delete_pipeline(name)