Lines Matching full:py

58 <pre class="py-src">
59 <a name="L1"></a><tt class="py-lineno"> 1</tt> <tt class="py-line"><tt class="py-comment"># Copyr…
60 <a name="L2"></a><tt class="py-lineno"> 2</tt> <tt class="py-line"><tt class="py-comment">#</tt> …
61 <a name="L3"></a><tt class="py-lineno"> 3</tt> <tt class="py-line"><tt class="py-comment"># Licen…
62 <a name="L4"></a><tt class="py-lineno"> 4</tt> <tt class="py-line"><tt class="py-comment"># you m…
63 <a name="L5"></a><tt class="py-lineno"> 5</tt> <tt class="py-line"><tt class="py-comment"># You m…
64 <a name="L6"></a><tt class="py-lineno"> 6</tt> <tt class="py-line"><tt class="py-comment">#</tt> …
65 <a name="L7"></a><tt class="py-lineno"> 7</tt> <tt class="py-line"><tt class="py-comment"># …
66 <a name="L8"></a><tt class="py-lineno"> 8</tt> <tt class="py-line"><tt class="py-comment">#</tt> …
67 <a name="L9"></a><tt class="py-lineno"> 9</tt> <tt class="py-line"><tt class="py-comment"># Unles…
68 <a name="L10"></a><tt class="py-lineno"> 10</tt> <tt class="py-line"><tt class="py-comment"># dist…
69 <a name="L11"></a><tt class="py-lineno"> 11</tt> <tt class="py-line"><tt class="py-comment"># WITH…
70 <a name="L12"></a><tt class="py-lineno"> 12</tt> <tt class="py-line"><tt class="py-comment"># See …
71 <a name="L13"></a><tt class="py-lineno"> 13</tt> <tt class="py-line"><tt class="py-comment"># limi…
72 <a name="L14"></a><tt class="py-lineno"> 14</tt> <tt class="py-line"> </tt>
73 <a name="L15"></a><tt class="py-lineno"> 15</tt> <tt class="py-line"><tt class="py-docstring">"""E…
74 <a name="L16"></a><tt class="py-lineno"> 16</tt> <tt class="py-line"><tt class="py-docstring"></tt…
75 <a name="L17"></a><tt class="py-lineno"> 17</tt> <tt class="py-line"><tt class="py-docstring">All …
76 <a name="L18"></a><tt class="py-lineno"> 18</tt> <tt class="py-line"><tt class="py-docstring">shou…
77 <a name="L19"></a><tt class="py-lineno"> 19</tt> <tt class="py-line"><tt class="py-docstring">"""<…
78py-lineno"> 20</tt> <tt class="py-line"><tt class="py-keyword">from</tt> <tt class="py-name">__fu…
79 <a name="L21"></a><tt class="py-lineno"> 21</tt> <tt class="py-line"> </tt>
80 …22"></a><tt class="py-lineno"> 22</tt> <tt class="py-line"><tt class="py-name">__author__</tt> <t…
81 <a name="L23"></a><tt class="py-lineno"> 23</tt> <tt class="py-line"> </tt>
82 <a name="L24"></a><tt class="py-lineno"> 24</tt> <tt class="py-line"><tt class="py-keyword">import…
83 <a name="L25"></a><tt class="py-lineno"> 25</tt> <tt class="py-line"> </tt>
84 <a name="L26"></a><tt class="py-lineno"> 26</tt> <tt class="py-line"><tt class="py-comment"># Oaut…
85 <a name="L27"></a><tt class="py-lineno"> 27</tt> <tt class="py-line"><tt class="py-comment"># in '…
86 <a name="L28"></a><tt class="py-lineno"> 28</tt> <tt class="py-line"><tt class="py-keyword">try</t…
87py-lineno"> 29</tt> <tt class="py-line"> <tt class="py-keyword">from</tt> <tt class="py-name">oa…
88 …/a><tt class="py-lineno"> 30</tt> <tt class="py-line"><tt class="py-keyword">except</tt> <tt clas…
89py-lineno"> 31</tt> <tt class="py-line"> <tt class="py-keyword">from</tt> <tt class="py-name">oa…
90 …rror"></a><div id="Error-def"><a name="L32"></a><tt class="py-lineno"> 32</tt> <tt class="py-line…
91 <a name="L33"></a><tt class="py-lineno"> 33</tt> <tt class="py-line"> </tt>
92py-lineno"> 34</tt> <a class="py-toggle" href="#" id="Error-toggle" onclick="return toggle('Error'…
93 …d="Error-expanded"><a name="L35"></a><tt class="py-lineno"> 35</tt> <tt class="py-line"> <tt cla…
94 <a name="L36"></a><tt class="py-lineno"> 36</tt> <tt class="py-line"> <tt class="py-keyword">pass…
95 </div><a name="L37"></a><tt class="py-lineno"> 37</tt> <tt class="py-line"> </tt>
96 …"></a><div id="HttpError-def"><a name="L38"></a><tt class="py-lineno"> 38</tt> <tt class="py-line…
97py-lineno"> 39</tt> <a class="py-toggle" href="#" id="HttpError-toggle" onclick="return toggle('Ht…
98 …ttpError-expanded"><a name="L40"></a><tt class="py-lineno"> 40</tt> <tt class="py-line"> <tt cla…
99 <a name="L41"></a><tt class="py-lineno"> 41</tt> <tt class="py-line"> </tt>
100py-lineno"> 42</tt> <tt class="py-line"> <tt class="py-decorator">@</tt><tt class="py-decorator"…
101py-lineno"> 43</tt> <a class="py-toggle" href="#" id="HttpError.__init__-toggle" onclick="return t…
102py-lineno"> 44</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt>…
103py-lineno"> 45</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-keyword"…
104py-lineno"> 46</tt> <tt class="py-line"> <tt class="py-keyword">raise</tt> <tt class="py-n…
105py-lineno"> 47</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt>…
106py-lineno"> 48</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt>…
107 </div><a name="L49"></a><tt class="py-lineno"> 49</tt> <tt class="py-line"> </tt>
108py-lineno"> 50</tt> <a class="py-toggle" href="#" id="HttpError._get_reason-toggle" onclick="retur…
109 …_reason-expanded"><a name="L51"></a><tt class="py-lineno"> 51</tt> <tt class="py-line"> <tt cl…
110py-lineno"> 52</tt> <tt class="py-line"> <tt class="py-name">reason</tt> <tt class="py-op">=</…
111 <a name="L53"></a><tt class="py-lineno"> 53</tt> <tt class="py-line"> <tt class="py-keyword">tr…
112py-lineno"> 54</tt> <tt class="py-line"> <tt class="py-name">data</tt> <tt class="py-op">=</…
113py-lineno"> 55</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">…
114py-lineno"> 56</tt> <tt class="py-line"> <tt class="py-name">reason</tt> <tt class="py-op"…
115py-lineno"> 57</tt> <tt class="py-line"> <tt class="py-keyword">elif</tt> <tt class="py-name…
116py-lineno"> 58</tt> <tt class="py-line"> <tt class="py-name">first_error</tt> <tt class="p…
117py-lineno"> 59</tt> <tt class="py-line"> <tt class="py-name">reason</tt> <tt class="py-op"…
118py-lineno"> 60</tt> <tt class="py-line"> <tt class="py-keyword">except</tt> <tt class="py-op">…
119 <a name="L61"></a><tt class="py-lineno"> 61</tt> <tt class="py-line"> <tt class="py-keyword">…
120py-lineno"> 62</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">re…
121 …3"></a><tt class="py-lineno"> 63</tt> <tt class="py-line"> <tt class="py-name">reason</tt> <…
122 <a name="L64"></a><tt class="py-lineno"> 64</tt> <tt class="py-line"> <tt class="py-keyword">re…
123 </div><a name="L65"></a><tt class="py-lineno"> 65</tt> <tt class="py-line"> </tt>
124py-lineno"> 66</tt> <a class="py-toggle" href="#" id="HttpError.__repr__-toggle" onclick="return t…
125py-lineno"> 67</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">se…
126py-lineno"> 68</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-st…
127py-lineno"> 69</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">…
128 <a name="L70"></a><tt class="py-lineno"> 70</tt> <tt class="py-line"> <tt class="py-keyword">el…
129py-lineno"> 71</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-st…
130 </div><a name="L72"></a><tt class="py-lineno"> 72</tt> <tt class="py-line"> </tt>
131 …a><tt class="py-lineno"> 73</tt> <tt class="py-line"> <tt class="py-name">__str__</tt> <tt class…
132 googleapiclient.errors.HttpError.__repr__" class="py-name" href="#" onclick="return doclink('link-2…
133 </div><a name="L74"></a><tt class="py-lineno"> 74</tt> <tt class="py-line"> </tt>
134 …div id="InvalidJsonError-def"><a name="L75"></a><tt class="py-lineno"> 75</tt> <tt class="py-line…
135py-lineno"> 76</tt> <a class="py-toggle" href="#" id="InvalidJsonError-toggle" onclick="return tog…
136 …sonError-expanded"><a name="L77"></a><tt class="py-lineno"> 77</tt> <tt class="py-line"> <tt cla…
137 <a name="L78"></a><tt class="py-lineno"> 78</tt> <tt class="py-line"> <tt class="py-keyword">pass…
138 </div><a name="L79"></a><tt class="py-lineno"> 79</tt> <tt class="py-line"> </tt>
139 …<div id="UnknownFileType-def"><a name="L80"></a><tt class="py-lineno"> 80</tt> <tt class="py-line…
140py-lineno"> 81</tt> <a class="py-toggle" href="#" id="UnknownFileType-toggle" onclick="return togg…
141 …FileType-expanded"><a name="L82"></a><tt class="py-lineno"> 82</tt> <tt class="py-line"> <tt cla…
142 <a name="L83"></a><tt class="py-lineno"> 83</tt> <tt class="py-line"> <tt class="py-keyword">pass…
143 </div><a name="L84"></a><tt class="py-lineno"> 84</tt> <tt class="py-line"> </tt>
144 …<div id="UnknownLinkType-def"><a name="L85"></a><tt class="py-lineno"> 85</tt> <tt class="py-line…
145py-lineno"> 86</tt> <a class="py-toggle" href="#" id="UnknownLinkType-toggle" onclick="return togg…
146 …LinkType-expanded"><a name="L87"></a><tt class="py-lineno"> 87</tt> <tt class="py-line"> <tt cla…
147 <a name="L88"></a><tt class="py-lineno"> 88</tt> <tt class="py-line"> <tt class="py-keyword">pass…
148 </div><a name="L89"></a><tt class="py-lineno"> 89</tt> <tt class="py-line"> </tt>
149 …"UnknownApiNameOrVersion-def"><a name="L90"></a><tt class="py-lineno"> 90</tt> <tt class="py-line…
150py-lineno"> 91</tt> <a class="py-toggle" href="#" id="UnknownApiNameOrVersion-toggle" onclick="ret…
151 …rVersion-expanded"><a name="L92"></a><tt class="py-lineno"> 92</tt> <tt class="py-line"> <tt cla…
152 <a name="L93"></a><tt class="py-lineno"> 93</tt> <tt class="py-line"> <tt class="py-keyword">pass…
153 </div><a name="L94"></a><tt class="py-lineno"> 94</tt> <tt class="py-line"> </tt>
154 …nacceptableMimeTypeError-def"><a name="L95"></a><tt class="py-lineno"> 95</tt> <tt class="py-line…
155py-lineno"> 96</tt> <a class="py-toggle" href="#" id="UnacceptableMimeTypeError-toggle" onclick="r…
156 …ypeError-expanded"><a name="L97"></a><tt class="py-lineno"> 97</tt> <tt class="py-line"> <tt cla…
157 <a name="L98"></a><tt class="py-lineno"> 98</tt> <tt class="py-line"> <tt class="py-keyword">pass…
158 </div><a name="L99"></a><tt class="py-lineno"> 99</tt> <tt class="py-line"> </tt>
159 …d="MediaUploadSizeError-def"><a name="L100"></a><tt class="py-lineno">100</tt> <tt class="py-line…
160py-lineno">101</tt> <a class="py-toggle" href="#" id="MediaUploadSizeError-toggle" onclick="return…
161 …zeError-expanded"><a name="L102"></a><tt class="py-lineno">102</tt> <tt class="py-line"> <tt cla…
162 <a name="L103"></a><tt class="py-lineno">103</tt> <tt class="py-line"> <tt class="py-keyword">pas…
163 </div><a name="L104"></a><tt class="py-lineno">104</tt> <tt class="py-line"> </tt>
164 …d="ResumableUploadError-def"><a name="L105"></a><tt class="py-lineno">105</tt> <tt class="py-line…
165py-lineno">106</tt> <a class="py-toggle" href="#" id="ResumableUploadError-toggle" onclick="return…
166 …adError-expanded"><a name="L107"></a><tt class="py-lineno">107</tt> <tt class="py-line"> <tt cla…
167 <a name="L108"></a><tt class="py-lineno">108</tt> <tt class="py-line"> <tt class="py-keyword">pas…
168 </div><a name="L109"></a><tt class="py-lineno">109</tt> <tt class="py-line"> </tt>
169 …="InvalidChunkSizeError-def"><a name="L110"></a><tt class="py-lineno">110</tt> <tt class="py-line…
170py-lineno">111</tt> <a class="py-toggle" href="#" id="InvalidChunkSizeError-toggle" onclick="retur…
171 …zeError-expanded"><a name="L112"></a><tt class="py-lineno">112</tt> <tt class="py-line"> <tt cla…
172 <a name="L113"></a><tt class="py-lineno">113</tt> <tt class="py-line"> <tt class="py-keyword">pas…
173 </div><a name="L114"></a><tt class="py-lineno">114</tt> <tt class="py-line"> </tt>
174py-lineno">115</tt> <a class="py-toggle" href="#" id="InvalidNotificationError-toggle" onclick="re…
175 …onError-expanded"><a name="L116"></a><tt class="py-lineno">116</tt> <tt class="py-line"> <tt cla…
176 <a name="L117"></a><tt class="py-lineno">117</tt> <tt class="py-line"> <tt class="py-keyword">pas…
177 </div><a name="L118"></a><tt class="py-lineno">118</tt> <tt class="py-line"> </tt>
178py-lineno">119</tt> <a class="py-toggle" href="#" id="BatchError-toggle" onclick="return toggle('B…
179 …chError-expanded"><a name="L120"></a><tt class="py-lineno">120</tt> <tt class="py-line"> <tt cla…
180 <a name="L121"></a><tt class="py-lineno">121</tt> <tt class="py-line"> </tt>
181py-lineno">122</tt> <tt class="py-line"> <tt class="py-decorator">@</tt><tt class="py-decorator"…
182py-lineno">123</tt> <a class="py-toggle" href="#" id="BatchError.__init__-toggle" onclick="return …
183py-lineno">124</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt>…
184py-lineno">125</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt>…
185py-lineno">126</tt> <tt class="py-line"> <tt class="py-name">self</tt><tt class="py-op">.</tt>…
186 </div><a name="L127"></a><tt class="py-lineno">127</tt> <tt class="py-line"> </tt>
187py-lineno">128</tt> <a class="py-toggle" href="#" id="BatchError.__repr__-toggle" onclick="return …
188py-lineno">129</tt> <tt class="py-line"> <tt class="py-keyword">if</tt> <tt class="py-name">ge…
189py-lineno">130</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-st…
190 <a name="L131"></a><tt class="py-lineno">131</tt> <tt class="py-line"> <tt class="py-keyword">e…
191py-lineno">132</tt> <tt class="py-line"> <tt class="py-keyword">return</tt> <tt class="py-st…
192 </div><a name="L133"></a><tt class="py-lineno">133</tt> <tt class="py-line"> </tt>
193 …a><tt class="py-lineno">134</tt> <tt class="py-line"> <tt class="py-name">__str__</tt> <tt class…
194 googleapiclient.errors.HttpError.__repr__" class="py-name" href="#" onclick="return doclink('link-3…
195 </div><a name="L135"></a><tt class="py-lineno">135</tt> <tt class="py-line"> </tt>
196 …="UnexpectedMethodError-def"><a name="L136"></a><tt class="py-lineno">136</tt> <tt class="py-line…
197py-lineno">137</tt> <a class="py-toggle" href="#" id="UnexpectedMethodError-toggle" onclick="retur…
198 …odError-expanded"><a name="L138"></a><tt class="py-lineno">138</tt> <tt class="py-line"> <tt cla…
199 <a name="L139"></a><tt class="py-lineno">139</tt> <tt class="py-line"> </tt>
200py-lineno">140</tt> <tt class="py-line"> <tt class="py-decorator">@</tt><tt class="py-decorator"…
201py-lineno">141</tt> <a class="py-toggle" href="#" id="UnexpectedMethodError.__init__-toggle" oncli…
202 …init__-expanded"><a name="L142"></a><tt class="py-lineno">142</tt> <tt class="py-line"> <tt cl…
203py-lineno">143</tt> <tt class="py-line"> <tt class="py-name">super</tt><tt class="py-op">(</tt…
229 …truct.__init__" class="py-name" href="#" onclick="return doclink('link-5', '__init__', 'link-5');"…
230py-lineno">144</tt> <tt class="py-line"> <tt class="py-string">'Received unexpected call %…
231 </div></div><a name="L145"></a><tt class="py-lineno">145</tt> <tt class="py-line"> </tt>
232 …id="UnexpectedBodyError-def"><a name="L146"></a><tt class="py-lineno">146</tt> <tt class="py-line…
233py-lineno">147</tt> <a class="py-toggle" href="#" id="UnexpectedBodyError-toggle" onclick="return …
234 …dyError-expanded"><a name="L148"></a><tt class="py-lineno">148</tt> <tt class="py-line"> <tt cla…
235 <a name="L149"></a><tt class="py-lineno">149</tt> <tt class="py-line"> </tt>
236py-lineno">150</tt> <a class="py-toggle" href="#" id="UnexpectedBodyError.__init__-toggle" onclick…
237 …init__-expanded"><a name="L151"></a><tt class="py-lineno">151</tt> <tt class="py-line"> <tt cl…
238py-lineno">152</tt> <tt class="py-line"> <tt class="py-name">super</tt><tt class="py-op">(</tt…
264 …truct.__init__" class="py-name" href="#" onclick="return doclink('link-7', '__init__', 'link-5');"…
265py-lineno">153</tt> <tt class="py-line"> <tt class="py-string">'Expected: [%s] - Provided:…
266 </div></div><a name="L154"></a><tt class="py-lineno">154</tt> <tt class="py-line"> </tt><script ty…