Fix `PythonVirtualenvOperator` templated_fields (#23559)
authoreladkal <45845474+eladkal@users.noreply.github.com>
Mon, 9 May 2022 15:17:34 +0000 (18:17 +0300)
committerGitHub <noreply@github.com>
Mon, 9 May 2022 15:17:34 +0000 (18:17 +0300)
commit1657bd2827a3299a91ae0abbbfe4f6b80bd4cdc0
tree0e0ee0631529559184d5b70405a7c7668a1f5225
parent7132be2f11db24161940f57613874b4af86369c7
Fix `PythonVirtualenvOperator` templated_fields (#23559)

* Fix `PythonVirtualenvOperator` templated_fields
The `PythonVirtualenvOperator` templated_fields override `PythonOperator` templated_fields which caused functionality not to work as expected.
fixes: https://github.com/apache/airflow/issues/23557
airflow/operators/python.py
tests/operators/test_python.py