jetblack-asgi-typing

Just the types for ASGI


License
Apache-2.0
Install
pip install jetblack-asgi-typing==0.4.0

Documentation

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