Skip to main content
Version: 2025.10

FileHaving

Description: Mixin for objects that contain a file and expose file revision behavior.

Methods

NameDescription
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.