diff options
author | Erik Johnston <erik@matrix.org> | 2019-10-31 15:44:31 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-31 15:44:31 +0100 |
commit | 64f2b8c3d8672273bf173cc125e339a297e5a29a (patch) | |
tree | 62f626d34bce775ae8b895ff6c521211b965b44f | |
parent | Newsfile (diff) | |
download | synapse-64f2b8c3d8672273bf173cc125e339a297e5a29a.tar.xz |
Apply suggestions from code review
Fix docstring Co-Authored-By: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
Diffstat (limited to '')
-rw-r--r-- | synapse/storage/state.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/storage/state.py b/synapse/storage/state.py index b382a06dcc..3735846899 100644 --- a/synapse/storage/state.py +++ b/synapse/storage/state.py @@ -338,7 +338,8 @@ class StateGroupStorage(object): the old and the new. 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) |