LiveCheck https://pypi.org/project/aiohttp/ integration.

faust.livecheck.patches.aiohttp.patch_all() None[source]

Patch all https://pypi.org/project/aiohttp/ functions to integrate with LiveCheck.

Return type:


faust.livecheck.patches.aiohttp.patch_aiohttp_session() None[source]

Patch aiohttp.ClientSession to integrate with LiveCheck.

If there is any currently active test, we will use that to forward LiveCheck HTTP headers to the new HTTP request.

Return type:


class faust.livecheck.patches.aiohttp.LiveCheckMiddleware[source]

LiveCheck support for https://pypi.org/project/aiohttp/ web servers.

This middleware is applied to all incoming web requests, and is used to extract LiveCheck HTTP headers.

If the web request is configured with the correct set of LiveCheck headers, we will use that to set the “current test” context.