dependencies icon indicating copy to clipboard operation
dependencies copied to clipboard

Deny to inject coroutine values without await injector.

Open proofit404 opened this issue 5 years ago • 0 comments

class Container(Injector):
    app = App

    @value
    async def dep():
        ...
Container.app # error

We force await Container before any attribute access.

proofit404 avatar Jan 20 '21 12:01 proofit404