Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit 85a8086

Browse files
author
David Robertson
committed
Add annotation which would have caught #12410
Can't use `args: QueryParams` here because QueryParams is a Mapping, which is immutable.
1 parent 8e0267f commit 85a8086

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

synapse/federation/transport/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ async def get_public_rooms(
504504
else:
505505
path = _create_v1_path("/publicRooms")
506506

507-
args: Dict[str, Any] = {
507+
args: Dict[str, Union[str, Iterable[str]]] = {
508508
"include_all_networks": "true" if include_all_networks else "false"
509509
}
510510
if third_party_instance_id:

0 commit comments

Comments
 (0)