MCPcopy Create free account
hub / github.com/daniel2005d/mapXplore / export_content_seed

Method export_content_seed

middle/data_operation.py:156–165  ·  view source on GitHub ↗
(self, limit:int=10)

Source from the content-addressed store, hash-verified

154 AnsiPrint.print_info(locale.get("cannot_export"))
155
156 def export_content_seed(self, limit:int=10):
157 content:list[Result] = []
158 self._create_dbCursor()
159 tables = self._cursor.search_tables(filter=None)
160 for tbl in tables.rows:
161 result = self._cursor.get_rows(tbl[0], limit=limit)
162 content.append(result)
163
164 file = self._export_manager.save_content(content)
165 AnsiPrint.print_locale("saved_results",saved=file)
166
167 def table_count_rows(self):
168 self._create_dbCursor()

Callers 1

do_exportMethod · 0.80

Calls 6

_create_dbCursorMethod · 0.95
save_contentMethod · 0.80
print_localeMethod · 0.80
search_tablesMethod · 0.45
get_rowsMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected