mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 10:46:06 -04:00
Misc typing fixes for tests, part 2 of N (#11330)
This commit is contained in:
parent
e72135b9d3
commit
0dda1a7968
5 changed files with 66 additions and 29 deletions
|
@ -24,6 +24,7 @@ from typing import (
|
|||
MutableMapping,
|
||||
Optional,
|
||||
Tuple,
|
||||
Type,
|
||||
Union,
|
||||
)
|
||||
|
||||
|
@ -226,7 +227,7 @@ def make_request(
|
|||
path: Union[bytes, str],
|
||||
content: Union[bytes, str, JsonDict] = b"",
|
||||
access_token: Optional[str] = None,
|
||||
request: Request = SynapseRequest,
|
||||
request: Type[Request] = SynapseRequest,
|
||||
shorthand: bool = True,
|
||||
federation_auth_origin: Optional[bytes] = None,
|
||||
content_is_form: bool = False,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue