code: def _get_skip(error: Exception):
      tb = traceback.format_exception(
          type(error), error, error.__traceback__
      )
      skip = 0
      for i, line in enumerate(tb):
          if "%% callback invoked %%" in line:
              skip = i + 1
              break
      return skip
  
imports: import asyncio
  import io
  import inspect
  import logging
  import os
  import queue
  import uuid
  import sys
  import threading
  import time
  import traceback
  from typing_extensions import Literal
  from werkzeug.serving import make_server
label_desc: Use image node_id 1 for calling a global function with example usage: _get_skip(error) and returns: skip