mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-02 00:26:03 -04:00
Update mypy configuration: no_implicit_optional = True
(#9742)
This commit is contained in:
parent
4609e58970
commit
e2b8a90897
10 changed files with 21 additions and 11 deletions
|
@ -1008,7 +1008,7 @@ class E2eKeysHandler:
|
|||
return signature_list, failures
|
||||
|
||||
async def _get_e2e_cross_signing_verify_key(
|
||||
self, user_id: str, key_type: str, from_user_id: str = None
|
||||
self, user_id: str, key_type: str, from_user_id: Optional[str] = None
|
||||
) -> Tuple[JsonDict, str, VerifyKey]:
|
||||
"""Fetch locally or remotely query for a cross-signing public key.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue