mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2025-05-22 21:46:17 +03:00
Add docs
This commit is contained in:
parent
1a8cf5d409
commit
6636fb4d37
|
@ -164,6 +164,17 @@ Loading from an environment variable
|
|||
:lines: 3-
|
||||
: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…
Reference in New Issue
Block a user