Explorar el Código

refine mindmap (#1844)

### What problem does this PR solve?



### Type of change

- [x] Refactoring
tags/v0.10.0
Kevin Hu hace 1 año
padre
commit
7bc9742674
No account linked to committer's email address
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      graphrag/index.py

+ 1
- 1
graphrag/index.py Ver fichero

@@ -43,7 +43,7 @@ def be_children(obj: dict, keyset:set):
keyset.add(k)
arr.append({
"id": k,
"children": be_children(v, keyset) if isinstance(v, dict) else []
"children": be_children(v, keyset)
})
return arr


Cargando…
Cancelar
Guardar