code: def first_node(self):
      return self._nodes[0]
  
file_path: redis-py/redis/commands/graph/path.py
imports: from .edge import Edge
  from .node import Node
label_desc: Use image node_id 7 for calling the Path obj's underlying member method code with example usage: obj.first_node() and returns: self