gravitino.dto.requests.metalake_create_request.MetalakeCreateRequest

class gravitino.dto.requests.metalake_create_request.MetalakeCreateRequest(name: str | None = None, comment: str | None = None, properties: Dict[str, str] | None = None)

Bases: RESTRequest

Represents a request to create a Metalake.

__init__(name: str | None = None, comment: str | None = None, properties: Dict[str, str] | None = None)

Methods

__init__([name, comment, properties])

from_dict(kvs, *[, infer_missing])

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

name()

schema(*[, infer_missing, only, exclude, ...])

to_dict([encode_json])

to_json(*[, skipkeys, ensure_ascii, ...])

validate()

Ensures that a constructed instance of a REST message is valid according to the REST spec.

Attributes

dataclass_json_config

validate()

Ensures that a constructed instance of a REST message is valid according to the REST spec.

This is needed when parsing data that comes from external sources and the object might have been constructed without all the required fields present.

Raises:

IllegalArgumentException: If the message is not valid.