jetblack-asgi-typing
Just the types for ASGI.
Taken from asgiref and hypercorn.
Installation
From pypi.org
:
pip install jetblack-asgi-typing
Usage
from asgi_typing import (
Scope,
ASGIReceiveCallable,
ASGISendCallable
)
async def app(
scope: Scope,
receive: ASGIReceiveCallable,
send: ASGISendCallable
) -> None:
# Implement your ASGI application here.
pass