mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2024-11-26 11:33:58 +03:00
Merge branch 'release/3.25.1' into master
This commit is contained in:
commit
459ff5fcf5
|
@ -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.25.1
|
||||||
|
------
|
||||||
|
- Fix ``aiohttp`` tutorial typos.
|
||||||
|
|
||||||
3.25.0
|
3.25.0
|
||||||
------
|
------
|
||||||
- Add ``aiohttp`` tutorial.
|
- Add ``aiohttp`` tutorial.
|
||||||
|
|
|
@ -223,7 +223,7 @@ Put next into the ``application.py``:
|
||||||
|
|
||||||
|
|
||||||
def create_app():
|
def create_app():
|
||||||
"""Create and return Flask application."""
|
"""Create and return aiohttp application."""
|
||||||
container = ApplicationContainer()
|
container = ApplicationContainer()
|
||||||
|
|
||||||
app: web.Application = container.app()
|
app: web.Application = container.app()
|
||||||
|
@ -426,7 +426,7 @@ Edit ``application.py``:
|
||||||
|
|
||||||
|
|
||||||
def create_app():
|
def create_app():
|
||||||
"""Create and return Flask application."""
|
"""Create and return aiohttp application."""
|
||||||
container = ApplicationContainer()
|
container = ApplicationContainer()
|
||||||
container.config.from_yaml('config.yml')
|
container.config.from_yaml('config.yml')
|
||||||
container.config.giphy.api_key.from_env('GIPHY_API_KEY')
|
container.config.giphy.api_key.from_env('GIPHY_API_KEY')
|
||||||
|
|
|
@ -6,7 +6,7 @@ from .containers import ApplicationContainer
|
||||||
|
|
||||||
|
|
||||||
def create_app():
|
def create_app():
|
||||||
"""Create and return Flask application."""
|
"""Create and return aiohttp application."""
|
||||||
container = ApplicationContainer()
|
container = ApplicationContainer()
|
||||||
container.config.from_yaml('config.yml')
|
container.config.from_yaml('config.yml')
|
||||||
container.config.giphy.api_key.from_env('GIPHY_API_KEY')
|
container.config.giphy.api_key.from_env('GIPHY_API_KEY')
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""Dependency injector top-level package."""
|
"""Dependency injector top-level package."""
|
||||||
|
|
||||||
__version__ = '3.25.0'
|
__version__ = '3.25.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