Skip to content

Commit 6ef421f

Browse files
committed
Force fix faulty id concat
1 parent 19c0a4d commit 6ef421f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

business_objects/embedding.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,8 @@ def get_attributes_for_qdrant(
358358
WHERE r.project_id = '{project_id}'
359359
"""
360360
if record_ids:
361-
query += f" AND r.id IN ('{','.join(record_ids)}')"
361+
_record_ids = "','".join(record_ids)
362+
query += f" AND r.id IN ('{_record_ids}')"
362363
return general.execute_all(query)
363364

364365

0 commit comments

Comments
 (0)