mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-08-03 16:04:12 -04:00
Add some type hints to event_federation
datastore (#12753)
Co-authored-by: David Robertson <david.m.robertson1@gmail.com>
This commit is contained in:
parent
682431efbe
commit
50ae4eafe1
5 changed files with 127 additions and 65 deletions
|
@ -332,6 +332,7 @@ class FederationTestCase(unittest.FederatingHomeserverTestCase):
|
|||
most_recent_prev_event_depth,
|
||||
) = self.get_success(self.store.get_max_depth_of(prev_event_ids))
|
||||
# mapping from (type, state_key) -> state_event_id
|
||||
assert most_recent_prev_event_id is not None
|
||||
prev_state_map = self.get_success(
|
||||
self.state_store.get_state_ids_for_event(most_recent_prev_event_id)
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue