Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(165)

Issue 6295077: media download (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 2 months ago by jcgregorio_google
Modified:
12 years, 1 month ago
Reviewers:
aiuto
CC:
google-api-python-client_googlegroups.com
Visibility:
Public.

Description

Adds support for media download, and resumable media download.

Patch Set 1 #

Patch Set 2 : resumable working, needs unit tests. #

Patch Set 3 : Typos and 80 cols #

Patch Set 4 : Add unit tests. #

Patch Set 5 : 80 chars #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+248 lines, -4 lines) Patch
M apiclient/discovery.py View 1 4 chunks +13 lines, -3 lines 2 comments Download
M apiclient/http.py View 1 2 3 3 chunks +107 lines, -0 lines 4 comments Download
M apiclient/model.py View 1 chunk +19 lines, -0 lines 0 comments Download
M tests/data/zoo.json View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M tests/test_discovery.py View 1 2 3 2 chunks +20 lines, -0 lines 0 comments Download
M tests/test_http.py View 1 2 3 4 3 chunks +88 lines, -1 line 0 comments Download

Messages

Total messages: 6
jcgregorio_google
12 years, 2 months ago (2012-06-14 02:02:47 UTC) #1
jcgregorio_google
On 2012/06/14 02:02:47, jcgregorio_google wrote: Ping. Or I can submit TBR if you're busy.
12 years, 2 months ago (2012-06-15 14:07:08 UTC) #2
jcgregorio_google
On 2012/06/15 14:07:08, jcgregorio_google wrote: > On 2012/06/14 02:02:47, jcgregorio_google wrote: > > Ping. Or ...
12 years, 2 months ago (2012-06-18 14:21:40 UTC) #3
aiuto
really busy. leaving for scotland tonight. Finishing a bunch of things. On Mon, Jun 18, ...
12 years, 2 months ago (2012-06-18 15:22:42 UTC) #4
aiuto
sorry I lost this. I never think to look in rietveld http://codereview.appspot.com/6295077/diff/2002/apiclient/discovery.py File apiclient/discovery.py (right): ...
12 years, 2 months ago (2012-07-11 19:09:23 UTC) #5
jcgregorio_google
12 years, 1 month ago (2012-07-12 16:18:06 UTC) #6
Since this was submitted TBR, the edits below are in this new review:

  http://codereview.appspot.com/6374062/

http://codereview.appspot.com/6295077/diff/2002/apiclient/discovery.py
File apiclient/discovery.py (right):

http://codereview.appspot.com/6295077/diff/2002/apiclient/discovery.py#newcod...
apiclient/discovery.py:500: # If there is no schema for the response then
presume a binary blob.
On 2012/07/11 19:09:23, aiuto wrote:
> This comment is no longer completely true.

Done.

http://codereview.appspot.com/6295077/diff/2002/apiclient/http.py
File apiclient/http.py (right):

http://codereview.appspot.com/6295077/diff/2002/apiclient/http.py#newcode341
apiclient/http.py:341: self._fh = fh
On 2012/07/11 19:09:23, aiuto wrote:
> you might want _fd to align with the other classes

Done.

http://codereview.appspot.com/6295077/diff/2002/apiclient/http.py#newcode530
apiclient/http.py:530: self.fh_ = fh
On 2012/07/11 19:09:23, aiuto wrote:
> fh_ ? Did you go all C++'y this week?
> Also, most of the other Upload code uses fd.

Done.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b