code: def get_inputs(node, kwargs):
      
      name = node["name"]
      proc_nodes = kwargs["proc_nodes"]
      index_lookup = kwargs["index_lookup"]
      inputs = node["inputs"]
      attrs = node.get("attrs", {})
  
      input_nodes = []
      for ip in inputs:
          input_node_id = index_lookup[ip[0]]
          input_nodes.append(proc_nodes[input_node_id].name)
  
      return name, input_nodes, attrs
docs: Helper function to get inputs