mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2024-11-25 11:04:01 +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
|