Fix a couple type annotations in the `RootConfig`/`Config`. Discovered while cribbing this code for another project. It's really sucks that `mypy` type checking doesn't catch this. I assume this is because we also have a `synapse/config/_base.pyi` that overrides all of this. Still unclear to me why the `Iterable[str]` vs `StrSequence` issue wasn't caught as that's what `ConfigError` expects. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test___main__.py | ||
| test_api.py | ||
| test_appservice.py | ||
| test_background_update.py | ||
| test_base.py | ||
| test_cache.py | ||
| test_database.py | ||
| test_generate.py | ||
| test_load.py | ||
| test_oauth_delegation.py | ||
| test_ratelimiting.py | ||
| test_registration_config.py | ||
| test_room_directory.py | ||
| test_server.py | ||
| test_tls.py | ||
| test_util.py | ||
| test_workers.py | ||
| utils.py | ||