original dataset update issue (#8935)

This commit is contained in:
Jyong 2024-09-30 21:17:12 +08:00 committed by GitHub
parent d2ce4960f1
commit a651b73db0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -250,6 +250,8 @@ class DatasetService:
db.session.commit()
else:
data.pop("partial_member_list", None)
data.pop("external_knowledge_api_id", None)
data.pop("external_knowledge_id", None)
filtered_data = {k: v for k, v in data.items() if v is not None or k == "description"}
action = None
if dataset.indexing_technique != data["indexing_technique"]: