middleware type
linpan opened this issue · 0 comments
linpan commented
Privileged issue
- I'm @tiangolo or he asked me directly to create an issue here.
Issue Content
app.add_middleware(GZipMiddleware), pycharm 2023.3.5, will tooltip:: Expected type 'Type[_MiddlewareClass]' (matched generic type 'Type[_MiddlewareClass[ParamSpec("P")]]'), got 'Type[GZipMiddleware]' instead