python-dependency-injector
python-dependency-injector copied to clipboard
Typing info for nested containers
trafficstars
https://python-dependency-injector.ets-labs.org/examples/application-multiple-containers.html - I have setup identical to this example.
user_service: UserService = Provide[Application.services.user] - I get typing hints for Application (i.e. editor suggest services as autocomplete), bet not for services themselves (user is not suggested as an autocomplete in vscode).
Is it possible to have fully typed codebase experience with nested containers? Thanks!