COMPS.Data.AssetCollectionFile module#

class COMPS.Data.AssetCollectionFile.AssetCollectionFile(file_name=None, relative_path=None, md5_checksum=None, tags=None)[source]#

Bases: AssetFile, TaggableEntity, SerializableEntity

Represents a single Asset in an AssetCollection.

Once created, an AssetCollectionFile is immutable, other than modifying tags. It contains various properties accessible by getters:

  • file_name

  • relative_path

  • md5_checksum

  • length

  • uri

  • tags

The md5_checksum can be used as an id for the AssetCollectionFile.

property relative_path#
property tags#