mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2024-11-25 19:14:00 +03:00
1bfa0be26b
Add minor documentation fixes
28 lines
699 B
ReStructuredText
28 lines
699 B
ReStructuredText
Providers
|
|
=========
|
|
|
|
Providers are strategies of accessing objects. They describe how particular
|
|
objects are provided.
|
|
|
|
Every provider is callable (implements ``__call__()``). Every call to provider
|
|
instance returns provided result, according to the providing strategy of
|
|
particular provider.
|
|
|
|
Current documentation section consists from description of standard providers
|
|
library and some useful information like overriding of providers and writing
|
|
custom providers.
|
|
|
|
All providers are validated in multithreading environment and considered to
|
|
be thread safe.
|
|
|
|
.. toctree::
|
|
:maxdepth: 2
|
|
|
|
factory
|
|
singleton
|
|
static
|
|
callable
|
|
external_dependency
|
|
overriding
|
|
custom
|