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
Define the contract for dumper implementations.
| Static Method | dd |
Dump variables and stop the current execution context. |
| Static Method | dump |
Dump variables to the console for debugging. |
def dd(*args:
tuple[ Any], show_types: bool = False, show_index: bool = False, expand_all: bool = True, max_depth: int | None = None, module_path: str | None = None, line_number: int | None = None, redirect_output: bool = False, insert_line: bool = False):
(source)
¶
overridden in
orionis.console.DumperDump variables and stop the current execution context.
Notes
Debug HTTP requests receive an HTML response without terminating the server. Source filename and line are captured at the dump call, before HTTP exception handling. Console calls retain their termination behavior.
| Parameters | |
*args:typing.Any | Variables to dump. |
showbool, optional | Whether to show variable types. Default is False. |
showbool, optional | Whether to show index for each variable. Default is False. |
expandbool, optional | Whether to expand all nested structures. Default is True. |
maxint or None, optional | Maximum depth for expansion. Default is None. |
modulestr or None, optional | Source path for the header. HTTP defaults to the caller's filename. |
lineint or None, optional | Line number of the call. Default is None. |
redirectbool, optional | Whether to redirect output. Default is False. |
insertbool, optional | Whether to insert a separating line before output. Default is False. |
| Returns | |
None | This method does not return a value. |
| Raises | |
RuntimeError | If HTTP dumping is attempted outside debug request dispatch. |
def dump(*args:
tuple[ Any], show_types: bool = False, show_index: bool = False, expand_all: bool = True, max_depth: int | None = None, module_path: str | None = None, line_number: int | None = None, redirect_output: bool = False, insert_line: bool = False):
(source)
¶
overridden in
orionis.console.DumperDump variables to the console for debugging.
| Parameters | |
*args:typing.Any | Variables to dump. |
showbool, optional | Whether to show variable types. Default is False. |
showbool, optional | Whether to show index for each variable. Default is False. |
expandbool, optional | Whether to expand all nested structures. Default is True. |
maxint or None, optional | Maximum depth for expansion. Default is None. |
modulestr or None, optional | Path of the calling module. Default is None. |
lineint or None, optional | Line number of the call. Default is None. |
redirectbool, optional | Whether to redirect output. Default is False. |
insertbool, optional | Whether to insert a separating line before output. Default is False. |
| Returns | |
None | This method does not return a value. |