1 files changed, 2 insertions, 4 deletions
diff --git a/synapse/appservice/api.py b/synapse/appservice/api.py
index d405c1c7e3..aea6f7f814 100644
--- a/synapse/appservice/api.py
+++ b/synapse/appservice/api.py
@@ -14,21 +14,19 @@
# limitations under the License.
import logging
import urllib
-from typing import TYPE_CHECKING, Any, List, Optional
+from typing import Any, List, Optional
from prometheus_client import Counter
from synapse.api.constants import EventTypes, ThirdPartyEntityKind
from synapse.api.errors import CodeMessageException
+from synapse.appservice import ApplicationService
from synapse.events import EventBase
from synapse.events.utils import serialize_event
from synapse.http.client import SimpleHttpClient
from synapse.types import JsonDict, ThirdPartyInstanceID
from synapse.util.caches.response_cache import ResponseCache
-if TYPE_CHECKING:
- from synapse.appservice import ApplicationService
-
logger = logging.getLogger(__name__)
sent_transactions_counter = Counter(
|