diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2021-11-23 10:21:19 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-23 15:21:19 +0000 |
commit | 55669bd3de7137553085e9f1c16a686ff657108c (patch) | |
tree | 28637b8af5497395537cf11b0f627e05d32670da /synapse/config/key.py | |
parent | Remove code invalidated by deprecated config flag 'trust_identity_servers_for... (diff) | |
download | synapse-55669bd3de7137553085e9f1c16a686ff657108c.tar.xz |
Add missing type hints to config base classes (#11377)
Diffstat (limited to 'synapse/config/key.py')
-rw-r--r-- | synapse/config/key.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/config/key.py b/synapse/config/key.py index 015dbb8a67..035ee2416b 100644 --- a/synapse/config/key.py +++ b/synapse/config/key.py @@ -16,6 +16,7 @@ import hashlib import logging import os +from typing import Any, Dict import attr import jsonschema @@ -312,7 +313,7 @@ class KeyConfig(Config): ) return keys - def generate_files(self, config, config_dir_path): + def generate_files(self, config: Dict[str, Any], config_dir_path: str) -> None: if "signing_key" in config: return |