Skip to content

Commit

Permalink
Remove dag keyword from task decorator
Browse files Browse the repository at this point in the history
  • Loading branch information
feluelle committed Apr 21, 2022
1 parent f86e7b2 commit af167cd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion airflint/rules/dag.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,9 @@ def match(self, node):
ast.Call(
func=ast.Name(id="dag", ctx=ast.Load()),
args=[],
keywords=DAG.keywords,
keywords=[
keyword for keyword in DAG.keywords if keyword.arg != "dag"
],
),
],
lineno=node.lineno,
Expand Down

0 comments on commit af167cd

Please sign in to comment.