diff --git a/sign_client/sign_client/model.py b/sign_client/sign_client/model.py index f2022a63..6a5d6558 100644 --- a/sign_client/sign_client/model.py +++ b/sign_client/sign_client/model.py @@ -159,9 +159,11 @@ def from_dict(cls, dct): class BooleanSettingsInfo: value: bool inherited: bool = None - + @classmethod def from_dict(cls, dct): + if isinstance(dct, bool): + return dct return cls(**dct)