mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Fixed wrong typing
CURA-7180 keyring storage
This commit is contained in:
parent
f51c466155
commit
b6b9dd1864
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue