config/scheme: add Profile.encryption and Profile.encryption_password
This commit is contained in:
parent
d6900172fe
commit
370510e09f
2 changed files with 4 additions and 0 deletions
|
@ -15,6 +15,8 @@ PROFILE_DEFAULTS_DICT = {
|
|||
'username': 'kupfer',
|
||||
'password': None,
|
||||
'size_extra_mb': "0",
|
||||
'encryption': None,
|
||||
'encryption_password': None,
|
||||
}
|
||||
PROFILE_DEFAULTS = Profile.fromDict(PROFILE_DEFAULTS_DICT)
|
||||
|
||||
|
|
|
@ -17,6 +17,8 @@ class SparseProfile(DictScheme):
|
|||
username: Optional[str]
|
||||
password: Optional[str]
|
||||
size_extra_mb: Optional[Union[str, int]]
|
||||
encryption: Optional[bool]
|
||||
encryption_password: Optional[str]
|
||||
|
||||
def __repr__(self):
|
||||
return f'{type(self)}{dict.__repr__(self.toDict())}'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue