summary refs log tree commit diff
path: root/synapse/storage
diff options
context:
space:
mode:
authorDan Callahan <danc@element.io>2021-04-13 10:41:34 +0100
committerGitHub <noreply@github.com>2021-04-13 10:41:34 +0100
commit1d5f0e3529ec5acd889037c8ebcca2820ad003d5 (patch)
tree4e911bba7305b49ec44549f803b5cf64f5323456 /synapse/storage
parentAdd an admin API to manage ratelimit for a specific user (#9648) (diff)
downloadsynapse-1d5f0e3529ec5acd889037c8ebcca2820ad003d5.tar.xz
Bump black configuration to target py36 (#9781)
Signed-off-by: Dan Callahan <danc@element.io>
Diffstat (limited to 'synapse/storage')
-rw-r--r--synapse/storage/database.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/synapse/storage/database.py b/synapse/storage/database.py
index fa15b0ce5b..77ef29ec71 100644
--- a/synapse/storage/database.py
+++ b/synapse/storage/database.py
@@ -488,7 +488,7 @@ class DatabasePool:
         exception_callbacks: List[_CallbackListEntry],
         func: "Callable[..., R]",
         *args: Any,
-        **kwargs: Any
+        **kwargs: Any,
     ) -> R:
         """Start a new database transaction with the given connection.
 
@@ -622,7 +622,7 @@ class DatabasePool:
         func: "Callable[..., R]",
         *args: Any,
         db_autocommit: bool = False,
-        **kwargs: Any
+        **kwargs: Any,
     ) -> R:
         """Starts a transaction on the database and runs a given function
 
@@ -682,7 +682,7 @@ class DatabasePool:
         func: "Callable[..., R]",
         *args: Any,
         db_autocommit: bool = False,
-        **kwargs: Any
+        **kwargs: Any,
     ) -> R:
         """Wraps the .runWithConnection() method on the underlying db_pool.
 
@@ -775,7 +775,7 @@ class DatabasePool:
         desc: str,
         decoder: Optional[Callable[[Cursor], R]],
         query: str,
-        *args: Any
+        *args: Any,
     ) -> R:
         """Runs a single query for a result set.