This is an automated email from the ASF dual-hosted git repository. ephraimanierobi pushed a commit to branch v2-7-test in repository https://gitbox.apache.org/repos/asf/airflow.git
commit d092297b65aacd55ef9a682e9e552a4cbea9f7b5 Author: Andrey Anshin <[email protected]> AuthorDate: Fri Sep 1 14:29:57 2023 +0400 Fix Literal redefinition in providers_manager.py (#34001) (cherry picked from commit 37474835d19225f9d133daf30a553f2aa015abfb) --- airflow/providers_manager.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/airflow/providers_manager.py b/airflow/providers_manager.py index ca5778bbc3..bf41222fe8 100644 --- a/airflow/providers_manager.py +++ b/airflow/providers_manager.py @@ -35,7 +35,6 @@ from typing import TYPE_CHECKING, Any, Callable, MutableMapping, NamedTuple, Typ from packaging.utils import canonicalize_name from airflow.exceptions import AirflowOptionalProviderFeatureException -from airflow.typing_compat import Literal from airflow.utils import yaml from airflow.utils.entry_points import entry_points_with_dist from airflow.utils.log.logging_mixin import LoggingMixin @@ -83,10 +82,9 @@ def _ensure_prefix_for_placeholders(field_behaviors: dict[str, Any], conn_type: if TYPE_CHECKING: - from typing_extensions import Literal - from airflow.decorators.base import TaskDecorator from airflow.hooks.base import BaseHook + from airflow.typing_compat import Literal class LazyDictWithCache(MutableMapping):
