Add reference to provider overriding page

This commit is contained in:
Roman Mogylatov 2020-09-02 17:25:20 -04:00
parent f8648adaf7
commit 3eb7b9bc69
2 changed files with 3 additions and 1 deletions

View File

@ -26,7 +26,7 @@ It causes the cascade effect that helps to assemble object graphs.
Another providers feature is an overriding. Any of the providers can be overridden by another Another providers feature is an overriding. Any of the providers can be overridden by another
provider. When provider is overridden it calls to the overriding provider instead of providing provider. When provider is overridden it calls to the overriding provider instead of providing
the object by its own. This helps in testing. This also helps in overriding API clients with the object by its own. This helps in testing. This also helps in overriding API clients with
stubs for the development or staging environment. stubs for the development or staging environment. See the example at :ref:`provider-overriding`.
Providers module API docs - :py:mod:`dependency_injector.providers` Providers module API docs - :py:mod:`dependency_injector.providers`

View File

@ -1,3 +1,5 @@
.. _provider-overriding:
Provider overriding Provider overriding
=================== ===================