gws_core

Introduction
Getting Started
Developer guide
Release
Architecture
CLI
Technical documentations
Version

TagList

Functions
__init__

Initialize self. See help(type(self)) for accurate signature.

tags : List
add_tag

Add a tag to the list if it does not exist

tag : Tag
add_tags

Add a list of tags to the list if it does not exist

tags : List
count

Return the number of tags

Return type : int
get_by_key

return the tag if it exists

tag_key : str
Return type : List
get_tag

return the tag if it exists

key : str
value : Union
Return type : Optional
get_tags
Return type : List
has_tag

return true if the tag key and value already exist in the model

tag : Tag
Return type : bool
has_tag_key

return true if the tag key already exist in the model

tag_key : str
Return type : bool
remove_loaded_tags

Remove tags that are loaded from the database