mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2025-01-31 03:36:41 +03:00
Bump version to 3.21.1
This commit is contained in:
parent
0c77e73d51
commit
5ada7f24dd
|
@ -113,6 +113,7 @@ Running such container looks like this:
|
||||||
"""Create and return Flask application."""
|
"""Create and return Flask application."""
|
||||||
container = ApplicationContainer()
|
container = ApplicationContainer()
|
||||||
container.config.from_yaml('config.yml')
|
container.config.from_yaml('config.yml')
|
||||||
|
container.config.github.auth_token.from_env('GITHUB_TOKEN')
|
||||||
|
|
||||||
app = container.app()
|
app = container.app()
|
||||||
app.container = container
|
app.container = container
|
||||||
|
|
|
@ -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.21.0
|
||||||
|
------
|
||||||
|
- Hotfix ``ghnav-flask`` example to read Github token from environment variable.
|
||||||
|
|
||||||
3.21.0
|
3.21.0
|
||||||
------
|
------
|
||||||
- Re-design ``Flask`` integration.
|
- Re-design ``Flask`` integration.
|
||||||
|
|
|
@ -7,6 +7,7 @@ def create_app():
|
||||||
"""Create and return Flask application."""
|
"""Create and return Flask application."""
|
||||||
container = ApplicationContainer()
|
container = ApplicationContainer()
|
||||||
container.config.from_yaml('config.yml')
|
container.config.from_yaml('config.yml')
|
||||||
|
container.config.github.auth_token.from_env('GITHUB_TOKEN')
|
||||||
|
|
||||||
app = container.app()
|
app = container.app()
|
||||||
app.container = container
|
app.container = container
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""Dependency injector top-level package."""
|
"""Dependency injector top-level package."""
|
||||||
|
|
||||||
__version__ = '3.21.0'
|
__version__ = '3.21.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