mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2024-11-23 10:03:56 +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
|