code: def _get_caller(offset=3):
      """Returns a code and frame object for the lowest non-logging stack frame."""
      # Use sys._getframe().  This avoids creating a traceback object.
      # pylint: disable=protected-access
      f = _sys._getframe(offset)
      # pylint: enable=protected-access
      our_file = f.f_code.co_filename
      f = f.f_back
      while f:
          code = f.f_code
          if code.co_filename != our_file:
              return code, f
          f = f.f_back
      return None, None
  
file_path: autodist/autodist/utils/logging.py
imports: import datetime
  import logging
  import os
  import sys
  import threading
  import traceback
  import autodist.const
label_desc: Use image node_id 1 for calling a global function with example usage: _get_caller(offset) and returns: None,  None, code,  f