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
Represent the outcome of a test execution.
| Instance Variable | class |
Name of the class containing the test, if applicable. |
| Instance Variable | doc |
Docstring of the test, if applicable. |
| Instance Variable | error |
Error message if the test failed, otherwise None. |
| Instance Variable | exception |
Name of the raised exception class if an error occurred, otherwise None. |
| Instance Variable | execution |
Time taken to execute the test, in seconds. |
| Instance Variable | file |
Path to the file containing the test, if applicable. |
| Instance Variable | id |
Unique identifier for the test result. |
| Instance Variable | line |
Source line associated with the failure, if available. |
| Instance Variable | method |
Name of the method representing the test, if applicable. |
| Instance Variable | module |
Name of the module containing the test, if applicable. |
| Instance Variable | name |
Name of the test. |
| Instance Variable | source |
Source line numbers and text surrounding the failure. |
| Instance Variable | status |
Status of the test execution (e.g., passed, failed). |
| Instance Variable | traceback |
Formatted traceback lines if an error occurred, otherwise None. |
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 | __post |
Provide a no-op hook for subclass validation and normalization. |
| 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. |