mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-02 10:36:04 -04:00
Add typing to SyncHandler (#6821)
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
This commit is contained in:
parent
ae5b3104f0
commit
b9391c9575
5 changed files with 377 additions and 345 deletions
|
@ -238,8 +238,11 @@ class RedactionTestCase(unittest.HomeserverTestCase):
|
|||
@defer.inlineCallbacks
|
||||
def build(self, prev_event_ids):
|
||||
built_event = yield self._base_builder.build(prev_event_ids)
|
||||
built_event.event_id = self._event_id
|
||||
|
||||
built_event._event_id = self._event_id
|
||||
built_event._event_dict["event_id"] = self._event_id
|
||||
assert built_event.event_id == self._event_id
|
||||
|
||||
return built_event
|
||||
|
||||
@property
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue