Skip to content

Commit a7e3fca

Browse files
[punq] Add missing return type for Container.register() (#15301)
1 parent 64f965e commit a7e3fca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stubs/punq/punq/__init__.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ class Container:
8686
instance: _T | _Empty = ...,
8787
scope: Scope = Scope.transient,
8888
**kwargs: Any,
89-
): ...
89+
) -> Container: ...
9090
def resolve_all(self, service: type[_T] | str, **kwargs: Any) -> list[_T]: ...
9191
def resolve(self, service_key: type[_T] | str, **kwargs: Any) -> _T: ...
9292
def instantiate(self, service_key: type[_T] | str, **kwargs: Any) -> _T: ...

0 commit comments

Comments
 (0)