Skip to content

Commit dcc59ab

Browse files
committed
Merge branch 'release/3.35.1' into master
2 parents 89fec6c + 806bd31 commit dcc59ab

File tree

6 files changed

+11
-6
lines changed

6 files changed

+11
-6
lines changed

docs/main/changelog.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ that were made in every particular version.
77
From version 0.7.6 *Dependency Injector* framework strictly
88
follows `Semantic versioning`_
99

10+
3.35.1
11+
------
12+
- Fix minor issues in the providers documentation and examples.
13+
1014
3.35.0
1115
------
1216
- Update documentation and rework examples for: ``Singleton``, ``Callable``, ``Coroutine``,

docs/providers/factory.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ all the classes and use special double-underscore ``__`` syntax for passing the
7878
When you use ``__`` separator in the name of the keyword argument the ``Factory`` looks for
7979
the dependency with the same name as the left part of the ``__`` expression.
8080

81-
.. code-block::
81+
.. code-block:: none
8282
8383
<dependency>__<keyword for the underlying provider>=<value>
8484

docs/providers/selector.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.. _selector-provider:
22

3-
Selector providers
4-
------------------
3+
Selector provider
4+
-----------------
55

66
.. meta::
77
:keywords: Python,DI,Dependency injection,IoC,Inversion of Control,Configuration,Injection,

docs/providers/singleton.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ needed.
7878

7979
The output should look like this (each request a ``Service`` object has a different address):
8080

81-
.. code-block::
81+
.. code-block:: bash
8282
8383
* Serving Flask app "singleton_scoped" (lazy loading)
8484
* Environment: production

examples/providers/singleton_scoped.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""`Singleton` - flask request scope example."""
1+
"""`Singleton` - Flask request scope example."""
22

33
from dependency_injector import providers
44
from flask import Flask
@@ -28,5 +28,6 @@ def teardown_context(request):
2828
app.add_url_rule('/', 'index', view_func=index_view)
2929
app.after_request(teardown_context)
3030

31+
3132
if __name__ == '__main__':
3233
app.run()

src/dependency_injector/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""Dependency injector top-level package."""
22

3-
__version__ = '3.35.0'
3+
__version__ = '3.35.1'
44
"""Version number that follows semantic versioning.
55
66
:type: str

0 commit comments

Comments
 (0)