mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2024-11-22 17:47:02 +03:00
6eff213a68
* Add bootstrap and remove created at from ghnav-flask app * Update readme * Add logo to the docs * Update key features description * Update README * Change headers of API docs * Add alabaster theme config * Update docs index * Add tutorials section * Update what is DI page * Update DI in Python page * Update tutorials index page * Update provider docs * Update container docs * Update examples docs
15 lines
249 B
ReStructuredText
15 lines
249 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
|
|
|
|
|
|
.. disqus::
|