ORIONIS API REFERENCE

THE ORIONIS API

Build with clarity.

Explore the building blocks of an async-first Python framework. Every module, class, and method — connected, searchable, and ready to build with.

module documentation

Framework-agnostic description of a database column.

Constant _DEFAULT_OPTION_VALUES Store the values used by columns with no type-specific options.
Constant _NO_DEFAULT Sentinel used to distinguish "no default" from a legitimate None default.
Constant _OPTION_FIELDS Field names copied from ColumnOptions onto every ColumnDefinition instance.
Constant _OPTION_GETTER Read every declared column option in declaration order.
_DEFAULT_OPTION_VALUES: tuple[Any, ...] = (source)

Store the values used by columns with no type-specific options.

Value
_OPTION_GETTER(ColumnOptions())
_NO_DEFAULT: object = (source)

Sentinel used to distinguish "no default" from a legitimate None default.

Value
object()
_OPTION_FIELDS: tuple[str, ...] = (source)

Field names copied from ColumnOptions onto every ColumnDefinition instance.

Value
tuple((field.name for field in fields(ColumnOptions)))
_OPTION_GETTER: Callable[[ColumnOptions], tuple[Any, ...]] = (source)

Read every declared column option in declaration order.

Value
operator.attrgetter(*_OPTION_FIELDS)