parent
595e9b25ba
commit
e91dd28a76
1 changed files with 1 additions and 1 deletions
|
|
@ -410,7 +410,7 @@ class DocumentBatchIndexingEstimateApi(DocumentResource):
|
||||||
if dataset.data_source_type == 'upload_file':
|
if dataset.data_source_type == 'upload_file':
|
||||||
file_details = db.session.query(UploadFile).filter(
|
file_details = db.session.query(UploadFile).filter(
|
||||||
UploadFile.tenant_id == current_user.current_tenant_id,
|
UploadFile.tenant_id == current_user.current_tenant_id,
|
||||||
UploadFile.id in info_list
|
UploadFile.id.in_(info_list)
|
||||||
).all()
|
).all()
|
||||||
|
|
||||||
if file_details is None:
|
if file_details is None:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue