Update index page

This commit is contained in:
Roman Mogylatov 2020-08-19 21:05:14 -04:00
parent f83d8ce143
commit 7bdf57da9c

View File

@ -3,16 +3,16 @@
Providers Providers
========= =========
Providers are strategies of accessing objects. They define how particular Providers help you to define how objects are created. They manage objects lifetime and their
objects are provided. dependencies.
Every provider is callable (implements ``__call__()``). Every call to provider Each provider is a callable. You call the provider like a function when you need to create an
instance returns provided result, according to the providing strategy of object or call a function. Provider calls all dependent providers to retrieve the dependencies
particular provider. and injects them.
Current documentation section consists from description of standard providers Any of the providers can be overridden by another provider. When provider is overridden it calls
library and some useful information like overriding of providers and writing to the overriding provider. This helps in testing or overriding API clients with stubs for dev or
of custom providers. stage environment.
Providers package API docs - :py:mod:`dependency_injector.providers` Providers package API docs - :py:mod:`dependency_injector.providers`