python-dependency-injector/docs/providers/object.rst

13 lines
247 B
ReStructuredText
Raw Normal View History

2016-06-09 17:49:09 +03:00
Object providers
----------------
.. currentmodule:: dependency_injector.providers
:py:class:`Object` provider returns provided instance "as is"
Example:
.. literalinclude:: ../../examples/providers/object.py
:language: python
:linenos: