code: def __init__(self):
      self.paths = set()
      self.sortedpaths = []
      self.counter = count()
  
file_path: networkx/networkx/algorithms/simple_paths.py
imports: from heapq import heappop, heappush
  from itertools import count
  import networkx
  from networkx.algorithms.shortest_paths.weighted import _weight_function
  from networkx.utils import not_implemented_for, pairwise
label_desc: Use image node_id 1 to create a new PathBuffer object  with example: obj = PathBuffer()