gravitino.dto.requests.fileset_create_request.FilesetCreateRequest¶
- class gravitino.dto.requests.fileset_create_request.FilesetCreateRequest(name: str, comment: str | None = None, fileset_type: Type | None = None, storage_location: str | None = None, properties: Dict[str, str] | None = None)¶
Bases:
RESTRequest
Represents a request to create a fileset.
- __init__(name: str, comment: str | None = None, fileset_type: Type | None = None, storage_location: str | None = None, properties: Dict[str, str] | None = None)¶
Methods
__init__
(name[, comment, fileset_type, ...])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 request.
Attributes
dataclass_json_config
- validate()¶
Validates the request.
- Raises:
IllegalArgumentException if the request is invalid.