Skip to main content

prefect_kubernetes.utilities

Utilities for working with the Python Kubernetes API.

Classes

KeepAliveClientRequest

aiohttp only directly implements socket keepalive for incoming connections in its RequestHandler. For client connections, we need to set the keepalive ourselves. Refer to https://github.com/aio-libs/aiohttp/issues/3904#issuecomment-759205696 Methods:

send

send(self, conn: Connection) -> ClientResponse