mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-03 15:26:10 -04:00
Add missing type hints to config base classes (#11377)
This commit is contained in:
parent
7cebaf9644
commit
55669bd3de
13 changed files with 184 additions and 109 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue