code: def _get_nonstreamlit_traceback(
      extracted_tb: traceback.StackSummary,
  ) -> List[traceback.FrameSummary]:
      return [
          entry
          for entry in extracted_tb
          if not _is_in_streamlit_package(entry.filename)
      ]
  
file_path: streamlit/lib/streamlit/elements/exception.py
imports: import os
  import traceback
  from typing import TYPE_CHECKING, List, Optional, cast
  from typing_extensions import Final
  import streamlit
  from streamlit.errors import MarkdownFormattedException, StreamlitAPIException, StreamlitAPIWarning, StreamlitDeprecationWarning, UncaughtAppException
  from streamlit.logger import get_logger
  from streamlit.proto.Exception_pb2 import Exception
  from streamlit.runtime.metrics_util import gather_metrics
label_desc: Use image node_id 5 for calling a global function with example usage: _get_nonstreamlit_traceback(extracted_tb) and returns: unknown