Skip to content

Commit

Permalink
Fix python external template keys (#27256)
Browse files Browse the repository at this point in the history
  • Loading branch information
enisnazif committed Oct 31, 2022
1 parent 544c93f commit 27a92fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion airflow/operators/python.py
Expand Up @@ -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,
Expand Down

0 comments on commit 27a92fe

Please sign in to comment.