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
class SQLite(BaseEntity): (source)
Represent the SQLite database configuration.
| Method | __normalize |
Normalize foreign-key settings to SQLite enum values. |
| Method | __normalize |
Normalize the SQLite journal mode option. |
| Method | __normalize |
Normalize the SQLite synchronous option. |
| Method | __post |
Validate SQLite options and derive the informational URL when absent. |
| Instance Variable | busy |
The timeout period (in milliseconds) before retrying a locked database. |
| Instance Variable | database |
The path to the SQLite database file. |
| Instance Variable | driver |
The database driver being used, e.g., 'sqlite'. |
| Instance Variable | foreign |
Whether foreign key constraints are enabled. |
| Instance Variable | journal |
The journal mode used for transactions. |
| Instance Variable | prefix |
Prefix for table names. |
| Instance Variable | synchronous |
The synchronization level for the database. |
| Instance Variable | url |
Informational URL, derived from database when omitted. |
Inherited from BaseEntity:
| Class Method | _cached |
Retrieve field definitions and normalized types cached by class. |
| Method | get |
Describe field names, normalized types, defaults, and metadata. |
| Method | to |
Convert the dataclass instance to a recursively copied dictionary. |
| Class Variable | __slots__ |
Undocumented |
Normalize foreign-key settings to SQLite enum values.
| Returns | |
None | This method updates the frozen entity in place and returns no value. |
Normalize the SQLite journal mode option.
| Returns | |
None | This method updates the frozen entity in place and returns no value. |
Normalize the SQLite synchronous option.
| Returns | |
None | This method updates the frozen entity in place and returns no value. |
Validate SQLite options and derive the informational URL when absent.
| Returns | |
None | This method validates and normalizes the entity without returning a value. |
| Raises | |
TypeError | If a configured option has an invalid type. |
ValueError | If a configured option has an invalid value. |