mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 20:19:13 +08:00
Fixed wrong typing
CURA-7180 keyring storage
This commit is contained in:
parent
f51c466155
commit
b6b9dd1864
@ -51,7 +51,7 @@ class AuthenticationResponse(BaseModel):
|
|||||||
self.refresh_token = kwargs.pop("refresh_token", None)
|
self.refresh_token = kwargs.pop("refresh_token", None)
|
||||||
super(AuthenticationResponse, self).__init__(**kwargs)
|
super(AuthenticationResponse, self).__init__(**kwargs)
|
||||||
|
|
||||||
def dump(self) -> dict[Union[bool, Optional[str]]]:
|
def dump(self) -> Dict[str, Union[bool, Optional[str]]]:
|
||||||
"""
|
"""
|
||||||
Dumps the dictionary of Authentication attributes. KeyringAttributes are transformed to public attributes
|
Dumps the dictionary of Authentication attributes. KeyringAttributes are transformed to public attributes
|
||||||
If the keyring was used, these will have a None value, otherwise they will have the secret value
|
If the keyring was used, these will have a None value, otherwise they will have the secret value
|
||||||
|
Loading…
x
Reference in New Issue
Block a user