Merge branch 'release/3.35.1' into master

This commit is contained in:
Roman Mogylatov 2020-09-01 21:58:30 -04:00
commit dcc59ab0f4
6 changed files with 11 additions and 6 deletions

View File

@ -7,6 +7,10 @@ that were made in every particular version.
From version 0.7.6 *Dependency Injector* framework strictly
follows `Semantic versioning`_
3.35.1
------
- Fix minor issues in the providers documentation and examples.
3.35.0
------
- Update documentation and rework examples for: ``Singleton``, ``Callable``, ``Coroutine``,

View File

@ -78,7 +78,7 @@ all the classes and use special double-underscore ``__`` syntax for passing the
When you use ``__`` separator in the name of the keyword argument the ``Factory`` looks for
the dependency with the same name as the left part of the ``__`` expression.
.. code-block::
.. code-block:: none
<dependency>__<keyword for the underlying provider>=<value>

View File

@ -1,7 +1,7 @@
.. _selector-provider:
Selector providers
------------------
Selector provider
-----------------
.. meta::
:keywords: Python,DI,Dependency injection,IoC,Inversion of Control,Configuration,Injection,

View File

@ -78,7 +78,7 @@ needed.
The output should look like this (each request a ``Service`` object has a different address):
.. code-block::
.. code-block:: bash
* Serving Flask app "singleton_scoped" (lazy loading)
* Environment: production

View File

@ -1,4 +1,4 @@
"""`Singleton` - flask request scope example."""
"""`Singleton` - Flask request scope example."""
from dependency_injector import providers
from flask import Flask
@ -28,5 +28,6 @@ app = Flask(__name__)
app.add_url_rule('/', 'index', view_func=index_view)
app.after_request(teardown_context)
if __name__ == '__main__':
app.run()

View File

@ -1,6 +1,6 @@
"""Dependency injector top-level package."""
__version__ = '3.35.0'
__version__ = '3.35.1'
"""Version number that follows semantic versioning.
:type: str