Skip to content

Commit 2b30e17

Browse files
committed
Merge branch 'release/3.32.1' into master
2 parents 0f952b5 + 3f94a90 commit 2b30e17

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ framework:
152152
api_client = providers.Singleton(
153153
ApiClient,
154154
api_key=config.api_key,
155-
timeout=config.timeout,
155+
timeout=config.timeout.as_int(),
156156
)
157157
158158
service = providers.Factory(

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.32.1
11+
------
12+
- Update DI Demo 2 example and READ to make typed configuration option injection.
13+
1014
3.32.0
1115
------
1216
- Add a feature that helps to explicitly specify the type of the configuration option value

examples/di_demo2/demo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class Container(containers.DeclarativeContainer):
2121
api_client = providers.Singleton(
2222
ApiClient,
2323
api_key=config.api_key,
24-
timeout=config.timeout,
24+
timeout=config.timeout.as_int(),
2525
)
2626

2727
service = providers.Factory(

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.32.0'
3+
__version__ = '3.32.1'
44
"""Version number that follows semantic versioning.
55
66
:type: str

0 commit comments

Comments
 (0)