File tree Expand file tree Collapse file tree 4 files changed +7
-3
lines changed Expand file tree Collapse file tree 4 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -152,7 +152,7 @@ framework:
152
152
api_client = providers.Singleton(
153
153
ApiClient,
154
154
api_key = config.api_key,
155
- timeout = config.timeout,
155
+ timeout = config.timeout.as_int() ,
156
156
)
157
157
158
158
service = providers.Factory(
Original file line number Diff line number Diff line change @@ -7,6 +7,10 @@ that were made in every particular version.
7
7
From version 0.7.6 *Dependency Injector * framework strictly
8
8
follows `Semantic versioning `_
9
9
10
+ 3.32.1
11
+ ------
12
+ - Update DI Demo 2 example and READ to make typed configuration option injection.
13
+
10
14
3.32.0
11
15
------
12
16
- Add a feature that helps to explicitly specify the type of the configuration option value
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ class Container(containers.DeclarativeContainer):
21
21
api_client = providers .Singleton (
22
22
ApiClient ,
23
23
api_key = config .api_key ,
24
- timeout = config .timeout ,
24
+ timeout = config .timeout . as_int () ,
25
25
)
26
26
27
27
service = providers .Factory (
Original file line number Diff line number Diff line change 1
1
"""Dependency injector top-level package."""
2
2
3
- __version__ = '3.32.0 '
3
+ __version__ = '3.32.1 '
4
4
"""Version number that follows semantic versioning.
5
5
6
6
:type: str
You can’t perform that action at this time.
0 commit comments