mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-07-15 10:31:04 +00:00
🚨 make linter happy (#2286)
This commit is contained in:
@ -75,7 +75,7 @@ class Mixin(ForwardMixin):
|
||||
@override
|
||||
@asynccontextmanager
|
||||
async def websocket(self, setup: Request) -> AsyncGenerator[WebSocket, None]:
|
||||
async with super(Mixin, self).websocket(setup) as ws:
|
||||
async with super().websocket(setup) as ws:
|
||||
yield ws
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user