-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
gs: support progress callback #1566
Comments
Hi @mhham ! Indeed, callback for google cloud storate push/pull is not implemented yet. Let's keep this issue open as a reminder. Thank you for the feedback! 🙂 |
Problem is there's no current API.
Possibly could work around this by using |
Looks good, let me look at it. |
Let's focus on the downloading first.. .
What do you mean @casperdcl ? Could you provide a link to that? I only found this Line 56 in 38c2100
which doesn't seems to be helpful. I think the more appropriate approach would be to use this google-resumable-media as it's recommended
here. I will check if using |
Ok, got it. I think @casperdcl meant the custom file object is to be written as a part of this task. |
Based on the resumable media link it seems like the proposed |
My main problem is testing - @efiop how would you recommended setting up local testing for google cloud storage push/pull? |
@casperdcl I'm not aware of any local implementation that you could run on your machine 🙁 So far I was just using real GS to test things out. |
@casperdcl in meantime i started to play a bit with your concept of custom file object and did this very limited PoC (since it's PoC I used a simple file in the root of the dir & It's for Maybe |
@xliiv A side note: Please use pytest-style tests for new tests. We do have some unittest tests as a legacy, but all new ones are written with pytest. Also, why StringIO and not BytestIO? |
@efiop sure, i'll be using
It is PoC and I felt it would be simpler to use |
Ok @efiop what's the easiest way to set up real GS? I mean example scripts to
|
- fixes iterative#1566
- fixes iterative#1566
@casperdcl The easies (and the only way afaik) is to go to https://cloud.google.com/storage/ , register, create a project and use it :) That will surely take more time than writing this patch though, so could totally try it out for you, as the patch is simple enough anyway. |
I may have missed an issue concerning this, but when I am
dvc push
ing to a google cloud remote, the progress bars that are currently displayed don't get updated progressively (They go from 0 when starting to 100 when finished).It would be nice to have a dynamic progressbar with upload speed and remaining time estimation, especially when push huge sets of data.
The text was updated successfully, but these errors were encountered: