We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Container.register()
1 parent 64f965e commit a7e3fcaCopy full SHA for a7e3fca
stubs/punq/punq/__init__.pyi
@@ -86,7 +86,7 @@ class Container:
86
instance: _T | _Empty = ...,
87
scope: Scope = Scope.transient,
88
**kwargs: Any,
89
- ): ...
+ ) -> Container: ...
90
def resolve_all(self, service: type[_T] | str, **kwargs: Any) -> list[_T]: ...
91
def resolve(self, service_key: type[_T] | str, **kwargs: Any) -> _T: ...
92
def instantiate(self, service_key: type[_T] | str, **kwargs: Any) -> _T: ...
0 commit comments