More consistent **kwargs

This commit is contained in:
Andrii Piasetskyi 2017-04-21 21:29:40 +03:00
parent e749858041
commit d414ecd211

View File

@ -113,8 +113,8 @@ class DataPipelineBackend(BaseBackend):
def __init__(self):
self.pipelines = {}
def create_pipeline(self, name, unique_id, tags=[]):
pipeline = Pipeline(name, unique_id, tags=tags)
def create_pipeline(self, name, unique_id, **kwargs):
pipeline = Pipeline(name, unique_id, **kwargs)
self.pipelines[pipeline.pipeline_id] = pipeline
return pipeline