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

13 lines
283 B
Python

"""Main module."""
from .containers import Application
if __name__ == '__main__':
application = Application()
config = application.service.config()
config.build()
print(application.repository.site())
# Output: Adapter=[DB Path=[~/test]], queue=[Some storage]