diff options
author | David Robertson <davidr@element.io> | 2023-09-08 19:29:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-08 19:29:38 +0100 |
commit | edd83f23b710f0caae05d5766b474de3b6f24e9e (patch) | |
tree | 91c841f77e186fea9ede52df87d50126541162d1 /synapse/config | |
parent | Upgrade CI run of Python 3.12 from rc1 to rc2 (#16280) (diff) | |
download | synapse-edd83f23b710f0caae05d5766b474de3b6f24e9e.tar.xz |
Improve type hints for attrs classes (#16276)
Diffstat (limited to 'synapse/config')
-rw-r--r-- | synapse/config/oembed.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/config/oembed.py b/synapse/config/oembed.py index d7959639ee..59bc0b55f4 100644 --- a/synapse/config/oembed.py +++ b/synapse/config/oembed.py @@ -30,7 +30,7 @@ class OEmbedEndpointConfig: # The API endpoint to fetch. api_endpoint: str # The patterns to match. - url_patterns: List[Pattern] + url_patterns: List[Pattern[str]] # The supported formats. formats: Optional[List[str]] |