Skip to content

Associate description to tags #1173

Open
@udgover

Description

@udgover

It could be useful to associate a description to a tag when manually defined.

class Tag(YetiModel, database_arango.ArangoYetiConnector):
    _collection_name: ClassVar[str] = "tags"
    _root_type: Literal["tags"] = "tag"
    _type_filter: ClassVar[str | None] = None

--> description: str = ""

    name: str = Field(max_length=MAX_TAG_LENGTH)
    count: int = 0
    created: datetime.datetime = Field(default_factory=now)
    default_expiration: datetime.timedelta = DEFAULT_EXPIRATION
    produces: list[str] = []
    replaces: list[str] = []```

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions