mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2024-11-22 17:47:02 +03:00
1674cecc8d
* Add a piece of the tutorial * Add "Make it pretty" tutorial step * Add section about github client setup * Make minor fixes * Add search service section + table of contents * Make various fixes * Make more fixes * Update make the search section * Update ghnav-flask example & README * Update base.html markup * Finish section: Make the search work * Update ghnav-flask screenshot * Update tutorials * Add flaks tutorial link to the DI in Python page
33 lines
737 B
ReStructuredText
33 lines
737 B
ReStructuredText
.. _providers:
|
|
|
|
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
|
|
configuration
|
|
selector
|
|
dependency
|
|
overriding
|
|
custom
|