diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2022-07-21 08:01:52 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-21 12:01:52 +0000 |
commit | 50122754c8743df5c904e81b634fdfdeea64e795 (patch) | |
tree | 3c6b3e46aec5a66a05eaffb688154eb87b198fcb /synapse/handlers/e2e_room_keys.py | |
parent | Use cache store remove base slaved (#13329) (diff) | |
download | synapse-50122754c8743df5c904e81b634fdfdeea64e795.tar.xz |
Add missing types to opentracing. (#13345)
After this change `synapse.logging` is fully typed.
Diffstat (limited to 'synapse/handlers/e2e_room_keys.py')
-rw-r--r-- | synapse/handlers/e2e_room_keys.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/handlers/e2e_room_keys.py b/synapse/handlers/e2e_room_keys.py index 446f509bdc..28dc08c22a 100644 --- a/synapse/handlers/e2e_room_keys.py +++ b/synapse/handlers/e2e_room_keys.py @@ -14,7 +14,7 @@ # limitations under the License. import logging -from typing import TYPE_CHECKING, Dict, Optional +from typing import TYPE_CHECKING, Dict, Optional, cast from typing_extensions import Literal @@ -97,7 +97,7 @@ class E2eRoomKeysHandler: user_id, version, room_id, session_id ) - log_kv(results) + log_kv(cast(JsonDict, results)) return results @trace |