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