Skip to content

Typing info for nested containers #710

Open
@toinbis

Description

@toinbis

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions