-
Notifications
You must be signed in to change notification settings - Fork 187
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
CLI: progress bar added for verdi storage maintain
with disk_object_store
backend
#6562
base: main
Are you sure you want to change the base?
Conversation
Thanks @khsrali. The change makes sense, but I think it need a flag for |
I tried to stay with same convention of |
Okay, then can you move the change from backend to cmd module as in cmd_archive.py |
ok, pls check now. |
Actually, I don't like it now, spreading everything in separate files really reduces the readability of the code. |
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.
My main question about the position of set_progress_bar_tqdm
is: Should a user coming from the Python API also see the progress bar? If yes, then this needs to be in maintain
. Maybe one can stick for this PR with the consistency, if one does not have an answer to this question.
Agreed. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #6562 +/- ##
==========================================
+ Coverage 77.51% 77.84% +0.34%
==========================================
Files 560 566 +6
Lines 41444 41994 +550
==========================================
+ Hits 32120 32685 +565
+ Misses 9324 9309 -15 ☔ View full report in Codecov by Sentry. |
yeah, yeah, CI fails because |
@agoscinski I see
But I've not changed this file at all.. ? 🤔 This is crazy, I run it local by removing assignment, and then it complains 🙃
|
I was actually having exactly the same error on my other PR #6565... |
Co-authored-by: Alexander Goscinski <[email protected]>
b4d5373
to
2946b78
Compare
This is the complementary PR for aiidateam/disk-objectstore#171
Now one can easily test the changes here, as @giovannipizzi and @unkcpz requested.
Note
This PR should only merge after the one mentioned above, for this reason I marked this one as draft.
Also I should remember to tag and update the dependency,
Note 2
Don't worry about test failing, it's only because it depends on a released version of
disk-objectstore
Ideally for testing, you can pull the PR and install with
pip install -e .