python-dependency-injector/docs/providers/object.rst
2017-02-28 22:07:12 +02:00

16 lines
262 B
ReStructuredText

Object providers
----------------
.. currentmodule:: dependency_injector.providers
:py:class:`Object` provider returns provided instance "as is".
Example:
.. literalinclude:: ../../examples/providers/object.py
:language: python
:linenos:
.. disqus::