0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-08-13 14:24:41 +02:00
This commit is contained in:
Erik Johnston 2017-06-09 16:25:42 +01:00
parent e54d7d536e
commit b0d975e216

View file

@ -31,6 +31,9 @@ MAX_STATE_DELTA_HOPS = 100
class _GetStateGroupDelta(namedtuple("_GetStateGroupDelta", ("prev_group", "delta_ids"))):
"""Return type of get_state_group_delta that implements __len__, which lets
us use the itrable flag when caching
"""
__slots__ = []
def __len__(self):