-
Notifications
You must be signed in to change notification settings - Fork 412
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
feat: add info
command
#3707
feat: add info
command
#3707
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Does this depend on an Argilla Server specific version? If so, shouldn't we check the server version before calling the api/_info
endpoint? Also I'd suggest you to add this to the ISSUE_TEMPLATE
files when applicable to point users to python -m argilla info
when fulfilling the details of the Argilla version they are using (mentioning that's obviously just supported from 1.16.0 onwards)
@alvarobartt the server version shouldn't affect because |
Codecov ReportPatch coverage is
📢 Thoughts on this report? Let us know!. |
The URL of the deployed environment for this PR is https://argilla-quickstart-pr-3707-ki24f765kq-no.a.run.app |
Description
This PR adds a new command
python -m argilla info
that prints basic information about the Argilla client and connected server.In addition, this PR adds a new method to
argilla.client.apis.status.Status
class to call theGET /api/_status
endpoint of the server to get info about the server version and the elasticsearch instance used.Closes #3704
Type of change
How Has This Been Tested
(Please describe the tests that you ran to verify your changes. And ideally, reference
tests
)Checklist
CHANGELOG.md
file (See https://keepachangelog.com/)