-
Notifications
You must be signed in to change notification settings - Fork 2.2k
fix: Add DownloadContent to support downloads of any size
#3818
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
base: master
Are you sure you want to change the base?
Conversation
Fix google#3810. Fix google#2480. Signed-off-by: Leonard Sheng Sheng Lee <leonard.sheng.sheng.lee@gmail.com>
36cde08 to
79cf23a
Compare
DownloadContent to support downloads of any size
gmlewis
left a comment
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 biggest concern is that we now have:
- DownloadContent
- DownloadContents
- DownloadContentsWithMeta
- GetContent
- GetContents
How is a user supposed to understand which one to choose?
Good point. I will think about it. |
Fix google#3810. Fix google#2480. Signed-off-by: Leonard Sheng Sheng Lee <leonard.sheng.sheng.lee@gmail.com>
These two are existing functions. Do we want to expose |
Delete DownloadContentsWithMeta function and its references. Signed-off-by: Leonard Sheng Sheng Lee <leonard.sheng.sheng.lee@gmail.com>
The |
Well, it seems we have a number of people interested in this topic based on the conversation in #2480 and #3810. I would really like to get some feedback from the individuals who care about these endpoints before we start changing it dramatically, and the only way I can think of doing that is to start listing GitHub logins that commented, unfortunately. cc: Please provide your feedback on how these endpoints should be handled: |
(Full disclosure: Adding DownloadContent was my suggestion, so I can't independently say whether it will make sense to other people.) FWIW, those methods are not all on the same type. Grouping it a bit differently:
I think that, with reasonable comments on each, users will be able to find a method that does what they need, and ignore the rest. |
Fix #3810.
Fix #2480.