summary refs log tree commit diff
path: root/synapse/storage/_base.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-12-06 13:08:40 +0000
committerErik Johnston <erik@matrix.org>2019-12-06 13:30:06 +0000
commit9a4fb457cf5918c85068ea249cd2d58b3e2e3cfc (patch)
tree4bb85c953cb523732bcc53ec01b7c1f8209ac1ad /synapse/storage/_base.py
parentMerge pull request #6469 from matrix-org/erikj/make_database_class (diff)
downloadsynapse-9a4fb457cf5918c85068ea249cd2d58b3e2e3cfc.tar.xz
Change DataStores to accept 'database' param.
Diffstat (limited to 'synapse/storage/_base.py')
-rw-r--r--synapse/storage/_base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/_base.py b/synapse/storage/_base.py
index b7e27d4e97..f9e7f9a71e 100644
--- a/synapse/storage/_base.py
+++ b/synapse/storage/_base.py
@@ -37,7 +37,7 @@ class SQLBaseStore(object):
     per data store (and not one per physical database).
     """
 
-    def __init__(self, db_conn, hs):
+    def __init__(self, database: Database, db_conn, hs):
         self.hs = hs
         self._clock = hs.get_clock()
         self.database_engine = hs.database_engine