From 5cb538d769067d7928feb2fdaf3763d52cf42706 Mon Sep 17 00:00:00 2001 From: Philip Bjorge Date: Fri, 8 Sep 2023 13:00:24 -0700 Subject: [PATCH] fix: type provider --- src/dependency_injector/providers.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dependency_injector/providers.pyi b/src/dependency_injector/providers.pyi index 83d6ca88..34d3030d 100644 --- a/src/dependency_injector/providers.pyi +++ b/src/dependency_injector/providers.pyi @@ -67,7 +67,7 @@ class Provider(Generic[T]): def unregister_overrides(self, provider: Union[Provider, Any]) -> None: ... def delegate(self) -> Provider: ... @property - def provider(self) -> Provider: ... + def provider(self) -> Provider[T]: ... @property def provided(self) -> ProvidedInstance: ... def enable_async_mode(self) -> None: ...