1
0

Iterate on types

This commit is contained in:
David Baker
2025-03-31 15:26:11 +01:00
parent 9ba2c7030b
commit 1676fa787f
2 changed files with 2 additions and 2 deletions

View File

@@ -748,7 +748,7 @@ class SlidingSyncRoomLists:
# Filtered subset of `relevant_room_map` for rooms that may have updates
# (in the event stream)
relevant_rooms_to_send_map: Dict[str, RoomSyncConfig] = relevant_room_map
relevant_rooms_to_send_map: Mapping[str, RoomSyncConfig] = relevant_room_map
if relevant_room_map:
with start_active_span("filter_relevant_rooms_to_send"):
if from_token:

View File

@@ -200,7 +200,7 @@ class SlidingSyncResult:
joined_count: Optional[int]
invited_count: Optional[int]
notif_counts: RoomNotifCounts
room_receipts: Sequence[ReceiptInRoom]
room_receipts: Optional[Sequence[ReceiptInRoom]]
def __bool__(self) -> bool:
return (