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 2024/08/27 14:06:50 UTC
(airflow) branch main updated: Remove deprecation warning for cgitb in Plugins Manager (#41732)
This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 83ba17f41e Remove deprecation warning for cgitb in Plugins Manager (#41732)
83ba17f41e is described below
commit 83ba17f41ee1f88c041289e8b88cf815bc61de7e
Author: Jens Scheffler <95...@users.noreply.github.com>
AuthorDate: Tue Aug 27 16:06:41 2024 +0200
Remove deprecation warning for cgitb in Plugins Manager (#41732)
---
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.