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

Configure the optional persistent login cookie separately from sessions.

Method __post_init__ Validate persistent login cookie settings.
Instance Variable cookie Name of the persistent login cookie.
Instance Variable lifetime Lifetime of the persistent login cookie, in minutes.
Instance Variable secure Whether the persistent login cookie requires a secure connection.

Inherited from BaseEntity:

Class Method _cachedFieldMetadata Retrieve field definitions and normalized types cached by class.
Method __init__ Initialize declared fields and public extra attributes.
Method _dynamicAttributes Return public instance attributes that are not declared fields.
Method _validateExtraNames Validate names and storage for public extra attributes.
Method getFields Describe declared fields and, optionally, dynamic attributes.
Method toDict Return a recursively copied dictionary of declared and extra values.
Class Variable __slots__ Declare that this class introduces no additional instance slots.
Class Variable _orionis_field_metadata Cache declared fields and normalized type names for each concrete class.
def __post_init__(self): (source)

Validate persistent login cookie settings.

Returns
NoneCompletes validation without returning a value.
Raises
ValueErrorIf the cookie name, lifetime, or prefixed-cookie security is invalid.
TypeErrorIf secure is not a boolean.

Name of the persistent login cookie.

lifetime: int = (source)

Lifetime of the persistent login cookie, in minutes.

Whether the persistent login cookie requires a secure connection.