From 35e60e1d473434a4d5f6e221361b9fb84aaf4577 Mon Sep 17 00:00:00 2001 From: Roman Mogylatov Date: Mon, 19 Oct 2020 16:11:21 -0400 Subject: [PATCH] Update docs --- docs/providers/provided_instance.rst | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/docs/providers/provided_instance.rst b/docs/providers/provided_instance.rst index 0bb7d664..f3be2a27 100644 --- a/docs/providers/provided_instance.rst +++ b/docs/providers/provided_instance.rst @@ -35,24 +35,4 @@ You can do nested constructions: :emphasize-lines: 26-32 :lines: 3- -The ``.provided`` attribute is available for the next providers: - -- :py:class:`Factory` and its subclasses -- :py:class:`Singleton` and its subclasses -- :py:class:`Callable` and its subclasses -- :py:class:`Object` -- :py:class:`List` -- :py:class:`Selector` -- :py:class:`Dependency` - -When you create a new provider subclass and want to implement the ``.provided`` attribute, you -should use the :py:class:`ProvidedInstance` provider. Add the ``.provided`` property -implementation to a new subclass: - -.. code-block:: python - - @property - def provided(self): - return ProvidedInstance(self) - .. disqus::