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.

class documentation

A type for datetime.timedelta() objects.

Method __init__ Construct an Interval object.
Class Variable __slots__ Undocumented
def __init__(self, *, native: bool = True, second_precision: int | None = None, day_precision: int | None = None): (source)

Construct an Interval object.

Parameters
native:bool, optionalWhether to use the backend's native INTERVAL type, when supported (PostgreSQL, Oracle Database).
second_precision:int or None, optionalFractional seconds precision for native interval types.
day_precision:int or None, optionalDay precision for native interval types.
Returns
NoneThis method does not return a value.
__slots__: tuple = (source)

Undocumented