code: def exception_handler(func):
      def inner_function(*args, **kwargs):
          try:
              return func(*args, **kwargs)
          except StatusThrown as e:
              raise translate_status(e.status) from e
  
      return inner_function
  
imports: from concurrent import futures
  import datetime
  from typing import List, Optional, Union
  import zoneinfo
  from courier.python import py_client
  import numpy
  from pybind11_abseil.status import StatusNotOk
  from pybind11_abseil.status import StatusNotOk
label_desc: Use image node_id 2 for calling a global function with example usage: exception_handler(func) and returns: inner_function, func