code: def get_so_paths(dir_name):
      dir_name = os.path.join(os.path.dirname(__file__), dir_name)
      list_dir = os.listdir(dir_name) if os.path.isdir(dir_name) else []
      return [
          os.path.join(dir_name, so_name)
          for so_name in list_dir
          if so_name.split(".")[-1] in ["so", "pyd"]
      ]
  
imports: import sys
  import os
  from six import iteritems
  from enum import IntEnum
  from contextlib import contextmanager
  import json
label_desc: Use image node_id 1 for calling a global function with example usage: get_so_paths(dir_name) and returns: unknown