lightning_template.utils.callbacks.set_rich_traceback_handler#
Classes#
Abstract base class used to build new callbacks. |
Module Contents#
- class lightning_template.utils.callbacks.set_rich_traceback_handler.SetRichTracebackHandlerCallback(width: int | None = 100, extra_lines: int = 3, theme: str | None = None, word_wrap: bool = False, show_locals: bool = False, locals_max_length: int = LOCALS_MAX_LENGTH, locals_max_string: int = LOCALS_MAX_STRING, locals_hide_dunder: bool = True, locals_hide_sunder: bool | None = None, indent_guides: bool = True, max_frames: int = 100)#
Bases:
lightning.pytorch.CallbackAbstract base class used to build new callbacks.
Subclass this class and override any of the relevant hooks
- width = 100#
- extra_lines = 3#
- theme = None#
- word_wrap = False#
- show_locals = False#
- locals_max_length#
- locals_max_string#
- locals_hide_dunder = True#
- locals_hide_sunder = None#
- indent_guides = True#
- max_frames = 100#