COMPS.Data.AssetFile module

class COMPS.Data.AssetFile.AssetFile(file_name, md5_checksum=None)[source]

Bases: SerializableEntity

A base-type for all files associated with certain entity-types. This includes AssetCollectionFile (associated with an AssetCollection), SimulationFile (associated with a Simulation), and WorkItemFile (associated with a WorkItem).

This is used only for adding properties to these file-types, and shouldn’t be created directly (should probably be an ABC).

property file_name
property md5_checksum
property length
property uri