MCPcopy Create free account
hub / github.com/Enfoirer/Text2GraphRAG / _insert_start

Method _insert_start

nano_graphrag/graphrag.py:350–358  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

348 await self._insert_done()
349
350 async def _insert_start(self):
351 tasks = []
352 for storage_inst in [
353 self.chunk_entity_relation_graph,
354 ]:
355 if storage_inst is None:
356 continue
357 tasks.append(cast(StorageNameSpace, storage_inst).index_start_callback())
358 await asyncio.gather(*tasks)
359
360 async def _insert_done(self):
361 tasks = []

Callers 1

ainsertMethod · 0.95

Calls 1

index_start_callbackMethod · 0.45

Tested by

no test coverage detected