Fix typing in wiring

This commit is contained in:
Roman Mogylatov 2022-12-18 22:02:11 -05:00
parent 31c1f7c2d6
commit d3320f5f06

View File

@ -593,7 +593,7 @@ def _fetch_reference_injections( # noqa: C901
return injections, closing 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"): if not hasattr(provider, "args"):
return {} return {}