0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-14 19:43:50 +01:00

Apply suggestions from code review

Fix docstring

Co-Authored-By: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
This commit is contained in:
Erik Johnston 2019-10-31 15:44:31 +01:00 committed by GitHub
parent d3f694d628
commit 64f2b8c3d8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -338,7 +338,8 @@ class StateGroupStorage(object):
the old and the new. the old and the new.
Returns: Returns:
(prev_group, delta_ids), where both may be None. Deferred[Tuple[Optional[int], Optional[list[dict[tuple[str, str], str]]]]]):
(prev_group, delta_ids)
""" """
return self.stores.main.get_state_group_delta(state_group) return self.stores.main.get_state_group_delta(state_group)