From 0c330423bcb26b2227f7d58749bfa176830c10ec Mon Sep 17 00:00:00 2001 From: Patrick Cloke Date: Wed, 3 Mar 2021 07:19:19 -0500 Subject: Bump the mypy and mypy-zope versions. (#9529) --- synapse/replication/tcp/streams/_base.py | 2 +- synapse/storage/roommember.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'synapse') diff --git a/synapse/replication/tcp/streams/_base.py b/synapse/replication/tcp/streams/_base.py index 38809b5b7c..f45e7a8c89 100644 --- a/synapse/replication/tcp/streams/_base.py +++ b/synapse/replication/tcp/streams/_base.py @@ -502,7 +502,7 @@ class AccountDataStream(Stream): """Global or per room account data was changed""" AccountDataStreamRow = namedtuple( - "AccountDataStream", + "AccountDataStreamRow", ("user_id", "room_id", "data_type"), # str # Optional[str] # str ) diff --git a/synapse/storage/roommember.py b/synapse/storage/roommember.py index f152f63321..d2ff4da6b9 100644 --- a/synapse/storage/roommember.py +++ b/synapse/storage/roommember.py @@ -25,7 +25,7 @@ RoomsForUser = namedtuple( ) GetRoomsForUserWithStreamOrdering = namedtuple( - "_GetRoomsForUserWithStreamOrdering", ("room_id", "event_pos") + "GetRoomsForUserWithStreamOrdering", ("room_id", "event_pos") ) -- cgit 1.4.1