summary refs log tree commit diff
path: root/stubs/txredisapi.pyi
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2021-03-15 11:14:39 -0400
committerGitHub <noreply@github.com>2021-03-15 11:14:39 -0400
commitd29b71aa50f568c3b951b95f2ea3009292b95630 (patch)
tree716219dfb3531e33e99333f2f48131c968d5cec0 /stubs/txredisapi.pyi
parentDon't go into federation catch up mode so easily (#9561) (diff)
downloadsynapse-d29b71aa50f568c3b951b95f2ea3009292b95630.tar.xz
Fix remaining mypy issues due to Twisted upgrade. (#9608)
Diffstat (limited to 'stubs/txredisapi.pyi')
-rw-r--r--stubs/txredisapi.pyi2
1 files changed, 1 insertions, 1 deletions
diff --git a/stubs/txredisapi.pyi b/stubs/txredisapi.pyi
index 34787e0b1e..080ca40287 100644
--- a/stubs/txredisapi.pyi
+++ b/stubs/txredisapi.pyi
@@ -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(