Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

create list_dataset api and tests #1138

Merged
merged 4 commits into from
Jun 17, 2024

Conversation

cecilia-uu
Copy link
Contributor

@cecilia-uu cecilia-uu commented Jun 12, 2024

What problem does this PR solve?

This PR have completed both HTTP API and Python SDK for 'list_dataset". In addition, there are tests for it.

Type of change

  • New Feature (non-breaking change which adds functionality)

api/apps/dataset_api.py Outdated Show resolved Hide resolved
api/apps/dataset_api.py Outdated Show resolved Hide resolved
api/apps/dataset_api.py Outdated Show resolved Hide resolved
sdk/__init__.py Outdated Show resolved Hide resolved
sdk/python/__init__.py Outdated Show resolved Hide resolved
sdk/python/__init__.py Outdated Show resolved Hide resolved
…e, added more tests and polished create_dataset api
Copy link
Contributor

@JinHai-CN JinHai-CN left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test cases are not enough.

@JinHai-CN
Copy link
Contributor

Please add these test cases in dataset_test.py:

  1. No any knowledge base, expect list API to get empty result.
  2. Create 100 knowledge base, expect list API will return 100 result with expected name.

@JinHai-CN JinHai-CN merged commit 1eb4caf into infiniflow:main Jun 17, 2024
1 check passed
@cecilia-uu cecilia-uu deleted the list_dataset_api branch July 2, 2024 06:16
Halfknow pushed a commit to Halfknow/ragflow that referenced this pull request Nov 11, 2024
### What problem does this PR solve?

This PR have completed both HTTP API and Python SDK for 'list_dataset".
In addition, there are tests for it.

### Type of change

- [x] New Feature (non-breaking change which adds functionality)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants