Skip to content

Commit

Permalink
apache#27232 Rename ExternalPythonOperator template_field
Browse files Browse the repository at this point in the history
Rename python_path -> python to fix apache#27232
  • Loading branch information
enisnazif authored Oct 25, 2022
1 parent 126b7b8 commit 7084802
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion airflow/operators/python.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 7084802

Please sign in to comment.