mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-07 16:35:05 -04:00
Fix type hints in space summary tests. (#10575)
And ensure that the file is checked via mypy.
This commit is contained in:
parent
339c3918e1
commit
fab352ac2c
4 changed files with 10 additions and 9 deletions
|
@ -47,10 +47,10 @@ class RestHelper:
|
|||
|
||||
def create_room_as(
|
||||
self,
|
||||
room_creator: str = None,
|
||||
room_creator: Optional[str] = None,
|
||||
is_public: bool = True,
|
||||
room_version: str = None,
|
||||
tok: str = None,
|
||||
room_version: Optional[str] = None,
|
||||
tok: Optional[str] = None,
|
||||
expect_code: int = 200,
|
||||
extra_content: Optional[Dict] = None,
|
||||
custom_headers: Optional[
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue