code: def _traced_call_static(name, fnc):
      class WrapperStatic(object):
          @staticmethod
          def _traced_call_int(*args, **kwargs):
              _log_stderr(name, fnc, args, kwargs, False)
              r = None
              try:
                  ret = fnc(*args, **kwargs)
              except Exception as ex:
                  r = ex
              _log_stderr(name, fnc, args, kwargs, True)
              if r:
                  raise r
              return ret
  
      return WrapperStatic.__dict__["_traced_call_int"]
  
file_path: clearml/clearml/debugging/trace.py
imports: import os
  import sys
  import threading
  import inspect
  import time
  import zipfile
label_desc: Use image node_id 6 for calling a global function with example usage: _traced_call_static(name, fnc) and returns: WrapperStatic, ret