Each row in order, let go as it is taken, so a graph built from them never holds both.
(rows: list)
| 734 | |
| 735 | |
| 736 | def 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 | |
| 743 | def consumed_graph_rows(data: dict) -> dict: |
no outgoing calls