python-dependency-injector/docs/providers/index.rst

28 lines
699 B
ReStructuredText
Raw Normal View History

2015-06-10 09:53:15 +03:00
Providers
=========
Providers are strategies of accessing objects. They describe how particular
objects are provided.
2015-06-10 09:53:15 +03:00
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.
2015-06-10 09:53:15 +03:00
2015-09-04 02:33:15 +03:00
All providers are validated in multithreading environment and considered to
be thread safe.
2015-09-04 02:33:15 +03:00
2015-06-10 09:53:15 +03:00
.. toctree::
:maxdepth: 2
2015-06-16 10:37:57 +03:00
factory
singleton
static
2015-07-16 00:48:30 +03:00
callable
external_dependency
2015-07-21 09:57:13 +03:00
overriding
custom