MCPcopy Create free account
hub / github.com/Graphify-Labs/graphify / consumed

Function consumed

graphify/paths.py:736–740  ·  view source on GitHub ↗

Each row in order, let go as it is taken, so a graph built from them never holds both.

(rows: list)

Source from the content-addressed store, hash-verified

734
735
736def consumed(rows: list):
737 """Each row in order, let go as it is taken, so a graph built from them never holds both."""
738 rows.reverse()
739 while rows:
740 yield rows.pop()
741
742
743def consumed_graph_rows(data: dict) -> dict:

Callers 6

_load_cli_graphFunction · 0.90
dispatch_commandFunction · 0.90
load_graphFunction · 0.90
_read_graphFunction · 0.90
consumed_graph_rowsFunction · 0.85

Calls

no outgoing calls