mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2025-02-07 07:00:49 +03:00
* Add test * Add fix * Add extra test * Remove package imports on discovery for Python versions < 3.6 * Move wiring samples to a different directory
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
|