mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2025-07-08 22:33:15 +03:00
11 lines
218 B
Python
11 lines
218 B
Python
from dependency_injector import containers, providers
|
|
|
|
from .service import Service
|
|
|
|
|
|
class Container(containers.DeclarativeContainer):
|
|
|
|
config = providers.Configuration()
|
|
|
|
service = providers.Factory(Service)
|