CxTowerTagMixin
- _name:
cx.tower.tag.mixin - _description:
Cetmix Tower Tag Mixin
Cetmix Tower Tag Mixin. Used to add tag functionality to models.
Method add_tags
Add tags to the record
Args: tag_names (list of Char or Char): List of tag names to add or single tag name
Method remove_tags
Remove tags from the record
Args: tag_names (list of Char or Char): List of tag names to remove or single tag name.
Method has_tags
Get all records from the recordset that have any of the given tags
Args: tag_name (Char or List of Char): Tag name or list of tag names to check search_all (bool): If True, search all records in the model
Method has_all_tags
Get all records from the recordset that have all of the given tags
Args: tag_names (list of Char): List of tag names to check search_all (bool): If True, search all records in the model