mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2024-11-22 09:36:48 +03:00
Update providers module API docs
This commit is contained in:
parent
6e6cac380b
commit
7c3daf4c64
|
@ -29,7 +29,7 @@ class Provider(object):
|
|||
method is called every time when not overridden provider is called.
|
||||
|
||||
:py:class:`Provider` implements provider overriding logic that should be
|
||||
also common for all providers.
|
||||
also common for all providers:
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
|
@ -127,6 +127,9 @@ class Provider(object):
|
|||
def reset_last_overriding(self):
|
||||
"""Reset last overriding provider.
|
||||
|
||||
:raise: :py:exc:`dependency_injector.errors.Error` if provider is not
|
||||
overridden.
|
||||
|
||||
:rtype: None
|
||||
"""
|
||||
if not self.overridden_by:
|
||||
|
|
Loading…
Reference in New Issue
Block a user