diff options
author | Erik Johnston <erikj@element.io> | 2024-01-05 13:29:00 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-05 13:29:00 +0000 |
commit | 81b1c562884f6d126721a3afe3eccb7460f799a6 (patch) | |
tree | 19261769c26c8f8c56a7a36a16bc626fac713f54 /synapse | |
parent | Simplify internal metadata class. (#16762) (diff) | |
download | synapse-81b1c562884f6d126721a3afe3eccb7460f799a6.tar.xz |
Fix linting (#16780)
Introduced in #16762
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/handlers/room.py | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/synapse/handlers/room.py b/synapse/handlers/room.py index 41b00a5cf7..b49b917b6e 100644 --- a/synapse/handlers/room.py +++ b/synapse/handlers/room.py @@ -26,7 +26,17 @@ import random import string from collections import OrderedDict from http import HTTPStatus -from typing import TYPE_CHECKING, Any, Awaitable, Callable, Dict, List, Optional, Tuple +from typing import ( + TYPE_CHECKING, + Any, + Awaitable, + Callable, + Dict, + List, + Optional, + Tuple, + cast, +) import attr from typing_extensions import TypedDict |