We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd00dfc commit 95b976bCopy full SHA for 95b976b
src/pylint_airflow/checkers/dag.py
@@ -89,7 +89,9 @@ def _find_dag(
89
return str(keyword.value.value), call_node
90
91
if call_node.args:
92
- # TODO support dag_ids set in other ways than constant.
+ if not hasattr(call_node.args[0], "value"):
93
+ # TODO Support dynamic dag_id. If dag_id is set from variable, it has no value attr. # pylint: disable=line-too-long
94
+ return None, None
95
return call_node.args[0].value, call_node
96
97
return None, None
0 commit comments