gravitino.client.gravitino_version.GravitinoVersion¶
- class gravitino.client.gravitino_version.GravitinoVersion(versionDTO)¶
Bases:
VersionDTO
Gravitino version information.
- __init__(versionDTO)¶
Methods
__init__
(versionDTO)compatible_with_server_version
(server_version)Check if the current version is compatible with the server version.
compile_date
()git_commit
()version
()Attributes
major
minor
patch
- compatible_with_server_version(server_version) bool ¶
Check if the current version is compatible with the server version. Compatibility is defined such that the client major version is less than or equal to the server major version.