summary refs log tree commit diff
path: root/synapse/server.py
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2020-11-25 07:07:21 -0500
committerGitHub <noreply@github.com>2020-11-25 07:07:21 -0500
commitf38676d16143e399b654504486cf8cbecad12a5d (patch)
tree91c4d01eaec5d525b5899242a6c66fa505621330 /synapse/server.py
parentClarify documentation of the admin list media API (#8795) (diff)
downloadsynapse-f38676d16143e399b654504486cf8cbecad12a5d.tar.xz
Add type hints to matrix federation client / agent. (#8806)
Diffstat (limited to '')
-rw-r--r--synapse/server.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/server.py b/synapse/server.py
index 12a783de17..c82d8f9fad 100644
--- a/synapse/server.py
+++ b/synapse/server.py
@@ -27,7 +27,8 @@ import logging
 import os
 from typing import TYPE_CHECKING, Any, Callable, Dict, List, Optional, TypeVar, cast
 
-import twisted
+import twisted.internet.base
+import twisted.internet.tcp
 from twisted.mail.smtp import sendmail
 from twisted.web.iweb import IPolicyForHTTPS