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

15 lines
249 B
ReStructuredText
Raw Normal View History

2016-06-09 14:49:09 +00:00
Object providers
----------------
.. currentmodule:: dependency_injector.providers
2017-01-29 21:05:56 +00:00
:py:class:`Object` provider returns provided instance "as is".
2016-06-09 14:49:09 +00:00
Example:
.. literalinclude:: ../../examples/providers/object.py
:language: python
.. disqus::