Skip to main content
Log in

Mojo struct

VersionInfo

Struct containing major and minor version values.

The MAX checkpoint format guarantees backwards compatibility, meaning that older checkpoints can always be read by newer versions of the library.

Forward compatibility is guaranteed across the same major version. If the major version is bumped up, it means that there has been a backwards- incompatible change made.

Fields

  • major_version (SIMD[uint32, 1]):
  • minor_version (SIMD[uint32, 1]):

Implemented traits

AnyType, Copyable, Movable, StringableRaising

Methods

__str__

__str__(self: Self) -> String

Was this page helpful?