Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
dklimpel committed Aug 16, 2021
1 parent 0c3d2c0 commit f596719
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions synapse/http/additional_resource.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class AdditionalResource(DirectServeJsonResource):
and exception handling.
"""

def __init__(self, hs: "HomeServer", handler: Request):
def __init__(self, hs: "HomeServer", handler):
"""Initialise AdditionalResource
The ``handler`` should return a deferred which completes when it has
Expand All @@ -41,7 +41,7 @@ def __init__(self, hs: "HomeServer", handler: Request):
Args:
hs: homeserver
handler (twisted.internet.defer.Deferred):
handler ((twisted.web.server.Request) -> twisted.internet.defer.Deferred):
function to be called to handle the request.
"""
super().__init__()
Expand Down
2 changes: 1 addition & 1 deletion synapse/http/federation/srv_resolver.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

logger = logging.getLogger(__name__)

SERVER_CACHE: Dict[bytes, List[Server]] = {}
SERVER_CACHE: Dict[bytes, List] = {}


@attr.s(auto_attribs=True, slots=True, frozen=True)
Expand Down

0 comments on commit f596719

Please sign in to comment.