Skip to content

Notes

albert.resources.notes

Bases: EntityLink

Entity link for a note attachment w/ an optional signed download URL.

Attributes:

Name Type Description
signed_url str | None

signed_url

signed_url: str | None = Field(
    default=None, alias="signedURL"
)

Note

Bases: BaseResource

Represents a Note on the Albert Platform. Users can be mentioned in notes by using f-string and the User.to_note_mention() method. This allows for easy tagging and referencing of users within notes. example: f"Hello {tagged_user.to_note_mention()}!"

Attributes:

Name Type Description
parent_id str
note str
id str | None
attachments list[NoteAttachmentEntityLink] | None

parent_id

parent_id: str = Field(..., alias='parentId')

note

note: str

id

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

attachments

attachments: list[NoteAttachmentEntityLink] | None = Field(
    default=None,
    exclude=True,
    frozen=True,
    alias="Attachments",
)