code: def print_object_fields(obj):
      """list values all fields of an object known to SWIG"""
  
      for name in obj.__class__.__swig_getmethods__:
          print(f"{name} = {getattr(obj, name)}")
  
file_path: faiss/contrib/inspect_tools.py
imports: import numpy
  import faiss
label_desc: Use image node_id 3 for calling a global function with example usage: print_object_fields(obj) without return types