mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2024-12-01 22:14:04 +03:00
Update provider docs index page
This commit is contained in:
parent
c5518e0ec3
commit
b5337fefa6
|
@ -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%
|
||||||
|
|
Loading…
Reference in New Issue
Block a user