Tags
albert.resources.tags
TagEntity
Tag
Bases: BaseResource
Tag is a Pydantic model representing a tag entity.
Attributes:
| Name | Type | Description |
|---|---|---|
tag |
str
|
The name of the tag. |
id |
str | None
|
The Albert ID of the tag. Set when the tag is retrieved from Albert. |
Methods:
| Name | Description |
|---|---|
from_string |
Creates a Tag object from a string. |
id
id: str | None = Field(
None,
alias=AliasChoices("albertId", "tagId"),
serialization_alias="albertId",
)