Skip to content

Companies

albert.resources.companies

Company

Bases: BaseResource

Company is a Pydantic model representing a company entity.

Attributes:

Name Type Description
name str

The name of the company.

id str | None

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

distance float | None

The scores of a company in a search result, optional. Read-only.

name

name: str

id

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

distance

distance: float | None = Field(
    default=None, exclude=True, frozen=True
)