code: def __str__(self):
      res = "<"
      edge_count = self.edge_count()
      for i in range(0, edge_count):
          node_id = self.get_node(i).id
          res += "(" + str(node_id) + ")"
          edge = self.get_relationship(i)
          res += (
              "-[" + str(int(edge.id)) + "]->"
              if edge.src_node == node_id
              else "<-[" + str(int(edge.id)) + "]-"
          )
      node_id = self.get_node(edge_count).id
      res += "(" + str(node_id) + ")"
      res += ">"
      return res
  
file_path: catboost/contrib/python/redis/py3/redis/commands/graph/path.py
imports: from .edge import Edge
  from .node import Node
label_desc: Use image node_id 14 for calling the Path obj's underlying member method code with example usage: obj.__str__() and returns: res