gravitino.dto.responses.metalake_response.MetalakeResponse

class gravitino.dto.responses.metalake_response.MetalakeResponse(_code: int, _metalake: MetalakeDTO | None)

Bases: BaseResponse

Represents a response containing metalake information.

__init__(_code: int, _metalake: MetalakeDTO | None) None

Methods

__init__(_code, _metalake)

code()

from_dict(kvs, *[, infer_missing])

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

metalake()

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. TODO: @throws IllegalArgumentException if the metalake, name or audit information is not set.