Skip to content

Props

props

Page property values especially for pages within databases. The names of the properties reflect the name in the Notion UI.

T = TypeVar('T', bound=obj_props.PropertyValue) module-attribute

Checkbox(values: Any | Sequence[Any])

Simple checkbox type; represented as a boolean.

value: bool | None property

CreatedBy(values: Any | Sequence[Any])

Created-by property value.

readonly = True class-attribute instance-attribute

value: User property

CreatedTime(values: Any | Sequence[Any])

Created-time property value.

readonly = True class-attribute instance-attribute

value: pnd.DateTime property

Date(dt_spec: str | dt.datetime | dt.date | pnd.Interval)

Date(-time) property value.

obj_ref = obj_props.Date.build(dt_spec) instance-attribute

value: pnd.DateTime | pnd.Date | pnd.Interval | None property

Email(values: Any | Sequence[Any])

Email property value.

value: str | None property

Files(files: FileInfo | Sequence[FileInfo])

Files property value.

value: list[FileInfo] property

Formula(values: Any | Sequence[Any])

Formula property value.

readonly = True class-attribute instance-attribute

value: str | float | int | pnd.DateTime | pnd.Date | pnd.Interval | None property

value_type: FormulaType | None property

ID(values: Any | Sequence[Any])

Unique ID property value.

readonly = True class-attribute instance-attribute

value: str property

LastEditedBy(values: Any | Sequence[Any])

Last-edited-by property value.

readonly = True class-attribute instance-attribute

value: User property

LastEditedTime(values: Any | Sequence[Any])

Last-edited-time property value.

readonly = True class-attribute instance-attribute

value: pnd.DateTime property

MultiSelect(options: str | Option | Sequence[str | Option])

Multi-select property value.

value: list[Option] | None property

Number(values: Any | Sequence[Any])

Number property value.

value: int | float | None property

People(users: User | Sequence[User])

People property value.

value: list[User] property

PhoneNumber(values: Any | Sequence[Any])

Phone property value.

value: str | None property

PropertyValue(values: Any | Sequence[Any])

Base class for Notion property values.

Used to map high-level objects to low-level Notion-API objects

id: str property

readonly: bool = False class-attribute instance-attribute

value: Any abstractmethod property

Return the actual Python value object of this property.

__eq__(other: object) -> bool

__init_subclass__(wraps: type[T], **kwargs: Any)

__repr__() -> str

__str__() -> str

Relations(pages: Page | Sequence[Page])

Relation property values.

value: list[Page] property

Rollup(values: Any | Sequence[Any])

Rollup property value.

readonly = True class-attribute instance-attribute

value: float | int | pnd.Date | pnd.DateTime | pnd.Interval | list[Any] | None property

value_type: RollupType | None property

Select(option: str | Option)

Single select property value.

value: Option | None property

Status(option: str | Option)

Status property value.

value: Option | None property

Text(text: str)

Rich text property value.

value: rt.Text property

Title(text: str)

Title property value.

value: rt.Text property

URL(values: Any | Sequence[Any])

URL property value.

value: str | None property

Verification(values: Any | Sequence[Any])

Verification property value of pages in wiki databases.

date: pnd.DateTime | None property

readonly = True class-attribute instance-attribute

state: VState property

value: Self property

verified_by: User | None property