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.
Implement synchronous dumping independently of application boot.
Use orionis.support.facades.Debug after boot to access the registered service through the container. Direct calls remain available for standalone scripts and debugging during application initialization.
| Static Method | dd |
Dump variables and stop the current execution context. |
| Static Method | dump |
Dump variables to the console for debugging. |
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)
¶
Dump variables and stop the current execution context.
Notes
During debug HTTP dispatch, the kernel sends the HTML dump and stops only the current request. The source filename and line are captured before unwinding to the renderer. Outside HTTP, print to the console and terminate the process as configured.
| 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. |
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)
¶
Dump 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. |