Skip to content

Should remove asgiref run-time dependency #1178

@wch

Description

@wch

The asgiref package is used only for types in

from asgiref.typing import (
ASGI3Application,
ASGIReceiveCallable,
ASGISendCallable,
ASGISendEvent,
HTTPResponseStartEvent,
Scope,
)

Since it's not used for anything at run-time, we should remove the run-time dependency and also only import in that file if TYPE_CHECKING.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions