gravitino.dto.rel.representation_dto.RepresentationDTO

class gravitino.dto.rel.representation_dto.RepresentationDTO

Bases: Representation, DataClassJsonMixin

DTO base class for view representations.

__init__()

Methods

__init__()

from_dict(kvs, *[, infer_missing])

from_json(s, *[, parse_float, parse_int, ...])

schema(*[, infer_missing, only, exclude, ...])

to_dict([encode_json])

to_json(*[, skipkeys, ensure_ascii, ...])

type()

Returns the representation type.

validate()

Validates the representation DTO.

Attributes

TYPE_SQL

dataclass_json_config

abstract type() → str

Returns the representation type.

abstract validate() → None

Validates the representation DTO.