fix to graph config
This commit is contained in:
parent
c9b2a06dff
commit
91864dc681
1 changed files with 2 additions and 0 deletions
|
|
@ -148,6 +148,8 @@ async def cognify(datasets: Union[str, List[str]] = None):
|
|||
|
||||
for (dataset_name, files) in dataset_files:
|
||||
for file_metadata in files:
|
||||
from cognee.infrastructure.databases.graph.config import get_graph_config
|
||||
graph_config = get_graph_config()
|
||||
graph_topology = graph_config.graph_model
|
||||
|
||||
if graph_topology == SourceCodeGraph:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue