FileHaving
Description: Mixin for objects that contain a file and expose file revision behavior.
Methods
| Name | Description |
|---|---|
| update_properties | Update one or more metadata fields on the underlying file. |
| update_description | Update the file’s description. |
| update_display_name | Update the file’s display name. |
| update_external_identifier | Update the file’s external identifier. |
| update_version_name | Update the file’s version name. |
| read_bytes | Read and return the raw byte contents of the associated file revision. |
| read_text | Read the contents as decoded text. |
| copy_to | Copy the contents to a local file. |
| read_json | Parse the contents as JSON. |
| cleanup_cache | Clean up cached files if they exist. |
| get_cache_stats | Get filesystem cache statistics. |