mirror of
https://github.com/Azure-Samples/graphrag-accelerator.git
synced 2025-06-27 04:39:57 +00:00
fixed typo
This commit is contained in:
parent
2d805053ad
commit
f6463bb2b3
@ -172,7 +172,7 @@ async def get_all_index_names(
|
||||
try:
|
||||
for item in container_store_client.read_all_items():
|
||||
if item["type"] == "index":
|
||||
items.append(item["human_readable_name"])
|
||||
items.append(item["human_readable_index_name"])
|
||||
except Exception as e:
|
||||
logger = load_pipeline_logger()
|
||||
logger.error(
|
||||
|
@ -202,7 +202,7 @@ def desanitize_name(sanitized_container_name: str) -> str | None:
|
||||
try:
|
||||
return container_store_client.read_item(
|
||||
sanitized_container_name, sanitized_container_name
|
||||
)["human_readable_name"]
|
||||
)["human_readable_index_name"]
|
||||
except exceptions.CosmosResourceNotFoundError:
|
||||
return None
|
||||
except Exception:
|
||||
|
Loading…
x
Reference in New Issue
Block a user