mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2024-11-25 11:04:01 +03:00
ff4d24706e
* Update typing stub * Move attribute * Add typing test * Update docs * Add test * Update changelog
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
|