1<?xml version="1.0" encoding="ascii"?> 2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 3 "DTD/xhtml1-transitional.dtd"> 4<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> 5<head> 6 <title>googleapiclient.errors.UnexpectedMethodError</title> 7 <link rel="stylesheet" href="epydoc.css" type="text/css" /> 8 <script type="text/javascript" src="epydoc.js"></script> 9</head> 10 11<body bgcolor="white" text="black" link="blue" vlink="#204080" 12 alink="#204080"> 13<!-- ==================== NAVIGATION BAR ==================== --> 14<table class="navbar" border="0" width="100%" cellpadding="0" 15 bgcolor="#a0c0ff" cellspacing="0"> 16 <tr valign="middle"> 17 <!-- Home link --> 18 <th> <a 19 href="googleapiclient-module.html">Home</a> </th> 20 21 <!-- Tree link --> 22 <th> <a 23 href="module-tree.html">Trees</a> </th> 24 25 <!-- Index link --> 26 <th> <a 27 href="identifier-index.html">Indices</a> </th> 28 29 <!-- Help link --> 30 <th> <a 31 href="help.html">Help</a> </th> 32 33 <th class="navbar" width="100%"></th> 34 </tr> 35</table> 36<table width="100%" cellpadding="0" cellspacing="0"> 37 <tr valign="top"> 38 <td width="100%"> 39 <span class="breadcrumbs"> 40 <a href="googleapiclient-module.html">Package googleapiclient</a> :: 41 <a href="googleapiclient.errors-module.html">Module errors</a> :: 42 Class UnexpectedMethodError 43 </span> 44 </td> 45 <td> 46 <table cellpadding="0" cellspacing="0"> 47 <!-- hide/show private --> 48 <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink" 49 onclick="toggle_private();">hide private</a>]</span></td></tr> 50 <tr><td align="right"><span class="options" 51 >[<a href="frames.html" target="_top">frames</a 52 >] | <a href="googleapiclient.errors.UnexpectedMethodError-class.html" 53 target="_top">no frames</a>]</span></td></tr> 54 </table> 55 </td> 56 </tr> 57</table> 58<!-- ==================== CLASS DESCRIPTION ==================== --> 59<h1 class="epydoc">Class UnexpectedMethodError</h1><p class="nomargin-top"><span class="codelink"><a href="googleapiclient.errors-pysrc.html#UnexpectedMethodError">source code</a></span></p> 60<center> 61 62</center> 63<hr /> 64<pre class="literalblock"> 65Exception raised by RequestMockBuilder on unexpected calls. 66 67</pre> 68 69<!-- ==================== INSTANCE METHODS ==================== --> 70<a name="section-InstanceMethods"></a> 71<table class="summary" border="1" cellpadding="3" 72 cellspacing="0" width="100%" bgcolor="white"> 73<tr bgcolor="#70b0f0" class="table-header"> 74 <td colspan="2" class="table-header"> 75 <table border="0" cellpadding="0" cellspacing="0" width="100%"> 76 <tr valign="top"> 77 <td align="left"><span class="table-header">Instance Methods</span></td> 78 <td align="right" valign="top" 79 ><span class="options">[<a href="#section-InstanceMethods" 80 class="privatelink" onclick="toggle_private();" 81 >hide private</a>]</span></td> 82 </tr> 83 </table> 84 </td> 85</tr> 86<tr> 87 <td width="15%" align="right" valign="top" class="summary"> 88 <span class="summary-type"> </span> 89 </td><td class="summary"> 90 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 91 <tr> 92 <td><span class="summary-sig"><a href="googleapiclient.errors.UnexpectedMethodError-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>, 93 <span class="summary-sig-arg">methodId</span>=<span class="summary-sig-default">None</span>)</span><br /> 94 Constructor for an UnexpectedMethodError.</td> 95 <td align="right" valign="top"> 96 <span class="codelink"><a href="googleapiclient.errors-pysrc.html#UnexpectedMethodError.__init__">source code</a></span> 97 98 </td> 99 </tr> 100 </table> 101 102 </td> 103 </tr> 104 <tr> 105 <td colspan="2" class="summary"> 106 <p class="indent-wrapped-lines"><b>Inherited from <code>exceptions.Exception</code></b>: 107 <code>__new__</code> 108 </p> 109 <p class="indent-wrapped-lines"><b>Inherited from <code>exceptions.BaseException</code></b>: 110 <code>__delattr__</code>, 111 <code>__getattribute__</code>, 112 <code>__getitem__</code>, 113 <code>__getslice__</code>, 114 <code>__reduce__</code>, 115 <code>__repr__</code>, 116 <code>__setattr__</code>, 117 <code>__setstate__</code>, 118 <code>__str__</code>, 119 <code>__unicode__</code> 120 </p> 121 <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>: 122 <code>__format__</code>, 123 <code>__hash__</code>, 124 <code>__reduce_ex__</code>, 125 <code>__sizeof__</code>, 126 <code>__subclasshook__</code> 127 </p> 128 </td> 129 </tr> 130</table> 131<!-- ==================== PROPERTIES ==================== --> 132<a name="section-Properties"></a> 133<table class="summary" border="1" cellpadding="3" 134 cellspacing="0" width="100%" bgcolor="white"> 135<tr bgcolor="#70b0f0" class="table-header"> 136 <td colspan="2" class="table-header"> 137 <table border="0" cellpadding="0" cellspacing="0" width="100%"> 138 <tr valign="top"> 139 <td align="left"><span class="table-header">Properties</span></td> 140 <td align="right" valign="top" 141 ><span class="options">[<a href="#section-Properties" 142 class="privatelink" onclick="toggle_private();" 143 >hide private</a>]</span></td> 144 </tr> 145 </table> 146 </td> 147</tr> 148 <tr> 149 <td colspan="2" class="summary"> 150 <p class="indent-wrapped-lines"><b>Inherited from <code>exceptions.BaseException</code></b>: 151 <code>args</code>, 152 <code>message</code> 153 </p> 154 <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>: 155 <code>__class__</code> 156 </p> 157 </td> 158 </tr> 159</table> 160<!-- ==================== METHOD DETAILS ==================== --> 161<a name="section-MethodDetails"></a> 162<table class="details" border="1" cellpadding="3" 163 cellspacing="0" width="100%" bgcolor="white"> 164<tr bgcolor="#70b0f0" class="table-header"> 165 <td colspan="2" class="table-header"> 166 <table border="0" cellpadding="0" cellspacing="0" width="100%"> 167 <tr valign="top"> 168 <td align="left"><span class="table-header">Method Details</span></td> 169 <td align="right" valign="top" 170 ><span class="options">[<a href="#section-MethodDetails" 171 class="privatelink" onclick="toggle_private();" 172 >hide private</a>]</span></td> 173 </tr> 174 </table> 175 </td> 176</tr> 177</table> 178<a name="__init__"></a> 179<div> 180<table class="details" border="1" cellpadding="3" 181 cellspacing="0" width="100%" bgcolor="white"> 182<tr><td> 183 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 184 <tr valign="top"><td> 185 <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>, 186 <span class="sig-arg">methodId</span>=<span class="sig-default">None</span>)</span> 187 <br /><em class="fname">(Constructor)</em> 188 </h3> 189 </td><td align="right" valign="top" 190 ><span class="codelink"><a href="googleapiclient.errors-pysrc.html#UnexpectedMethodError.__init__">source code</a></span> 191 </td> 192 </tr></table> 193 194 <pre class="literalblock"> 195Constructor for an UnexpectedMethodError. 196 197</pre> 198 <dl class="fields"> 199 <dt>Decorators:</dt> 200 <dd><ul class="nomargin-top"> 201 <li><code>@util.positional(1)</code></li> 202 </ul></dd> 203 <dt>Overrides: 204 object.__init__ 205 </dt> 206 </dl> 207</td></tr></table> 208</div> 209<br /> 210<!-- ==================== NAVIGATION BAR ==================== --> 211<table class="navbar" border="0" width="100%" cellpadding="0" 212 bgcolor="#a0c0ff" cellspacing="0"> 213 <tr valign="middle"> 214 <!-- Home link --> 215 <th> <a 216 href="googleapiclient-module.html">Home</a> </th> 217 218 <!-- Tree link --> 219 <th> <a 220 href="module-tree.html">Trees</a> </th> 221 222 <!-- Index link --> 223 <th> <a 224 href="identifier-index.html">Indices</a> </th> 225 226 <!-- Help link --> 227 <th> <a 228 href="help.html">Help</a> </th> 229 230 <th class="navbar" width="100%"></th> 231 </tr> 232</table> 233<table border="0" cellpadding="0" cellspacing="0" width="100%%"> 234 <tr> 235 <td align="left" class="footer"> 236 Generated by Epydoc 3.0.1 on Mon Jun 5 13:38:40 2017 237 </td> 238 <td align="right" class="footer"> 239 <a target="mainFrame" href="http://epydoc.sourceforge.net" 240 >http://epydoc.sourceforge.net</a> 241 </td> 242 </tr> 243</table> 244 245<script type="text/javascript"> 246 <!-- 247 // Private objects are initially displayed (because if 248 // javascript is turned off then we want them to be 249 // visible); but by default, we want to hide them. So hide 250 // them unless we have a cookie that says to show them. 251 checkCookie(); 252 // --> 253</script> 254</body> 255</html> 256