_MetadataMixin
- class _MetadataMixin(metadata=None)
Methods
Remove all properties.
Returns the value of a metadata property or None if it does not exist.
Check if a given property is set.
Sets the value of a metadata property.
Attributes
Returns the collection's metadata.
Methods
- _MetadataMixin.property(prop)
Returns the value of a metadata property or None if it does not exist.
- _MetadataMixin.property_exists(prop)
Check if a given property is set.
- _MetadataMixin.set_property(prop, value)
Sets the value of a metadata property. For system properties, this function casts the value to the proper type and throw an exception if this fails. If the value is None, the property is removed.
Attributes
- _MetadataMixin.metadata
Returns the collection’s metadata.
- Returns
metadata