gravitino.dto.responses.schema_response.SchemaResponse¶
- class gravitino.dto.responses.schema_response.SchemaResponse(_code: int, _schema: SchemaDTO)¶
Bases:
BaseResponse
,DataClassJsonMixin
Represents a response for a schema.
Methods
__init__
(_code, _schema)code
()from_dict
(kvs, *[, infer_missing])from_json
(s, *[, parse_float, parse_int, ...])schema
()to_dict
([encode_json])to_json
(*[, skipkeys, ensure_ascii, ...])validate
()Validates the response data.
Attributes
dataclass_json_config
- validate()¶
Validates the response data.
- Raises:
IllegalArgumentException if catalog identifiers are not set.