Skip to main content
Version: 2025.10

ModelListItem

Description: Model class representing a simplified summary of a Model.

Attributes

NameTypeDescription
idStrictStr
createddatetime.datetime
fileFile
archive_statusStrictStr
created_by_idStrictStr
comment_idsOptional[List[StrictStr]]
artifact_idsOptional[List[StrictStr]]
job_idsOptional[List[StrictStr]]

Methods

NameDescription
to_strReturn the string representation of the model using field aliases.
to_jsonReturn the JSON string representation of the model using field aliases.
from_jsonCreate an instance of the model from a JSON string.
to_dictReturn the dictionary representation of the model using field aliases.
from_dictCreate an instance of the model from a dictionary.
update_propertiesUpdate one or more metadata fields on the underlying file.
update_descriptionUpdate the file’s description.
update_display_nameUpdate the file’s display name.
update_external_identifierUpdate the file’s external identifier.
update_version_nameUpdate the file’s version name.
read_bytesRead and return the raw byte contents of the associated file revision.
read_textRead the contents as decoded text.
copy_toCopy the contents to a local file.
read_jsonParse the contents as JSON.
cleanup_cacheClean up cached files if they exist.
get_cache_statsGet filesystem cache statistics.