-
Notifications
You must be signed in to change notification settings - Fork 377
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
[FEATURE] Add list datasets command python -m argilla datasets list
#3591
Comments
gabrielmbmb
changed the title
Add list datasets command
[FEATURE] Add list datasets command Aug 22, 2023
python -m argilla datasets list
python -m argilla datasets list
10 tasks
alvarobartt
added a commit
that referenced
this issue
Aug 23, 2023
…3619) # Description This PR adds the class method `list` in `ArgillaMixin`, also renamed from `ArgillaToFromMixin`. This way, users can call `FeedbackDataset.list()` to list all the `FeedbackDataset` datasets in Argilla. Additionally, `list` includes the arg `workspace` so that users can also specify the `workspace` that they want to list from, in case those are assigned to more than one workspace. Closes #3413 Mentioned #3521 #3591 **Type of change** - [X] New feature (non-breaking change which adds functionality) **How Has This Been Tested** - [X] Add integration tests for `FeedbackDataset.list` (producing a list of `RemoteFeedbackDataset`) **Checklist** - [X] I added relevant documentation - [X] follows the style guidelines of this project - [X] I did a self-review of my code - [ ] I made corresponding changes to the documentation - [ ] My changes generate no new warnings - [X] I have added tests that prove my fix is effective or that my feature works - [ ] I filled out [the contributor form](https://tally.so/r/n9XrxK) (see text above) - [x] I have added relevant notes to the CHANGELOG.md file (See https://keepachangelog.com/) --------- Co-authored-by: Gabriel Martín Blázquez <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
gabrielmbmb
added a commit
that referenced
this issue
Aug 30, 2023
# Description This PR adds a new command `python -m argilla datasets list` which allows to list the datasets from the logged Argilla server in the terminal. <img width="1512" alt="image" src="https://github.com/argilla-io/argilla/assets/29572918/5322b963-66aa-4926-bbb7-8fb9844a3365"> Closes #3591 **Type of change** - [x] New feature (non-breaking change which adds functionality) **How Has This Been Tested** I've created a custom environment, used the `python -m argilla login` command to login in it and then list the datasets from this environment using the new command. All the datasets were listed. Applying workspace filter worked. Applying dataset kind filter worked. Additionally, I've added unit tests to cover all the additions. **Checklist** - [ ] I added relevant documentation - [x] I followed the style guidelines of this project - [x] I did a self-review of my code - [ ] I made corresponding changes to the documentation - [x] My changes generate no new warnings - [x] I have added tests that prove my fix is effective or that my feature works - [ ] I filled out [the contributor form](https://tally.so/r/n9XrxK) (see text above) - [x] I have added relevant notes to the `CHANGELOG.md` file (See https://keepachangelog.com/) --------- Co-authored-by: alvarobartt <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No description provided.
The text was updated successfully, but these errors were encountered: