mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2025-02-07 07:00:49 +03:00
Update docs on factory delegation
This commit is contained in:
parent
a22373a68d
commit
e4580b7849
|
@ -80,6 +80,9 @@ Actually, there are three ways for creating factory delegates:
|
|||
:py:class:`Delegate` provider.
|
||||
+ ``Factory(...).delegate()`` - calling factory :py:meth:`Factory.delegate`
|
||||
method, that returns delegate wrapper for current factory.
|
||||
+ ``Factory(...).provider`` - getting factory :py:attr:`Factory.provider`
|
||||
attribute, that returns delegate wrapper for current factory (alias of
|
||||
``Factory(...).delegate()`` method).
|
||||
|
||||
Example:
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user