python-dependency-injector/docs/providers/index.rst
Roman Mogylatov 2beafb9a51
List provider (#251)
* Add List provider

* Add List provider example

* Add List provider unit tests

* Add docs

* Upstream changes from develop

* Update API docs

* Update unit tests

* Add support of positional context argument injections

* Update changelog
2020-06-14 17:32:12 -04:00

29 lines
690 B
ReStructuredText

Providers
=========
Providers are strategies of accessing objects. They define 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
of custom providers.
Providers package API docs - :py:mod:`dependency_injector.providers`
.. toctree::
:maxdepth: 2
factory
singleton
callable
coroutine
object
list
dependency
overriding
custom