mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2025-05-23 05:56:19 +03:00
12 lines
272 B
Python
12 lines
272 B
Python
import sys
|
|
|
|
if sys.version_info >= (3, 6):
|
|
from dependency_injector.wiring import Provide
|
|
|
|
from ...container import Container
|
|
from ...service import Service
|
|
|
|
|
|
def test_package_function(service: Service = Provide[Container.service]):
|
|
return service
|