Update provider docs index page

This commit is contained in:
Roman Mogilatov 2016-06-09 01:46:32 +03:00
parent c5518e0ec3
commit b5337fefa6

View File

@ -4,8 +4,6 @@ Providers
Providers are strategies of accessing objects. They define how particular Providers are strategies of accessing objects. They define 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.
@ -17,9 +15,9 @@ 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` + Base providers class is: :py:class:`dependency_injector.providers.Provider`
+ Providers module API docs: :py:mod:`dependency_injector.providers`
Providers class diagram: + Providers class diagram:
.. image:: /images/providers/providers_class_diagram.png .. image:: /images/providers/providers_class_diagram.png
:width: 100% :width: 100%