date()¶
- audmodel.date(uid, *, cache_root=None)[source]¶
Publication date of model.
- Parameters
uid (
str
) – unique model ID or short ID for latest versioncache_root (
Optional
[str
]) – cache folder where models and headers are stored. If not setaudmodel.default_cache_root()
is used
- Return type
- Returns
model publication date
- Raises
audbackend.BackendError – if connection to repository on backend cannot be established
RuntimeError – if model does not exist
Examples
>>> date("d4e9c65b-3.0.0") '1985-11-18'