Fix typos in aiohttp tutorial

This commit is contained in:
Roman Mogylatov 2020-07-30 13:52:42 -04:00
parent 299a7bca89
commit 45e6b943f6
2 changed files with 4 additions and 4 deletions

View File

@ -223,7 +223,7 @@ Put next into the ``application.py``:
def create_app():
"""Create and return Flask application."""
"""Create and return aiohttp application."""
container = ApplicationContainer()
app: web.Application = container.app()
@ -426,7 +426,7 @@ Edit ``application.py``:
def create_app():
"""Create and return Flask application."""
"""Create and return aiohttp application."""
container = ApplicationContainer()
container.config.from_yaml('config.yml')
container.config.giphy.api_key.from_env('GIPHY_API_KEY')

View File

@ -6,7 +6,7 @@ from .containers import ApplicationContainer
def create_app():
"""Create and return Flask application."""
"""Create and return aiohttp application."""
container = ApplicationContainer()
container.config.from_yaml('config.yml')
container.config.giphy.api_key.from_env('GIPHY_API_KEY')