restapi.models.fields.TOTP.deserialize
- TOTP.deserialize(value, attr=None, data=None, **kwargs)
Deserialize
value.- Parameters:
value (
Any) – The value to deserialize.attr (
str|None, default:None) – The attribute/key in data to deserialize.data (
Optional[Mapping[str,Any]], default:None) – The raw input data passed to Schema.load.kwargs – Field-specific keyword arguments.
- Raises:
ValidationError – If an invalid value is passed or if a required value is missing.