Fix remaining mypy issues due to Twisted upgrade. (#9608)
This commit is contained in:
@@ -19,7 +19,7 @@ from typing import Any, List, Optional, Type, Union
|
||||
|
||||
from twisted.internet import protocol
|
||||
|
||||
class RedisProtocol:
|
||||
class RedisProtocol(protocol.Protocol):
|
||||
def publish(self, channel: str, message: bytes): ...
|
||||
async def ping(self) -> None: ...
|
||||
async def set(
|
||||
|
||||
Reference in New Issue
Block a user