This is an automated email from the ASF dual-hosted git repository.

ephraimanierobi pushed a commit to branch v2-4-test
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit d3a450c3f952ed9e280bba510a8ec61e91a2fa21
Author: enisnazif <[email protected]>
AuthorDate: Mon Oct 31 04:34:30 2022 +0000

    Fix python external template keys (#27256)
    
    (cherry picked from commit 27a92fecc9be30c9b1268beb60db44d2c7b3628f)
---
 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 538e805cce..133779f088 100644
--- a/airflow/operators/python.py
+++ b/airflow/operators/python.py
@@ -621,7 +621,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,

Reply via email to