deepset-ai / deepset-ai/deepset-cloud-sdk
Add an optional limit to downloaded files
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 16
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Description
User Story
The current implementation of download files (which is already really nice to have) always downloads a whole corpus. Though sometimes one wants to download just a smaller sample of the corpus to do experiments with. Therefore it would be nice to have the option to set a maximum amount of files to download.
Behaviour:
CLI:
deepset-cloud download --limit 100
SDK
download(limit=100)
to download just a subset of files
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the existing download CLI command and SDK download entry point. Trace how files are selected and verify how both interfaces pass options through. Done means --limit 100 and download(limit=100) each download no more than 100 files while preserving the current behavior when no limit is provided.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api, cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100