This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch v2-10-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/v2-10-test by this push:
new ada9003119 Remove deprecation warning for cgitb in Plugins Manager
(#41732) (#41793)
ada9003119 is described below
commit ada90031190e4e9436aff7f35f0911f81663b25d
Author: Jarek Potiuk <[email protected]>
AuthorDate: Tue Aug 27 16:44:00 2024 +0200
Remove deprecation warning for cgitb in Plugins Manager (#41732) (#41793)
(cherry picked from commit 83ba17f41ee1f88c041289e8b88cf815bc61de7e)
Co-authored-by: Jens Scheffler <[email protected]>
---
airflow/plugins_manager.py | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/airflow/plugins_manager.py b/airflow/plugins_manager.py
index 76d72a4585..8ccdef2c63 100644
--- a/airflow/plugins_manager.py
+++ b/airflow/plugins_manager.py
@@ -27,7 +27,6 @@ import logging
import os
import sys
import types
-from cgitb import Hook
from pathlib import Path
from typing import TYPE_CHECKING, Any, Iterable
@@ -78,7 +77,7 @@ operator_extra_links: list[Any] | None = None
registered_operator_link_classes: dict[str, type] | None = None
registered_ti_dep_classes: dict[str, type] | None = None
timetable_classes: dict[str, type[Timetable]] | None = None
-hook_lineage_reader_classes: list[type[Hook]] | None = None
+hook_lineage_reader_classes: list[type[HookLineageReader]] | None = None
priority_weight_strategy_classes: dict[str, type[PriorityWeightStrategy]] |
None = None
"""
Mapping of class names to class of OperatorLinks registered by plugins.