You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2022/09/06 14:27:54 UTC
[airflow] branch main updated (6931fbf8f7 -> 55928b9da6)
This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
from 6931fbf8f7 Fix backfill occassional deadlocking (#26161)
add 55928b9da6 Implement ExternalPythonOperator (#25780)
No new revisions were added by this update.
Summary of changes:
airflow/decorators/__init__.py | 3 +
airflow/decorators/__init__.pyi | 33 ++
airflow/decorators/branch_python.py | 2 +-
.../{python_virtualenv.py => external_python.py} | 24 +-
airflow/decorators/python_virtualenv.py | 2 +-
airflow/example_dags/example_python_operator.py | 37 +-
airflow/operators/python.py | 445 +++++++++++++++------
airflow/providers/docker/decorators/docker.py | 17 +-
airflow/utils/decorators.py | 31 ++
airflow/utils/python_virtualenv.py | 36 +-
airflow/utils/python_virtualenv_script.jinja2 | 4 +-
docs/apache-airflow/best-practices.rst | 252 +++++++++++-
docs/apache-airflow/howto/operator/python.rst | 33 +-
docs/apache-airflow/tutorial/taskflow.rst | 115 +++++-
.../endpoints/test_task_instance_endpoint.py | 12 +-
tests/decorators/test_external_python.py | 125 ++++++
.../kubernetes/example_kubernetes_decorator.py | 2 +
...test_preexisting_python_virtualenv_decorator.py | 44 ++
tests/utils/test_python_virtualenv.py | 3 +-
19 files changed, 1025 insertions(+), 195 deletions(-)
copy airflow/decorators/{python_virtualenv.py => external_python.py} (75%)
create mode 100644 tests/decorators/test_external_python.py
create mode 100644 tests/utils/test_preexisting_python_virtualenv_decorator.py