gravitino.dto.requests.metalake_set_request.MetalakeSetRequest

class gravitino.dto.requests.metalake_set_request.MetalakeSetRequest(in_use: bool)

Bases: RESTRequest

Represents a request to set a metalake in use status.

__init__(in_use: bool)

Methods

__init__(in_use)

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 fields of the request.

Attributes

dataclass_json_config

validate()

Validates the fields of the request.

Raises:

IllegalArgumentException if in_use is not set.