summary refs log tree commit diff
path: root/synapse/http
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/http
parentFix version for bugbear (#9734) (diff)
downloadsynapse-e2b8a90897e137fd118768a3bf35b70642916eb7.tar.xz
Update mypy configuration: `no_implicit_optional = True` (#9742)
Diffstat (limited to 'synapse/http')
-rw-r--r--synapse/http/client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/http/client.py b/synapse/http/client.py
index a0caba84e4..e691ba6d88 100644
--- a/synapse/http/client.py
+++ b/synapse/http/client.py
@@ -590,7 +590,7 @@ class SimpleHttpClient:
         uri: str,
         json_body: Any,
         args: Optional[QueryParams] = None,
-        headers: RawHeaders = None,
+        headers: Optional[RawHeaders] = None,
     ) -> Any:
         """Puts some json to the given URI.