新增属性图的配置
This commit is contained in:
@@ -40,7 +40,7 @@ class PropertyGraph:
|
||||
if GRAPH_STORE_TYPE == 'neo4j':
|
||||
index = PropertyGraphIndex.from_existing(property_graph_store= get_Neo4j_Graph_Store(self._prjFlag))
|
||||
else:
|
||||
GRAPH_STORAGE_DIR = os.getenv("GRAPH_STORAGE_DIR", "storage_graph")
|
||||
GRAPH_STORAGE_DIR = os.getenv("GRAPH_STORAGE_PATH", "storage_graph")
|
||||
prjCachePath = GRAPH_STORAGE_DIR + f"/{self._prjFlag}"
|
||||
if not os.path.exists(prjCachePath):
|
||||
return None
|
||||
|
||||
Reference in New Issue
Block a user