python-dependency-injector/examples/miniapps/application-multiple-containers-runtime-overriding/example/services.py
2021-09-29 17:06:53 -04: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"}})