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 |
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 | _cached |
Retrieve field definitions and normalized types cached by class. |
| Method | __init__ |
Initialize declared fields and public extra attributes. |
| Method | _dynamic |
Return public instance attributes that are not declared fields. |
| Method | _validate |
Validate names and storage for public extra attributes. |
| Method | get |
Describe declared fields and, optionally, dynamic attributes. |
| Method | to |
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 |
Cache declared fields and normalized type names for each concrete class. |
Validate persistent login cookie settings.
| Returns | |
None | Completes validation without returning a value. |
| Raises | |
ValueError | If the cookie name, lifetime, or prefixed-cookie security is invalid. |
TypeError | If secure is not a boolean. |