This is an automated email from the ASF dual-hosted git repository.
uranusjr pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git.
from f6dca1f Update doc reference links (#19909)
add caaf6dc Context class handles deprecation (#19886)
No new revisions were added by this update.
Summary of changes:
airflow/macros/__init__.py | 7 +-
airflow/models/taskinstance.py | 181 ++++-----------------
airflow/operators/python.py | 32 ++--
airflow/utils/context.py | 171 +++++++++++++++++++
airflow/utils/context.pyi | 82 ++++++++++
airflow/utils/operator_helpers.py | 4 +-
tests/models/test_taskinstance.py | 9 +-
tests/operators/test_python.py | 6 +-
tests/providers/amazon/aws/sensors/test_s3_key.py | 4 +-
.../papermill/operators/test_papermill.py | 4 +-
10 files changed, 308 insertions(+), 192 deletions(-)
create mode 100644 airflow/utils/context.py
create mode 100644 airflow/utils/context.pyi