Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
v1.5.5
Version 1.5.5

Bugfix release

- Allow explicit MIME type specification with media_mime_type keyword argument.
- Fix unprintable representation of BatchError with default constructor. (#165)
- Refresh all discovery docs, not just the preferred ones. (#298)
- Update minimum httplib2 dependency to >=0.9.2.

v1.5.4
Version 1.5.4

Expand Down
3 changes: 2 additions & 1 deletion docs/epy/api-objects.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ googleapiclient.discovery.VARNAME googleapiclient.discovery-module.html#VARNAME
googleapiclient.discovery.createNextMethod googleapiclient.discovery-module.html#createNextMethod
googleapiclient.discovery._fix_up_media_upload googleapiclient.discovery-module.html#_fix_up_media_upload
googleapiclient.discovery.logger googleapiclient.discovery-module.html#logger
googleapiclient.discovery.fix_method_name googleapiclient.discovery-module.html#fix_method_name
googleapiclient.discovery.BODY_PARAMETER_DEFAULT_VALUE googleapiclient.discovery-module.html#BODY_PARAMETER_DEFAULT_VALUE
googleapiclient.discovery._media_size_to_long googleapiclient.discovery-module.html#_media_size_to_long
googleapiclient.discovery._urljoin googleapiclient.discovery-module.html#_urljoin
Expand All @@ -35,7 +36,7 @@ googleapiclient.discovery.DEFAULT_METHOD_DOC googleapiclient.discovery-module.ht
googleapiclient.discovery.RESERVED_WORDS googleapiclient.discovery-module.html#RESERVED_WORDS
googleapiclient.discovery.build_from_document googleapiclient.discovery-module.html#build_from_document
googleapiclient.discovery.V2_DISCOVERY_URI googleapiclient.discovery-module.html#V2_DISCOVERY_URI
googleapiclient.discovery.fix_method_name googleapiclient.discovery-module.html#fix_method_name
googleapiclient.discovery.MEDIA_MIME_TYPE_PARAMETER_DEFAULT_VALUE googleapiclient.discovery-module.html#MEDIA_MIME_TYPE_PARAMETER_DEFAULT_VALUE
googleapiclient.discovery.STACK_QUERY_PARAMETERS googleapiclient.discovery-module.html#STACK_QUERY_PARAMETERS
googleapiclient.discovery.DISCOVERY_URI googleapiclient.discovery-module.html#DISCOVERY_URI
googleapiclient.discovery.URITEMPLATE googleapiclient.discovery-module.html#URITEMPLATE
Expand Down
2 changes: 1 addition & 1 deletion docs/epy/class-tree.html
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ <h1 class="epydoc">Class Hierarchy</h1>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
Generated by Epydoc 3.0.1 on Fri Oct 21 13:54:05 2016
Generated by Epydoc 3.0.1 on Tue Nov 1 17:02:49 2016
</td>
<td align="right" class="footer">
<a target="mainFrame" href="http://epydoc.sourceforge.net"
Expand Down
4 changes: 2 additions & 2 deletions docs/epy/googleapiclient-module.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
<h1 class="epydoc">Package googleapiclient</h1><p class="nomargin-top"><span class="codelink"><a href="googleapiclient-pysrc.html">source&nbsp;code</a></span></p>
<hr />
<div class="fields"> <p><strong>Version:</strong>
1.5.4
1.5.5
</p>
</div><!-- ==================== SUBMODULES ==================== -->
<a name="section-Submodules"></a>
Expand Down Expand Up @@ -148,7 +148,7 @@ <h1 class="epydoc">Package googleapiclient</h1><p class="nomargin-top"><span cla
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
Generated by Epydoc 3.0.1 on Fri Oct 21 13:54:05 2016
Generated by Epydoc 3.0.1 on Tue Nov 1 17:02:49 2016
</td>
<td align="right" class="footer">
<a target="mainFrame" href="http://epydoc.sourceforge.net"
Expand Down
4 changes: 2 additions & 2 deletions docs/epy/googleapiclient-pysrc.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ <h1 class="epydoc">Source Code for <a href="googleapiclient-module.html">Package
<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>
<a name="L13"></a><tt class="py-lineno">13</tt> <tt class="py-line"><tt class="py-comment"># limitations under the License.</tt> </tt>
<a name="L14"></a><tt class="py-lineno">14</tt> <tt class="py-line"> </tt>
<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>
<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>
<a name="L16"></a><tt class="py-lineno">16</tt> <tt class="py-line"> </tt>
<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>
<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>
Expand Down Expand Up @@ -115,7 +115,7 @@ <h1 class="epydoc">Source Code for <a href="googleapiclient-module.html">Package
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
Generated by Epydoc 3.0.1 on Fri Oct 21 13:54:07 2016
Generated by Epydoc 3.0.1 on Tue Nov 1 17:02:51 2016
</td>
<td align="right" class="footer">
<a target="mainFrame" href="http://epydoc.sourceforge.net"
Expand Down
2 changes: 1 addition & 1 deletion docs/epy/googleapiclient.NullHandler-class.html
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ <h3 class="epydoc"><span class="sig"><span class="sig-name">emit</span>(<span cl
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
Generated by Epydoc 3.0.1 on Fri Oct 21 13:54:06 2016
Generated by Epydoc 3.0.1 on Tue Nov 1 17:02:49 2016
</td>
<td align="right" class="footer">
<a target="mainFrame" href="http://epydoc.sourceforge.net"
Expand Down
2 changes: 1 addition & 1 deletion docs/epy/googleapiclient.channel-module.html
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ <h3 class="epydoc">CHANNEL_PARAMS</h3>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
Generated by Epydoc 3.0.1 on Fri Oct 21 13:54:05 2016
Generated by Epydoc 3.0.1 on Tue Nov 1 17:02:49 2016
</td>
<td align="right" class="footer">
<a target="mainFrame" href="http://epydoc.sourceforge.net"
Expand Down
2 changes: 1 addition & 1 deletion docs/epy/googleapiclient.channel-pysrc.html
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ <h1 class="epydoc">Source Code for <a href="googleapiclient.channel-module.html"
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
Generated by Epydoc 3.0.1 on Fri Oct 21 13:54:07 2016
Generated by Epydoc 3.0.1 on Tue Nov 1 17:02:50 2016
</td>
<td align="right" class="footer">
<a target="mainFrame" href="http://epydoc.sourceforge.net"
Expand Down
2 changes: 1 addition & 1 deletion docs/epy/googleapiclient.channel.Channel-class.html
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ <h3 class="epydoc"><span class="sig"><span class="sig-name">update</span>(<span
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
Generated by Epydoc 3.0.1 on Fri Oct 21 13:54:06 2016
Generated by Epydoc 3.0.1 on Tue Nov 1 17:02:49 2016
</td>
<td align="right" class="footer">
<a target="mainFrame" href="http://epydoc.sourceforge.net"
Expand Down
2 changes: 1 addition & 1 deletion docs/epy/googleapiclient.channel.Notification-class.html
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<spa
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
Generated by Epydoc 3.0.1 on Fri Oct 21 13:54:06 2016
Generated by Epydoc 3.0.1 on Tue Nov 1 17:02:49 2016
</td>
<td align="right" class="footer">
<a target="mainFrame" href="http://epydoc.sourceforge.net"
Expand Down
35 changes: 32 additions & 3 deletions docs/epy/googleapiclient.discovery-module.html
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ <h1 class="epydoc">Module discovery</h1><p class="nomargin-top"><span class="cod
<span class="summary-sig-arg">root_desc</span>,
<span class="summary-sig-arg">path_url</span>,
<span class="summary-sig-arg">parameters</span>)</span><br />
Updates parameters of API by adding 'media_body' if supported by method.</td>
Adds 'media_body' and 'media_mime_type' parameters if supported by method.</td>
<td align="right" valign="top">
<span class="codelink"><a href="googleapiclient.discovery-pysrc.html#_fix_up_media_upload">source&nbsp;code</a></span>

Expand Down Expand Up @@ -493,6 +493,15 @@ <h1 class="epydoc">Module discovery</h1><p class="nomargin-top"><span class="cod
e ' 'of a MediaUpload object.'), 'type': 'string', 'required': False,}">{'description':('The file<code class="variable-ellipsis">...</code></code>
</td>
</tr>
<tr class="private">
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type">&nbsp;</span>
</td><td class="summary">
<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\
ce ' 'of a MediaUpload object.'), 'type': 'string', 'required': False,\
}">{'description':('The<code class="variable-ellipsis">...</code></code>
</td>
</tr>
<tr class="private">
<td width="15%" align="right" valign="top" class="summary">
<span class="summary-type">&nbsp;</span>
Expand Down Expand Up @@ -901,7 +910,7 @@ <h3 class="epydoc"><span class="sig"><span class="sig-name">_fix_up_media_upload
</tr></table>

<pre class="literalblock">
Updates parameters of API by adding 'media_body' if supported by method.
Adds 'media_body' and 'media_mime_type' parameters if supported by method.

SIDE EFFECTS: If the method supports media upload and has a required body,
sets body to be optional (required=False) instead. Also, if there is a
Expand Down Expand Up @@ -1158,6 +1167,26 @@ <h3 class="epydoc">MEDIA_BODY_PARAMETER_DEFAULT_VALUE</h3>
</dl>
</td></tr></table>
</div>
<a name="MEDIA_MIME_TYPE_PARAMETER_DEFAULT_VALUE"></a>
<div class="private">
<table class="details" border="1" cellpadding="3"
cellspacing="0" width="100%" bgcolor="white">
<tr><td>
<h3 class="epydoc">MEDIA_MIME_TYPE_PARAMETER_DEFAULT_VALUE</h3>

<dl class="fields">
</dl>
<dl class="fields">
<dt>Value:</dt>
<dd><table><tr><td><pre class="variable">
{'description':('The MIME type of the media request body, or an instan<span class="variable-linewrap"><img src="crarr.png" alt="\" /></span>
ce ' 'of a MediaUpload object.'), 'type': 'string', 'required': False,<span class="variable-linewrap"><img src="crarr.png" alt="\" /></span>
}
</pre></td></tr></table>
</dd>
</dl>
</td></tr></table>
</div>
<a name="STACK_QUERY_PARAMETERS"></a>
<div class="private">
<table class="details" border="1" cellpadding="3"
Expand Down Expand Up @@ -1221,7 +1250,7 @@ <h3 class="epydoc">STACK_QUERY_PARAMETER_DEFAULT_VALUE</h3>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td align="left" class="footer">
Generated by Epydoc 3.0.1 on Fri Oct 21 13:54:05 2016
Generated by Epydoc 3.0.1 on Tue Nov 1 17:02:49 2016
</td>
<td align="right" class="footer">
<a target="mainFrame" href="http://epydoc.sourceforge.net"
Expand Down
Loading