summary refs log tree commit diff
path: root/synapse/server.pyi
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2020-07-15 15:27:35 +0100
committerGitHub <noreply@github.com>2020-07-15 15:27:35 +0100
commitf13061d5153eca9bd7054d5b89ade41f3a430f3b (patch)
tree827797d67d99b93f41e35fac8ff21cb886c01a66 /synapse/server.pyi
parentConvert E2E key and room key handlers to async/await. (#7851) (diff)
downloadsynapse-f13061d5153eca9bd7054d5b89ade41f3a430f3b.tar.xz
Fix client reader sharding tests (#7853)
* Fix client reader sharding tests

* Newsfile

* Fix typing

* Update changelog.d/7853.misc

Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com>

* Move mocking of http_client to tests

Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com>
Diffstat (limited to 'synapse/server.pyi')
-rw-r--r--synapse/server.pyi5
1 files changed, 5 insertions, 0 deletions
diff --git a/synapse/server.pyi b/synapse/server.pyi
index 58cd099e6d..cd50c721b8 100644
--- a/synapse/server.pyi
+++ b/synapse/server.pyi
@@ -20,6 +20,7 @@ import synapse.handlers.room
 import synapse.handlers.room_member
 import synapse.handlers.set_password
 import synapse.http.client
+import synapse.http.matrixfederationclient
 import synapse.notifier
 import synapse.push.pusherpool
 import synapse.replication.tcp.client
@@ -143,3 +144,7 @@ class HomeServer(object):
         pass
     def get_replication_streams(self) -> Dict[str, Stream]:
         pass
+    def get_http_client(
+        self,
+    ) -> synapse.http.matrixfederationclient.MatrixFederationHttpClient:
+        pass