code: def center(obj_list):
      if not isinstance(obj_list, (list, tuple)):
          obj_list = [obj_list]
  
      prev_pos = {obj: copy.copy(obj.location) for obj in obj_list}
      for obj in obj_list:
          obj.location = (0, 0, 0)
  
      yield
  
      for obj in obj_list:
          obj.location = prev_pos[obj]
  
imports: import contextlib
  import copy
  import json
  import pathlib
  import tarfile
  import shutil
  import numpy
  import trimesh
  from kubric.safeimport.bpy import bpy
label_desc: Use image node_id 9 for calling a global function with example usage: center(obj_list) without return types