diff options
author | Sean Quah <8349537+squahtx@users.noreply.github.com> | 2023-05-18 11:11:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-18 11:11:30 +0100 |
commit | 68dcd2cbcb3c01787ade9cf3725486712a7cafda (patch) | |
tree | 9e3518e715f3c85b81b17110895c7e5b97552ff6 /synapse/config/_base.pyi | |
parent | Fix error message when `app_service_config_files` validation fails (#15614) (diff) | |
download | synapse-68dcd2cbcb3c01787ade9cf3725486712a7cafda.tar.xz |
Re-type config paths in `ConfigError`s to be `StrSequence`s (#15615)
Part of #14809. Signed-off-by: Sean Quah <seanq@matrix.org>
Diffstat (limited to 'synapse/config/_base.pyi')
-rw-r--r-- | synapse/config/_base.pyi | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/config/_base.pyi b/synapse/config/_base.pyi index b5cec132b4..fc51aed234 100644 --- a/synapse/config/_base.pyi +++ b/synapse/config/_base.pyi @@ -61,9 +61,10 @@ from synapse.config import ( # noqa: F401 voip, workers, ) +from synapse.types import StrSequence class ConfigError(Exception): - def __init__(self, msg: str, path: Optional[Iterable[str]] = None): + def __init__(self, msg: str, path: Optional[StrSequence] = None): self.msg = msg self.path = path |