gravitino.dto.metalake_dto.MetalakeDTO¶
- class gravitino.dto.metalake_dto.MetalakeDTO(_name: str, _comment: str | None, _properties: Dict[str, str] | None, _audit: AuditDTO | None)¶
Bases:
Metalake,DataClassJsonMixinRepresents a Metalake Data Transfer Object (DTO) that implements the Metalake interface.
- __init__(_name: str, _comment: str | None, _properties: Dict[str, str] | None, _audit: AuditDTO | None) None¶
Methods
__init__(_name, _comment, _properties, _audit)audit_info()comment()The comment of the metalake.
equals(other)from_dict(kvs, *[, infer_missing])from_json(s, *[, parse_float, parse_int, ...])name()The name of the metalake.
The properties of the metalake.
property_equal(p1, p2)schema(*[, infer_missing, only, exclude, ...])to_dict([encode_json])to_json(*[, skipkeys, ensure_ascii, ...])Attributes
dataclass_json_config- comment() str¶
The comment of the metalake. Note. this method will return None if the comment is not set for this metalake.
- Returns:
Optional[str]: The comment of the metalake.
- name() str¶
The name of the metalake.
- Returns:
str: The name of the metalake.
- properties() Dict[str, str]¶
The properties of the metalake. Note, this method will return None if the properties are not set.
- Returns:
Optional[Dict[str, str]]: The properties of the metalake.