Skip to content

Commit 818b31e

Browse files
committed
Update for ruff.
1 parent e6ba9e3 commit 818b31e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graphrag/api/query.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1092,7 +1092,7 @@ async def multi_drift_search(
10921092

10931093
# Update the context data by linking index names and community ids
10941094
context = {}
1095-
if type(result[1]) == dict:
1095+
if type(result[1]) is dict:
10961096
for key in result[1]:
10971097
context[key] = update_context_data(result[1][key], links)
10981098
else:

0 commit comments

Comments
 (0)