mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2024-11-22 09:36:48 +03:00
Merge branch 'release/3.32.1' into master
This commit is contained in:
commit
2b30e172d1
|
@ -152,7 +152,7 @@ framework:
|
||||||
api_client = providers.Singleton(
|
api_client = providers.Singleton(
|
||||||
ApiClient,
|
ApiClient,
|
||||||
api_key=config.api_key,
|
api_key=config.api_key,
|
||||||
timeout=config.timeout,
|
timeout=config.timeout.as_int(),
|
||||||
)
|
)
|
||||||
|
|
||||||
service = providers.Factory(
|
service = providers.Factory(
|
||||||
|
|
|
@ -7,6 +7,10 @@ that were made in every particular version.
|
||||||
From version 0.7.6 *Dependency Injector* framework strictly
|
From version 0.7.6 *Dependency Injector* framework strictly
|
||||||
follows `Semantic versioning`_
|
follows `Semantic versioning`_
|
||||||
|
|
||||||
|
3.32.1
|
||||||
|
------
|
||||||
|
- Update DI Demo 2 example and READ to make typed configuration option injection.
|
||||||
|
|
||||||
3.32.0
|
3.32.0
|
||||||
------
|
------
|
||||||
- Add a feature that helps to explicitly specify the type of the configuration option value
|
- Add a feature that helps to explicitly specify the type of the configuration option value
|
||||||
|
|
|
@ -21,7 +21,7 @@ class Container(containers.DeclarativeContainer):
|
||||||
api_client = providers.Singleton(
|
api_client = providers.Singleton(
|
||||||
ApiClient,
|
ApiClient,
|
||||||
api_key=config.api_key,
|
api_key=config.api_key,
|
||||||
timeout=config.timeout,
|
timeout=config.timeout.as_int(),
|
||||||
)
|
)
|
||||||
|
|
||||||
service = providers.Factory(
|
service = providers.Factory(
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""Dependency injector top-level package."""
|
"""Dependency injector top-level package."""
|
||||||
|
|
||||||
__version__ = '3.32.0'
|
__version__ = '3.32.1'
|
||||||
"""Version number that follows semantic versioning.
|
"""Version number that follows semantic versioning.
|
||||||
|
|
||||||
:type: str
|
:type: str
|
||||||
|
|
Loading…
Reference in New Issue
Block a user