mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2024-11-23 10:03:56 +03:00
16 lines
262 B
ReStructuredText
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::
|