diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2023-09-13 07:57:19 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-13 07:57:19 -0400 |
commit | d38d0dffc94b6269ed7ff5163d60958be3e6c304 (patch) | |
tree | d793f714887dfdceee8b27b678e6c03e3288a2bc /synapse/config | |
parent | Don't schedule an async task on every sync (#16312) (diff) | |
download | synapse-d38d0dffc94b6269ed7ff5163d60958be3e6c304.tar.xz |
Use StrCollection in additional places. (#16301)
Diffstat (limited to 'synapse/config')
-rw-r--r-- | synapse/config/_base.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/synapse/config/_base.py b/synapse/config/_base.py index 58856839e1..c5816105f4 100644 --- a/synapse/config/_base.py +++ b/synapse/config/_base.py @@ -26,7 +26,6 @@ from textwrap import dedent from typing import ( Any, ClassVar, - Collection, Dict, Iterable, Iterator, @@ -384,7 +383,7 @@ class RootConfig: config_classes: List[Type[Config]] = [] - def __init__(self, config_files: Collection[str] = ()): + def __init__(self, config_files: StrSequence = ()): # Capture absolute paths here, so we can reload config after we daemonize. self.config_files = [os.path.abspath(path) for path in config_files] |