cachedList descriptor doesn't like typing

pull/6159/head
Erik Johnston 2019-10-03 17:23:11 +01:00
parent 0ccf0ffc85
commit d89ebf7c25
1 changed files with 2 additions and 2 deletions

View File

@ -592,11 +592,11 @@ class RoomMemberWorkerStore(EventsWorkerStore):
list_name="event_ids", list_name="event_ids",
inlineCallbacks=True, inlineCallbacks=True,
) )
def _get_membership_from_event_ids(self, event_ids: Iterable[str]): def _get_membership_from_event_ids(self, event_ids):
"""Lookup profile info for set of member event IDs. """Lookup profile info for set of member event IDs.
Args: Args:
event_ids: The member event IDs to lookup event_ids (Iterable[str]): The member event IDs to lookup
Returns: Returns:
Deferred[dict[str, Tuple[str, ProfileInfo]|None]]: Map from event ID Deferred[dict[str, Tuple[str, ProfileInfo]|None]]: Map from event ID