code: def get_user_code_stack_level():
      call_stack = traceback.extract_stack()
      for level, stack_frame in enumerate(reversed(call_stack)):
          if path_to_root_module not in stack_frame.filename:
              return level
      return 2
  
file_path: neptune-client/src/neptune/common/warnings.py
imports: import os
  import traceback
  import warnings
  import neptune
label_desc: Use image node_id 1 for calling a global function with example usage: get_user_code_stack_level() and returns: int, level