lightning_template.utils.callbacks.set_rich_traceback_handler
=============================================================

.. py:module:: lightning_template.utils.callbacks.set_rich_traceback_handler


Classes
-------

.. autoapisummary::

   lightning_template.utils.callbacks.set_rich_traceback_handler.SetRichTracebackHandlerCallback


Module Contents
---------------

.. py:class:: SetRichTracebackHandlerCallback(width: Optional[int] = 100, extra_lines: int = 3, theme: Optional[str] = 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: Optional[bool] = None, indent_guides: bool = True, max_frames: int = 100)

   Bases: :py:obj:`lightning.pytorch.Callback`


   Abstract base class used to build new callbacks.

   Subclass this class and override any of the relevant hooks



   .. py:attribute:: width
      :value: 100



   .. py:attribute:: extra_lines
      :value: 3



   .. py:attribute:: theme
      :value: None



   .. py:attribute:: word_wrap
      :value: False



   .. py:attribute:: show_locals
      :value: False



   .. py:attribute:: locals_max_length


   .. py:attribute:: locals_max_string


   .. py:attribute:: locals_hide_dunder
      :value: True



   .. py:attribute:: locals_hide_sunder
      :value: None



   .. py:attribute:: indent_guides
      :value: True



   .. py:attribute:: max_frames
      :value: 100



