Tag
Attributes
is_propagable: bool
key: str
origins: TagOrigins
value: Union
Functions
Initialize self. See help(type(self)) for accurate signature.
Parameters:
Name | Type | Default value | Description |
---|---|---|---|
key | str | ||
value | Union | ||
is_propagable | bool | False | |
origins | TagOrigins |
Return type:
str |
Return type:
bool |
Return a new instance of tag with the new origin
Parameters:
Name | Type | Default value | Description |
---|---|---|---|
origin_type | TagOriginType | ||
origin_id | str |
Return type:
Tag |
Parameters:
Name | Type | Default value | Description |
---|---|---|---|
key | str |
Parameters:
Name | Type | Default value | Description |
---|---|---|---|
value | Union |
Return type:
TagDTO |
Parameters:
Name | Type | Default value | Description |
---|---|---|---|
tag_key | str |
Return type:
str |
Method that check the length of the tag str (key or value) and that the tag str is valid
Parameters:
Name | Type | Default value | Description |
---|---|---|---|
tag_str | Union |
Return type:
Union |
Parameters:
Name | Type | Default value | Description |
---|---|---|---|
dto | TagDTO |
Return type:
Tag |
Parameters:
Name | Type | Default value | Description |
---|---|---|---|
tag_str | str |
Return type:
Tag |