jspeis
02/03/2022, 1:43 AMupstream_tasks
kwarg (e.g. as in example below) I get an Unexpected keyword argument 'upstream_tasks' in function call (unexpected-keyword-arg)
... is there a way I can get pylint to recognize this is ok? (other than disabling?)
@task
def add_one(val):
return val + 1
with Flow("Add One") as flow:
p = Parameter("param")
first = add_one(p)
second = add_one(p, upstream_tasks=[first])
Anna Geller
second = add_one(p, upstream_tasks=[first]) # pylint: disable=unexpected-keyword-arg