Skip to content

Commit 6ba3c74

Browse files
committed
Formatting.
1 parent 12830b6 commit 6ba3c74

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

aiohttp_aiofiles_tutorial/__init__.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@ async def init_script():
2020
await outfile.write("title,description,primary_tag,url,published_at\n")
2121
await execute_fetcher_tasks(outfile)
2222
await outfile.close()
23-
LOGGER.success(
24-
f"Executed {__name__} in {time.perf_counter() - start_time:0.2f} seconds."
25-
)
23+
LOGGER.success(f"Executed {__name__} in {time.perf_counter() - start_time:0.2f} seconds.")
2624

2725

2826
async def execute_fetcher_tasks(outfile: AsyncIOFile):

aiohttp_aiofiles_tutorial/tasks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ async def create_tasks(
1313
session: ClientSession, urls: List[str], outfile: AsyncIOFile
1414
) -> List[Task]:
1515
"""
16-
Create asyncio tasks to execute the `fetch_url_and_save_title` coroutine.
16+
Create asyncio tasks to parse HTTP request responses.
1717
1818
:param ClientSession session: Async HTTP requests session.
1919
:param List[str] urls: Resource URLs to fetch.

0 commit comments

Comments
 (0)