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

Add a --bucket flag to dagshub download cli #452

Merged
merged 2 commits into from
Mar 31, 2024
Merged

Conversation

kbolashev
Copy link
Member

Keeping things consistent with dagshub upload, after adding a --bucket flag there, the dagshub download function is now inconsistent and downloading a file from the bucket requires knowing the name of the repo, so:

dagshub download user/repo s3:/repo/data data

After this PR the behavior with the upload is preserved, so same command can be done like this:

dagshub download --bucket user/repo data data

Also ran ruff formatter, so apologies for the reformat

@kbolashev kbolashev self-assigned this Mar 25, 2024
Copy link

dagshub bot commented Mar 25, 2024

@kbolashev
Copy link
Member Author

dagshub/common/cli.py Outdated Show resolved Hide resolved
dagshub/common/cli.py Outdated Show resolved Hide resolved
@kbolashev kbolashev merged commit bc63489 into master Mar 31, 2024
8 checks passed
@kbolashev kbolashev deleted the cli/download-bucket branch March 31, 2024 15:00
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.

None yet

2 participants