mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2025-11-05 02:17:41 +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)
|