latest_version()

audmodel.latest_version(uid)[source]

Latest available version of model.

Parameters

uid (str) – unique model ID or short ID

Return type

str

Returns

latest version of model

Raises

Examples

>>> latest_version("d4e9c65b")
'3.0.0'
>>> latest_version("d4e9c65b-1.0.0")
'3.0.0'