mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2024-12-01 05:53:59 +03:00
18 lines
424 B
ReStructuredText
18 lines
424 B
ReStructuredText
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]
|