PythonVirtualenvOperator - SyntaxError: cannot assign to operator #42796
Labels
area:core
area:core-operators
Operators, Sensors and hooks within Core Airflow
good first issue
kind:bug
This is a clearly a bug
Apache Airflow version
Other Airflow 2 version (please specify below)
If "Other Airflow 2 version" selected, which one?
2.8.4 and 2.9.3
What happened?
I’m not sure if this error is known, but when I use the PythonVirtualenvOperator, I get the following error: "SyntaxError: cannot assign to operator" if the file where I create the DAG contains a hyphen in its name. When I remove the hyphen, the error disappears.
How to reproduce
Operating System
Debian GNU/Linux 12.6
Deployment
Official Apache Airflow Helm Chart
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: