mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-09 08:12:20 -04:00
Get directory db file to pass mypy (#11339)
This commit is contained in:
parent
6f862c5c28
commit
5562ce6a53
4 changed files with 11 additions and 7 deletions
|
@ -154,6 +154,7 @@ class DataStore(
|
|||
db_conn, "local_group_updates", "stream_id"
|
||||
)
|
||||
|
||||
self._cache_id_gen: Optional[MultiWriterIdGenerator]
|
||||
if isinstance(self.database_engine, PostgresEngine):
|
||||
# We set the `writers` to an empty list here as we don't care about
|
||||
# missing updates over restarts, as we'll not have anything in our
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue