python-dependency-injector/examples/miniapps/application-multiple-containers-runtime-overriding
2021-02-18 17:49:39 -05:00
..
example Add new multiple containers example 2021-02-18 17:49:39 -05:00
README.rst Add new multiple containers example 2021-02-18 17:49:39 -05:00

Application example (multiple containers, runtime config overriding)
====================================================================

This example demonstrates how to build application from multiple containers
and override one container config from another one in the runtime.

Run:

.. code-block:: bash

   python -m example

You should see:

.. code-block:: bash

   Adapter=[DB Path=[~/test]], queue=[Some storage]