Merge branch 'release/3.25.1' into master

This commit is contained in:
Roman Mogylatov 2020-07-30 13:53:58 -04:00
commit 459ff5fcf5
4 changed files with 9 additions and 5 deletions

View File

@ -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.

View File

@ -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')

View File

@ -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')

View File

@ -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