Skip to content

Notes

albert.resources.notes

Bases: EntityLinkWithName

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

Attributes:

Name Type Description
key str | None
file_size int | None
signed_url str | None

key

key: str | None = None

file_size

file_size: int | None = Field(
    default=None, alias="fileSize"
)

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, frozen=True, alias="Attachments"
)