gravitino.dto.responses.catalog_response.CatalogResponse¶
- class gravitino.dto.responses.catalog_response.CatalogResponse(_code: int, _catalog: CatalogDTO)¶
Bases:
BaseResponse
Represents a response containing catalog information.
- __init__(_code: int, _catalog: CatalogDTO) None ¶
Methods
__init__
(_code, _catalog)catalog
()code
()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, ...])validate
()Validates the response data.
Attributes
dataclass_json_config
- validate()¶
Validates the response data.
- Raises:
IllegalArgumentException if the catalog name, type or audit is not set.