Skip to content
This repository was archived by the owner on May 27, 2025. It is now read-only.

Commit f6463bb

Browse files
author
Gabriel Nieves
committed
fixed typo
1 parent 2d80505 commit f6463bb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

backend/graphrag_app/api/index.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ async def get_all_index_names(
172172
try:
173173
for item in container_store_client.read_all_items():
174174
if item["type"] == "index":
175-
items.append(item["human_readable_name"])
175+
items.append(item["human_readable_index_name"])
176176
except Exception as e:
177177
logger = load_pipeline_logger()
178178
logger.error(

backend/graphrag_app/utils/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ def desanitize_name(sanitized_container_name: str) -> str | None:
202202
try:
203203
return container_store_client.read_item(
204204
sanitized_container_name, sanitized_container_name
205-
)["human_readable_name"]
205+
)["human_readable_index_name"]
206206
except exceptions.CosmosResourceNotFoundError:
207207
return None
208208
except Exception:

0 commit comments

Comments
 (0)