Unverified Commit 5d10cf0f authored by Pascal M's avatar Pascal M Committed by GitHub

fix: error Class 'builtins.list' is not mapped (#1710)

parent 7b8a10f3
......@@ -106,7 +106,8 @@ class IndexingRunner:
document_id=dataset_document.id
).all()
db.session.delete(document_segments)
for document_segment in document_segments:
db.session.delete(document_segment)
db.session.commit()
# load file
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment