MCPcopy Create free account
hub / github.com/ddbourgin/numpy-ml / __repr__

Method __repr__

numpy_ml/utils/data_structures.py:22–24  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

20 self.priority = priority
21
22 def __repr__(self):
23 fstr = "PQNode(key={}, val={}, priority={}, entry_id={})"
24 return fstr.format(self.key, self.val, self.priority, self.entry_id)
25
26 def to_dict(self):
27 """Return a dictionary representation of the node's contents"""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected