diff options
author | David Robertson <davidr@element.io> | 2022-03-23 14:03:24 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-23 14:03:24 +0000 |
commit | f4c5e5864cdc04aa61ad13d6f6ba870df811a881 (patch) | |
tree | f11520a98e7efd6a7c771e50cafddd38b4301906 /synapse/storage/engines | |
parent | Remove mutual_rooms `update_user_directory` check, and add extra documentatio... (diff) | |
download | synapse-f4c5e5864cdc04aa61ad13d6f6ba870df811a881.tar.xz |
Use psycopg2 type stubs (#12269)
Diffstat (limited to 'synapse/storage/engines')
-rw-r--r-- | synapse/storage/engines/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/engines/__init__.py b/synapse/storage/engines/__init__.py index 9abc02046e..afb7d5054d 100644 --- a/synapse/storage/engines/__init__.py +++ b/synapse/storage/engines/__init__.py @@ -27,7 +27,7 @@ def create_engine(database_config) -> BaseDatabaseEngine: if name == "psycopg2": # Note that psycopg2cffi-compat provides the psycopg2 module on pypy. - import psycopg2 # type: ignore + import psycopg2 return PostgresEngine(psycopg2, database_config) |