summary refs log tree commit diff
path: root/synapse/config/_base.pyi
diff options
context:
space:
mode:
authorSean Quah <8349537+squahtx@users.noreply.github.com>2023-05-18 11:11:30 +0100
committerGitHub <noreply@github.com>2023-05-18 11:11:30 +0100
commit68dcd2cbcb3c01787ade9cf3725486712a7cafda (patch)
tree9e3518e715f3c85b81b17110895c7e5b97552ff6 /synapse/config/_base.pyi
parentFix error message when `app_service_config_files` validation fails (#15614) (diff)
downloadsynapse-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.pyi3
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