18 lines
462 B
ReStructuredText
18 lines
462 B
ReStructuredText
Object provider
|
|
---------------
|
|
|
|
.. meta::
|
|
:keywords: Python,DI,Dependency injection,IoC,Inversion of Control,Object
|
|
:description: Object provider provides an object "as is". This page demonstrates how to use an
|
|
Object provider.
|
|
|
|
.. currentmodule:: dependency_injector.providers
|
|
|
|
:py:class:`Object` provider returns an object "as is".
|
|
|
|
.. literalinclude:: ../../examples/providers/object.py
|
|
:language: python
|
|
:lines: 3-
|
|
|
|
.. disqus::
|