mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-07-23 04:10:37 -04:00
Add missing type hints to tests.config. (#14681)
This commit is contained in:
parent
864c3f85b0
commit
3aeca2588b
18 changed files with 108 additions and 103 deletions
|
@ -16,7 +16,7 @@ import logging
|
|||
import os
|
||||
import re
|
||||
import threading
|
||||
from typing import Any, Callable, Dict, Optional
|
||||
from typing import Any, Callable, Dict, Mapping, Optional
|
||||
|
||||
import attr
|
||||
|
||||
|
@ -94,7 +94,7 @@ def add_resizable_cache(
|
|||
|
||||
class CacheConfig(Config):
|
||||
section = "caches"
|
||||
_environ = os.environ
|
||||
_environ: Mapping[str, str] = os.environ
|
||||
|
||||
event_cache_size: int
|
||||
cache_factors: Dict[str, float]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue