latest_version()¶
- audmodel.latest_version(uid)[source]¶
Latest available version of model.
- Parameters
uid (
str
) – unique model ID or short ID- Return type
- Returns
latest version of model
- Raises
audbackend.BackendError – if connection to repository on backend cannot be established
RuntimeError – if model does not exist
Examples
>>> latest_version("d4e9c65b") '3.0.0' >>> latest_version("d4e9c65b-1.0.0") '3.0.0'