mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2025-02-07 07:00:49 +03:00
Update providers index docs page
This commit is contained in:
parent
dcf247ad3e
commit
8d0b82cf36
|
@ -4,17 +4,21 @@ Providers
|
||||||
Providers are strategies of accessing objects. They describe how particular
|
Providers are strategies of accessing objects. They describe how particular
|
||||||
objects are provided.
|
objects are provided.
|
||||||
|
|
||||||
|
Base providers class is - :py:class:`dependency_injector.providers.Provider`
|
||||||
|
|
||||||
Every provider is callable (implements ``__call__()``). Every call to provider
|
Every provider is callable (implements ``__call__()``). Every call to provider
|
||||||
instance returns provided result, according to the providing strategy of
|
instance returns provided result, according to the providing strategy of
|
||||||
particular provider.
|
particular provider.
|
||||||
|
|
||||||
Current documentation section consists from description of standard providers
|
Current documentation section consists from description of standard providers
|
||||||
library and some useful information like overriding of providers and writing
|
library and some useful information like overriding of providers and writing
|
||||||
custom providers.
|
of custom providers.
|
||||||
|
|
||||||
All providers are validated in multithreading environment and considered to
|
All providers are validated in multithreading environment and considered to
|
||||||
be thread safe.
|
be thread safe.
|
||||||
|
|
||||||
|
Providers module API docs - :py:mod:`dependency_injector.providers`
|
||||||
|
|
||||||
.. toctree::
|
.. toctree::
|
||||||
:maxdepth: 2
|
:maxdepth: 2
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user