BlackSheep icon indicating copy to clipboard operation
BlackSheep copied to clipboard

Add ASGI BASED Middleware

Open bensarifathi opened this issue 1 year ago • 2 comments

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:

bensarifathi avatar May 02 '23 18:05 bensarifathi