mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2024-11-22 17:47:02 +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.
|
||||||
|
|
|
@ -122,7 +122,7 @@ Now it's time to install the project requirements. We will use next packages:
|
||||||
- ``aiohttp-devtools`` - the helper library that will provide a development server with live
|
- ``aiohttp-devtools`` - the helper library that will provide a development server with live
|
||||||
reloading
|
reloading
|
||||||
- ``pyyaml`` - the YAML files parsing library, used for the reading of the configuration files
|
- ``pyyaml`` - the YAML files parsing library, used for the reading of the configuration files
|
||||||
- ``pytest-aiohttp``- the helper library for the testing of the ``aiohttp`` application
|
- ``pytest-aiohttp`` - the helper library for the testing of the ``aiohttp`` application
|
||||||
- ``pytest-cov`` - the helper library for measuring the test coverage
|
- ``pytest-cov`` - the helper library for measuring the test coverage
|
||||||
|
|
||||||
Put next lines into the ``requirements.txt`` file:
|
Put next lines into the ``requirements.txt`` 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')
|
||||||
|
|
|
@ -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