gravitino.dto.responses.partition_name_list_response.PartitionNameListResponse¶
- class gravitino.dto.responses.partition_name_list_response.PartitionNameListResponse(_code: int, _partition_names: list[str])¶
Bases:
BaseResponseRepresents a response containing a list of partition names.
- __init__(_code: int, _partition_names: list[str]) None¶
Methods
__init__(_code, _partition_names)code()from_dict(kvs, *[, infer_missing])from_json(s, *[, parse_float, parse_int, ...])Get the list of partition names.
schema(*[, infer_missing, only, exclude, ...])to_dict([encode_json])to_json(*[, skipkeys, ensure_ascii, ...])validate()Validates the response data.
Attributes
dataclass_json_config- partition_names() list[str]¶
Get the list of partition names.
- Returns:
list[str]: The list of partition names.
- validate() None¶
Validates the response data.
- Raises:
IllegalArgumentException: if partition names are not set.