polars_online.schema_version¶
- polars_online.schema_version()¶
The version of the state file’s layout that this build writes.
Use it to tell whether this build can load a state file:
polars_online.ModelBank.load()refuses a file written under a higher version, and one below the oldest version this build loads.Returns
int: the version, which rises with every change to the layout.Examples
version = po.schema_version() # the layout a saved state file has