class_docstr: Configuration for FrameInfo, either in the constructor or the .stack_data classmethod.
  These all determine which Lines and gaps are produced by FrameInfo.lines. 
  
  before and after are the number of pieces of context to include in a frame
  in addition to the executing piece.
  
  include_signature is whether to include the function signature as a piece in a frame.
  
  If a piece (other than the executing piece) has more than max_lines_per_piece lines,
  it will be truncated with a gap in the middle. 
class_docstr_tok: ["Configuration","for","FrameInfo",",","either","in","the","constructor","or","the",".stack_data","classmethod",".","These","all","determine","which","Lines","and","gaps","are","produced","by","FrameInfo.lines",".","before","and","after","are","the","number","of","pieces","of","context","to","include","in","a","frame","in","addition","to","the","executing","piece",".","include_signature","is","whether","to","include","the","function","signature","as","a","piece","in","a","frame",".","If","a","piece","(","other","than","the","executing","piece",")","has","more","than","max_lines_per_piece","lines",",","it","will","be","truncated","with","a","gap","in","the","middle","."]
code: def __init__(
      self,
      *,
      before: int = 3,
      after: int = 1,
      include_signature: bool = False,
      max_lines_per_piece: int = 6,
      pygments_formatter=None,
      blank_lines=BlankLines.HIDDEN,
  ):
      self.before = before
      self.after = after
      self.include_signature = include_signature
      self.max_lines_per_piece = max_lines_per_piece
      self.pygments_formatter = pygments_formatter
      self.blank_lines = blank_lines
  
imports: import ast
  import html
  import os
  import sys
  from collections import defaultdict, Counter
  from enum import Enum
  from textwrap import dedent
  from types import FrameType, CodeType, TracebackType
  from typing import Iterator, List, Tuple, Optional, NamedTuple, Any, Iterable, Callable, Union, Sequence
  from typing import Mapping
  import executing
  from asttokens.util import Token
  from executing import only
  from pure_eval import Evaluator, is_expression_interesting
  from stack_data.utils import truncate, unique_in_order, line_range, frame_and_lineno, iter_stack, collapse_repeated, group_by_key_func, cached_property, is_frame, _pygmented_with_ranges, assert_
label_desc: Use image node_id 1 to create a new Options object  with example: obj = Options()