MCPcopy Create free account
hub / github.com/bterwijn/memory_graph / add_index

Method add_index

memory_graph/html_table.py:60–64  ·  view source on GitHub ↗

Add an index s to the table.

(self, s)

Source from the content-addressed store, hash-verified

58 self.row_count += 1
59 if self.col_count > self.max_col_count:
60 self.max_col_count = self.col_count
61 self.col_count = 0
62
63 def check_add_new_line(self):
64 """ Check if a new line should be added to the table, and if so add it and sets the 'add_new_line_flag' to False."""
65 if self.add_new_line_flag:
66 self.add_row()
67 self.add_new_line_flag = False

Callers

nothing calls this directly

Calls 1

check_add_new_lineMethod · 0.95

Tested by

no test coverage detected