mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2024-11-25 11:04:01 +03:00
Add extra typing test for provided instance of `DependenciesContainer
` provider
This commit is contained in:
parent
8092421727
commit
c8178cecda
|
@ -10,6 +10,7 @@ follows `Semantic versioning`_
|
||||||
Develop
|
Develop
|
||||||
-------
|
-------
|
||||||
- Add simple ``FastAPI`` example.
|
- Add simple ``FastAPI`` example.
|
||||||
|
- Add extra typing test for provided instance of ``DependenciesContainer`` provider.
|
||||||
|
|
||||||
4.4.1
|
4.4.1
|
||||||
-----
|
-----
|
||||||
|
|
|
@ -8,3 +8,4 @@ provider1 = providers.DependenciesContainer(
|
||||||
)
|
)
|
||||||
a1: providers.Provider = provider1.a
|
a1: providers.Provider = provider1.a
|
||||||
b1: providers.Provider = provider1.b
|
b1: providers.Provider = provider1.b
|
||||||
|
c1: providers.ProvidedInstance = provider1.c.provided
|
||||||
|
|
Loading…
Reference in New Issue
Block a user