Skip to content

Add ASGI BASED Middleware #348

@bensarifathi

Description

@bensarifathi
Note: consider using Discussions to open a conversation about new features…

🚀 Feature Request
am trying to use this library https://github.com/melvinkcx/fastapi-events which use an ASGI middleware and when i tryed to add this middleware to my app i got the following error:
AttributeError: 'EventHandlerASGIMiddleware' object has no attribute '__qualname__'

Middleware call signature: async def __call__(self, scope: Scope, receive: Receive, send: Send) -> None:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions