gravitino.dto.schema_dto.SchemaDTO¶
- class gravitino.dto.schema_dto.SchemaDTO(_name: str, _comment: str | None, _properties: Dict[str, str] | None, _audit: AuditDTO)¶
Bases:
SchemaRepresents a Schema DTO (Data Transfer Object).
- __init__(_name: str, _comment: str | None, _properties: Dict[str, str] | None, _audit: AuditDTO) None¶
Methods
__init__(_name, _comment, _properties, _audit)audit_info()comment()Returns the comment of the Schema.
name()Returns the name of the Schema.
Returns the properties of the Schema.
- comment() str | None¶
Returns the comment of the Schema. None is returned if the comment is not set.
- name() str¶
Returns the name of the Schema.
- properties() Dict[str, str]¶
Returns the properties of the Schema. An empty dictionary is returned if no properties are set.