Skip to content

Enums

albert.core.shared.enums

OrderBy

Bases: str, Enum

Sort direction for list and search results.

Attributes:

Name Type Description
DESCENDING str

Reverse chronological or reverse alphabetical order (Z→A, newest→oldest).

ASCENDING str

Chronological or alphabetical order (A→Z, oldest→newest).

DESCENDING

DESCENDING = 'desc'

ASCENDING

ASCENDING = 'asc'

Status

Bases: str, Enum

The status of a resource.

Attributes:

Name Type Description
ACTIVE str

The resource is fully operational and visible in normal operations.

INACTIVE str

The resource is hidden from normal operations and disabled from use.

ACTIVE

ACTIVE = 'active'

INACTIVE

INACTIVE = 'inactive'

SecurityClass

Bases: str, Enum

The security (access control) class of a resource.

Attributes:

Name Type Description
SHARED str

Accessible to all members of the tenant.

RESTRICTED str

Access is restricted to specific teams or users.

CONFIDENTIAL str

Access is limited to designated users only.

PRIVATE str

Visible only to the owner. Used by Projects.

SHARED

SHARED = 'shared'

RESTRICTED

RESTRICTED = 'restricted'

CONFIDENTIAL

CONFIDENTIAL = 'confidential'

PRIVATE

PRIVATE = 'private'

PaginationMode

Bases: str, Enum

Internal pagination strategy used by the SDK.

Attributes:

Name Type Description
OFFSET str

Offset-based pagination using a numeric skip value.

KEY str

Cursor-based pagination using an opaque startKey / lastKey pair.

OFFSET

OFFSET = 'offset'

KEY

KEY = 'key'