gravitino.dto.requests.catalog_create_request.CatalogCreateRequest

class gravitino.dto.requests.catalog_create_request.CatalogCreateRequest(name: str | None = None, catalog_type: Type = Type.UNSUPPORTED, provider: str | None = None, comment: str | None = None, properties: Dict[str, str] | None = None)

Bases: RESTRequest

Represents a request to create a catalog.

__init__(name: str | None = None, catalog_type: Type = Type.UNSUPPORTED, provider: str | None = None, comment: str | None = None, properties: Dict[str, str] | None = None)

Methods

__init__([name, catalog_type, provider, ...])

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 name or type are not set.