From fc4998b86d11982ebdfee1fef1054f4242fcb886 Mon Sep 17 00:00:00 2001 From: Philip Bjorge Date: Wed, 2 Aug 2023 17:17:15 -0700 Subject: [PATCH] fix: type propogation through provided --- 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..e1d2c445 100644 --- a/src/dependency_injector/providers.pyi +++ b/src/dependency_injector/providers.pyi @@ -69,7 +69,7 @@ class Provider(Generic[T]): @property def provider(self) -> Provider: ... @property - def provided(self) -> ProvidedInstance: ... + def provided(self) -> T: ... def enable_async_mode(self) -> None: ... def disable_async_mode(self) -> None: ... def reset_async_mode(self) -> None: ...