summary refs log tree commit diff
path: root/synapse/storage
diff options
context:
space:
mode:
authorJonathan de Jong <jonathan@automatia.nl>2021-04-05 15:10:18 +0200
committerGitHub <noreply@github.com>2021-04-05 09:10:18 -0400
commite2b8a90897e137fd118768a3bf35b70642916eb7 (patch)
tree60562fb54b2af8c61e940624f6821cbacf98a06c /synapse/storage
parentFix version for bugbear (#9734) (diff)
downloadsynapse-e2b8a90897e137fd118768a3bf35b70642916eb7.tar.xz
Update mypy configuration: `no_implicit_optional = True` (#9742)
Diffstat (limited to 'synapse/storage')
-rw-r--r--synapse/storage/databases/main/group_server.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/storage/databases/main/group_server.py b/synapse/storage/databases/main/group_server.py
index ac07e0197b..8f462dfc31 100644
--- a/synapse/storage/databases/main/group_server.py
+++ b/synapse/storage/databases/main/group_server.py
@@ -1027,8 +1027,8 @@ class GroupServerStore(GroupServerWorkerStore):
         user_id: str,
         is_admin: bool = False,
         is_public: bool = True,
-        local_attestation: dict = None,
-        remote_attestation: dict = None,
+        local_attestation: Optional[dict] = None,
+        remote_attestation: Optional[dict] = None,
     ) -> None:
         """Add a user to the group server.