mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2025-05-23 05:56:19 +03:00
Add docs
This commit is contained in:
parent
1a8cf5d409
commit
6636fb4d37
|
@ -164,6 +164,17 @@ Loading from an environment variable
|
||||||
:lines: 3-
|
:lines: 3-
|
||||||
:emphasize-lines: 18-20
|
:emphasize-lines: 18-20
|
||||||
|
|
||||||
|
Loading a value
|
||||||
|
---------------
|
||||||
|
|
||||||
|
``Configuration`` provider can load configuration value using the
|
||||||
|
:py:meth:`Configuration.from_value` method:
|
||||||
|
|
||||||
|
.. literalinclude:: ../../examples/providers/configuration/configuration_value.py
|
||||||
|
:language: python
|
||||||
|
:lines: 3-
|
||||||
|
:emphasize-lines: 14-15
|
||||||
|
|
||||||
Loading from the multiple sources
|
Loading from the multiple sources
|
||||||
---------------------------------
|
---------------------------------
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user