This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 27a92fecc9 Fix python external template keys (#27256)
27a92fecc9 is described below
commit 27a92fecc9be30c9b1268beb60db44d2c7b3628f
Author: enisnazif <[email protected]>
AuthorDate: Mon Oct 31 04:34:30 2022 +0000
Fix python external template keys (#27256)
---
airflow/operators/python.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/airflow/operators/python.py b/airflow/operators/python.py
index ebcf16a764..8cdf14d6e3 100644
--- a/airflow/operators/python.py
+++ b/airflow/operators/python.py
@@ -620,7 +620,7 @@ class ExternalPythonOperator(_BasePythonVirtualenvOperator):
macros when starting.
"""
- template_fields: Sequence[str] = tuple({'python_path'} |
set(PythonOperator.template_fields))
+ template_fields: Sequence[str] = tuple({'python'} |
set(PythonOperator.template_fields))
def __init__(
self,