Skip to content

Commit 805fd9f

Browse files
authored
new: params property in index (#380)
1 parent c2b88b0 commit 805fd9f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

arango/formatter.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,10 @@ def format_index(body: Json, formatter: bool = True) -> Json:
116116
if "optimizeTopK" in body:
117117
result["optimizeTopK"] = body["optimizeTopK"]
118118

119+
# Introduced via Vector Index in 3.12.6
120+
if "params" in body:
121+
result["params"] = body["params"]
122+
119123
return verify_format(body, result)
120124

121125

0 commit comments

Comments
 (0)