python-dependency-injector/examples/miniapps/application-multiple-containers-runtime-overriding/example/services.py
2021-02-18 17:49:39 -05:00

10 lines
197 B
Python

"""Services module."""
class ConfigService:
def __init__(self, config):
self._config = config
def build(self):
self._config.from_dict({'default': {'db_path': '~/test'}})