gravitino.dto.rel.json_serdes.representation_serdes.RepresentationSerdes¶
- class gravitino.dto.rel.json_serdes.representation_serdes.RepresentationSerdes¶
Bases:
objectSerdes for view representation DTOs.
- __init__()¶
Methods
__init__()deserialize(value)Decode a representation DTO from a dictionary.
serialize(value)Encode a representation DTO to a dictionary.
- static deserialize(value: dict | None) RepresentationDTO | None¶
Decode a representation DTO from a dictionary.
- static serialize(value: RepresentationDTO | None) dict | None¶
Encode a representation DTO to a dictionary.