Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f19307d

Browse files
author
Brian J. Watson
authored
Merge pull request googleapis#304 from bjwatson/changelog-1.5.5
Preparing for v1.5.5
2 parents 6394b66 + f397357 commit f19307d

File tree

80 files changed

+1418
-1353
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+1418
-1353
lines changed

CHANGELOG

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
v1.5.5
2+
Version 1.5.5
3+
4+
Bugfix release
5+
6+
- Allow explicit MIME type specification with media_mime_type keyword argument.
7+
- Fix unprintable representation of BatchError with default constructor. (#165)
8+
- Refresh all discovery docs, not just the preferred ones. (#298)
9+
- Update minimum httplib2 dependency to >=0.9.2.
10+
111
v1.5.4
212
Version 1.5.4
313

docs/epy/api-objects.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ googleapiclient.discovery.VARNAME googleapiclient.discovery-module.html#VARNAME
2525
googleapiclient.discovery.createNextMethod googleapiclient.discovery-module.html#createNextMethod
2626
googleapiclient.discovery._fix_up_media_upload googleapiclient.discovery-module.html#_fix_up_media_upload
2727
googleapiclient.discovery.logger googleapiclient.discovery-module.html#logger
28+
googleapiclient.discovery.fix_method_name googleapiclient.discovery-module.html#fix_method_name
2829
googleapiclient.discovery.BODY_PARAMETER_DEFAULT_VALUE googleapiclient.discovery-module.html#BODY_PARAMETER_DEFAULT_VALUE
2930
googleapiclient.discovery._media_size_to_long googleapiclient.discovery-module.html#_media_size_to_long
3031
googleapiclient.discovery._urljoin googleapiclient.discovery-module.html#_urljoin
@@ -35,7 +36,7 @@ googleapiclient.discovery.DEFAULT_METHOD_DOC googleapiclient.discovery-module.ht
3536
googleapiclient.discovery.RESERVED_WORDS googleapiclient.discovery-module.html#RESERVED_WORDS
3637
googleapiclient.discovery.build_from_document googleapiclient.discovery-module.html#build_from_document
3738
googleapiclient.discovery.V2_DISCOVERY_URI googleapiclient.discovery-module.html#V2_DISCOVERY_URI
38-
googleapiclient.discovery.fix_method_name googleapiclient.discovery-module.html#fix_method_name
39+
googleapiclient.discovery.MEDIA_MIME_TYPE_PARAMETER_DEFAULT_VALUE googleapiclient.discovery-module.html#MEDIA_MIME_TYPE_PARAMETER_DEFAULT_VALUE
3940
googleapiclient.discovery.STACK_QUERY_PARAMETERS googleapiclient.discovery-module.html#STACK_QUERY_PARAMETERS
4041
googleapiclient.discovery.DISCOVERY_URI googleapiclient.discovery-module.html#DISCOVERY_URI
4142
googleapiclient.discovery.URITEMPLATE googleapiclient.discovery-module.html#URITEMPLATE

docs/epy/class-tree.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ <h1 class="epydoc">Class Hierarchy</h1>
163163
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
164164
<tr>
165165
<td align="left" class="footer">
166-
Generated by Epydoc 3.0.1 on Fri Oct 21 13:54:05 2016
166+
Generated by Epydoc 3.0.1 on Tue Nov 1 17:02:49 2016
167167
</td>
168168
<td align="right" class="footer">
169169
<a target="mainFrame" href="http://epydoc.sourceforge.net"

docs/epy/googleapiclient-module.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
<h1 class="epydoc">Package googleapiclient</h1><p class="nomargin-top"><span class="codelink"><a href="googleapiclient-pysrc.html">source&nbsp;code</a></span></p>
5858
<hr />
5959
<div class="fields"> <p><strong>Version:</strong>
60-
1.5.4
60+
1.5.5
6161
</p>
6262
</div><!-- ==================== SUBMODULES ==================== -->
6363
<a name="section-Submodules"></a>
@@ -148,7 +148,7 @@ <h1 class="epydoc">Package googleapiclient</h1><p class="nomargin-top"><span cla
148148
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
149149
<tr>
150150
<td align="left" class="footer">
151-
Generated by Epydoc 3.0.1 on Fri Oct 21 13:54:05 2016
151+
Generated by Epydoc 3.0.1 on Tue Nov 1 17:02:49 2016
152152
</td>
153153
<td align="right" class="footer">
154154
<a target="mainFrame" href="http://epydoc.sourceforge.net"

docs/epy/googleapiclient-pysrc.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ <h1 class="epydoc">Source Code for <a href="googleapiclient-module.html">Package
6969
<a name="L12"></a><tt class="py-lineno">12</tt> <tt class="py-line"><tt class="py-comment"># See the License for the specific language governing permissions and</tt> </tt>
7070
<a name="L13"></a><tt class="py-lineno">13</tt> <tt class="py-line"><tt class="py-comment"># limitations under the License.</tt> </tt>
7171
<a name="L14"></a><tt class="py-lineno">14</tt> <tt class="py-line"> </tt>
72-
<a name="L15"></a><tt class="py-lineno">15</tt> <tt class="py-line"><tt class="py-name">__version__</tt> <tt class="py-op">=</tt> <tt class="py-docstring">"1.5.4"</tt> </tt>
72+
<a name="L15"></a><tt class="py-lineno">15</tt> <tt class="py-line"><tt class="py-name">__version__</tt> <tt class="py-op">=</tt> <tt class="py-docstring">"1.5.5"</tt> </tt>
7373
<a name="L16"></a><tt class="py-lineno">16</tt> <tt class="py-line"> </tt>
7474
<a name="L17"></a><tt class="py-lineno">17</tt> <tt class="py-line"><tt class="py-comment"># Set default logging handler to avoid "No handler found" warnings.</tt> </tt>
7575
<a name="L18"></a><tt class="py-lineno">18</tt> <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">logging</tt> </tt>
@@ -115,7 +115,7 @@ <h1 class="epydoc">Source Code for <a href="googleapiclient-module.html">Package
115115
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
116116
<tr>
117117
<td align="left" class="footer">
118-
Generated by Epydoc 3.0.1 on Fri Oct 21 13:54:07 2016
118+
Generated by Epydoc 3.0.1 on Tue Nov 1 17:02:51 2016
119119
</td>
120120
<td align="right" class="footer">
121121
<a target="mainFrame" href="http://epydoc.sourceforge.net"

docs/epy/googleapiclient.NullHandler-class.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ <h3 class="epydoc"><span class="sig"><span class="sig-name">emit</span>(<span cl
284284
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
285285
<tr>
286286
<td align="left" class="footer">
287-
Generated by Epydoc 3.0.1 on Fri Oct 21 13:54:06 2016
287+
Generated by Epydoc 3.0.1 on Tue Nov 1 17:02:49 2016
288288
</td>
289289
<td align="right" class="footer">
290290
<a target="mainFrame" href="http://epydoc.sourceforge.net"

docs/epy/googleapiclient.channel-module.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ <h3 class="epydoc">CHANNEL_PARAMS</h3>
455455
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
456456
<tr>
457457
<td align="left" class="footer">
458-
Generated by Epydoc 3.0.1 on Fri Oct 21 13:54:05 2016
458+
Generated by Epydoc 3.0.1 on Tue Nov 1 17:02:49 2016
459459
</td>
460460
<td align="right" class="footer">
461461
<a target="mainFrame" href="http://epydoc.sourceforge.net"

docs/epy/googleapiclient.channel-pysrc.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ <h1 class="epydoc">Source Code for <a href="googleapiclient.channel-module.html"
386386
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
387387
<tr>
388388
<td align="left" class="footer">
389-
Generated by Epydoc 3.0.1 on Fri Oct 21 13:54:07 2016
389+
Generated by Epydoc 3.0.1 on Tue Nov 1 17:02:50 2016
390390
</td>
391391
<td align="right" class="footer">
392392
<a target="mainFrame" href="http://epydoc.sourceforge.net"

docs/epy/googleapiclient.channel.Channel-class.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ <h3 class="epydoc"><span class="sig"><span class="sig-name">update</span>(<span
376376
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
377377
<tr>
378378
<td align="left" class="footer">
379-
Generated by Epydoc 3.0.1 on Fri Oct 21 13:54:06 2016
379+
Generated by Epydoc 3.0.1 on Tue Nov 1 17:02:49 2016
380380
</td>
381381
<td align="right" class="footer">
382382
<a target="mainFrame" href="http://epydoc.sourceforge.net"

docs/epy/googleapiclient.channel.Notification-class.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<spa
249249
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
250250
<tr>
251251
<td align="left" class="footer">
252-
Generated by Epydoc 3.0.1 on Fri Oct 21 13:54:06 2016
252+
Generated by Epydoc 3.0.1 on Tue Nov 1 17:02:49 2016
253253
</td>
254254
<td align="right" class="footer">
255255
<a target="mainFrame" href="http://epydoc.sourceforge.net"

docs/epy/googleapiclient.discovery-module.html

Lines changed: 32 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ <h1 class="epydoc">Module discovery</h1><p class="nomargin-top"><span class="cod
311311
<span class="summary-sig-arg">root_desc</span>,
312312
<span class="summary-sig-arg">path_url</span>,
313313
<span class="summary-sig-arg">parameters</span>)</span><br />
314-
Updates parameters of API by adding 'media_body' if supported by method.</td>
314+
Adds 'media_body' and 'media_mime_type' parameters if supported by method.</td>
315315
<td align="right" valign="top">
316316
<span class="codelink"><a href="googleapiclient.discovery-pysrc.html#_fix_up_media_upload">source&nbsp;code</a></span>
317317

@@ -493,6 +493,15 @@ <h1 class="epydoc">Module discovery</h1><p class="nomargin-top"><span class="cod
493493
e ' 'of a MediaUpload object.'), 'type': 'string', 'required': False,}">{'description':('The file<code class="variable-ellipsis">...</code></code>
494494
</td>
495495
</tr>
496+
<tr class="private">
497+
<td width="15%" align="right" valign="top" class="summary">
498+
<span class="summary-type">&nbsp;</span>
499+
</td><td class="summary">
500+
<a href="googleapiclient.discovery-module.html#MEDIA_MIME_TYPE_PARAMETER_DEFAULT_VALUE" class="summary-name" onclick="show_private();">MEDIA_MIME_TYPE_PARAMETER_DEFAULT_VALUE</a> = <code title="{'description':('The MIME type of the media request body, or an instan\
501+
ce ' 'of a MediaUpload object.'), 'type': 'string', 'required': False,\
502+
}">{'description':('The<code class="variable-ellipsis">...</code></code>
503+
</td>
504+
</tr>
496505
<tr class="private">
497506
<td width="15%" align="right" valign="top" class="summary">
498507
<span class="summary-type">&nbsp;</span>
@@ -901,7 +910,7 @@ <h3 class="epydoc"><span class="sig"><span class="sig-name">_fix_up_media_upload
901910
</tr></table>
902911

903912
<pre class="literalblock">
904-
Updates parameters of API by adding 'media_body' if supported by method.
913+
Adds 'media_body' and 'media_mime_type' parameters if supported by method.
905914

906915
SIDE EFFECTS: If the method supports media upload and has a required body,
907916
sets body to be optional (required=False) instead. Also, if there is a
@@ -1158,6 +1167,26 @@ <h3 class="epydoc">MEDIA_BODY_PARAMETER_DEFAULT_VALUE</h3>
11581167
</dl>
11591168
</td></tr></table>
11601169
</div>
1170+
<a name="MEDIA_MIME_TYPE_PARAMETER_DEFAULT_VALUE"></a>
1171+
<div class="private">
1172+
<table class="details" border="1" cellpadding="3"
1173+
cellspacing="0" width="100%" bgcolor="white">
1174+
<tr><td>
1175+
<h3 class="epydoc">MEDIA_MIME_TYPE_PARAMETER_DEFAULT_VALUE</h3>
1176+
1177+
<dl class="fields">
1178+
</dl>
1179+
<dl class="fields">
1180+
<dt>Value:</dt>
1181+
<dd><table><tr><td><pre class="variable">
1182+
{'description':('The MIME type of the media request body, or an instan<span class="variable-linewrap"><img src="crarr.png" alt="\" /></span>
1183+
ce ' 'of a MediaUpload object.'), 'type': 'string', 'required': False,<span class="variable-linewrap"><img src="crarr.png" alt="\" /></span>
1184+
}
1185+
</pre></td></tr></table>
1186+
</dd>
1187+
</dl>
1188+
</td></tr></table>
1189+
</div>
11611190
<a name="STACK_QUERY_PARAMETERS"></a>
11621191
<div class="private">
11631192
<table class="details" border="1" cellpadding="3"
@@ -1221,7 +1250,7 @@ <h3 class="epydoc">STACK_QUERY_PARAMETER_DEFAULT_VALUE</h3>
12211250
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
12221251
<tr>
12231252
<td align="left" class="footer">
1224-
Generated by Epydoc 3.0.1 on Fri Oct 21 13:54:05 2016
1253+
Generated by Epydoc 3.0.1 on Tue Nov 1 17:02:49 2016
12251254
</td>
12261255
<td align="right" class="footer">
12271256
<a target="mainFrame" href="http://epydoc.sourceforge.net"

0 commit comments

Comments
 (0)