Skip to content

Links

LinkCategory

Bases: str, Enum

Attributes:

Name Type Description
MENTION
LINKED_TASK
SYNTHESIS
LINKED_INVENTORY

MENTION

MENTION = 'mention'

LINKED_TASK

LINKED_TASK = 'linkedTask'

SYNTHESIS

SYNTHESIS = 'synthesis'

LINKED_INVENTORY

LINKED_INVENTORY = 'linkedInventory'

Bases: BaseResource

A link in Albert.

Attributes:

Name Type Description
parent EntityLink

The parent entity of the link.

child EntityLink

The child entity of the link.

category LinkCategory

The category of the link. Allowed values are mention, linkedTask, and synthesis.

id str | None

The Albert ID of the link. Set when the link is retrieved from Albert.

counter int | None

The counter of the link. Optional.

parent

parent: EntityLink = Field(..., alias='Parent')

child

child: EntityLink = Field(..., alias='Child')

category

category: LinkCategory = Field(...)

counter

counter: int | None = Field(default=None)

id

id: str | None = Field(default=None, alias='albertId')