Skip to content

Commit 73e5112

Browse files
committed
Update docs on factory delegation
1 parent be65996 commit 73e5112

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/providers/factory.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,9 @@ Actually, there are three ways for creating factory delegates:
8080
:py:class:`Delegate` provider.
8181
+ ``Factory(...).delegate()`` - calling factory :py:meth:`Factory.delegate`
8282
method, that returns delegate wrapper for current factory.
83+
+ ``Factory(...).provider`` - getting factory :py:attr:`Factory.provider`
84+
attribute, that returns delegate wrapper for current factory (alias of
85+
``Factory(...).delegate()`` method).
8386

8487
Example:
8588

0 commit comments

Comments
 (0)