gravitino.dto.requests.catalog_set_request.CatalogSetRequest

class gravitino.dto.requests.catalog_set_request.CatalogSetRequest(in_use: bool)

Bases: RESTRequest

Represents a request to set a catalog in use.

__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.