mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2024-12-01 22:14:04 +03:00
9 lines
201 B
Python
9 lines
201 B
Python
|
from dependency_injector.wiring import Provide
|
||
|
|
||
|
from ...container import Container
|
||
|
from ...service import Service
|
||
|
|
||
|
|
||
|
def test_function(service: Service = Provide[Container.service]):
|
||
|
return service
|