mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2024-11-29 21:14:00 +03:00
7 lines
198 B
Python
7 lines
198 B
Python
|
from dependency_injector import providers
|
||
|
|
||
|
|
||
|
# Test 1: to check .provided attribute
|
||
|
provider1: providers.Provider[int] = providers.Object(1)
|
||
|
provided: providers.ProvidedInstance = provider1.provided
|