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 Connections(BaseEntity): (source)
Represent all database connections used by the application.
| Method | __post |
Validate and convert database connection attributes after initialization. |
| Instance Variable | mysql |
Configuration for the MySQL database connection. |
| Instance Variable | oracle |
Configuration for the Oracle database connection. |
| Instance Variable | pgsql |
Configuration for the PostgreSQL database connection. |
| Instance Variable | sqlite |
Configuration for the SQLite database connection. |
| Instance Variable | sqlserver |
Configuration for the Microsoft SQL Server database connection. |
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 |
Validate and convert database connection attributes after initialization.
Ensures every connection attribute is an instance of its entity class, converting from a dictionary when needed.
| Returns | |
None | This method does not return a value. |
| Raises | |
TypeError | If any attribute is not an instance of its expected class or dict. |