diff --git a/docs/tutorials/aiohttp.rst b/docs/tutorials/aiohttp.rst index 7b845ab5..8f278b6f 100644 --- a/docs/tutorials/aiohttp.rst +++ b/docs/tutorials/aiohttp.rst @@ -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 reloading - ``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 Put next lines into the ``requirements.txt`` 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') diff --git a/examples/miniapps/giphynav-aiohttp/giphynavigator/application.py b/examples/miniapps/giphynav-aiohttp/giphynavigator/application.py index 0a9b0e70..0e446ab4 100644 --- a/examples/miniapps/giphynav-aiohttp/giphynavigator/application.py +++ b/examples/miniapps/giphynav-aiohttp/giphynavigator/application.py @@ -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')