mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2024-12-04 23:44:05 +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
|