gravitino.dto.requests.view_update_request.ViewUpdateRequestBase

class gravitino.dto.requests.view_update_request.ViewUpdateRequestBase

Bases: RESTRequest, ABC

Base class for all view update requests.

__init__() → None

Methods

__init__()

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()

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

view_change()

Convert to view change operation.

Attributes

dataclass_json_config

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

abstract view_change() → ViewChange

Convert to view change operation.