Fix bugs in API (#3204)

### What problem does this PR solve?

Fix bugs in API

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)

---------

Co-authored-by: liuhua <10215101452@stu.ecun.edu.cn>
This commit is contained in:
liuhua
2024-11-05 14:07:31 +08:00
committed by GitHub
parent 7e89be5ed1
commit a7bf4ca8fc
8 changed files with 22 additions and 22 deletions

View File

@ -45,7 +45,7 @@ def test_list_documents_in_dataset_with_success(get_api_key_fixture):
blob = b"Sample document content for test."
document_infos = [{"displayed_name": "test.txt","blob":blob}]
ds.upload_documents(document_infos)
ds.list_documents(keywords="test", page=0, page_size=12)
ds.list_documents(keywords="test", page=1, page_size=12)