PyTag
class PyTag(tag)
Bases: object
Interface for tags associated with content items.
- Parameters: tag (ITag)
__init__(tag)
Creates a new PyTag object.
Args: : tag: A ITag object.
Returns: None.
- Parameters: tag (ITag)
- Return type: None
Methods
__init__(tag) |
Creates a new PyTag object. |
|---|---|
create(label) |
Creates a new PyTag object from a string label. |
Attributes
label |
Gets or sets label for the tag. |
|---|
property label : str
Gets or sets label for the tag.
classmethod create(label)
Creates a new PyTag object from a string label.
Args: : cls: The class. label: The tag label.
Returns: : A new PyTag object.
- Parameters: label (str)
- Return type: PyTag