Share via


AsyncSession Class

A wrapper around aiohttp.ClientSession that can be used as an async context manager.

Initializes a new instance of the AsyncSession class.

Constructor

AsyncSession(session: ClientSession = None)

Parameters

Name Description
session
Default value: None