From d3320f5f06f025708416dd83a32d56655d168668 Mon Sep 17 00:00:00 2001 From: Roman Mogylatov Date: Sun, 18 Dec 2022 22:02:11 -0500 Subject: [PATCH] Fix typing in wiring --- src/dependency_injector/wiring.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dependency_injector/wiring.py b/src/dependency_injector/wiring.py index d78c37e4..b1f01622 100644 --- a/src/dependency_injector/wiring.py +++ b/src/dependency_injector/wiring.py @@ -593,7 +593,7 @@ def _fetch_reference_injections( # noqa: C901 return injections, closing -def _locate_dependent_closing_args(provider: providers.Provider) -> dict[str, providers.Provider]: +def _locate_dependent_closing_args(provider: providers.Provider) -> Dict[str, providers.Provider]: if not hasattr(provider, "args"): return {}