@@ -162,24 +162,24 @@ def build_api_url(cls, path, query_params=None,
162162
163163 Typically, you shouldn't need to use this method.
164164
165- :type path: string
165+ :type path: str
166166 :param path: The path to the resource (ie, ``'/b/bucket-name'``).
167167
168168 :type query_params: dict or list
169169 :param query_params: A dictionary of keys and values (or list of
170170 key-value pairs) to insert into the query
171171 string of the URL.
172172
173- :type api_base_url: string
173+ :type api_base_url: str
174174 :param api_base_url: The base URL for the API endpoint.
175175 Typically you won't have to provide this.
176176
177- :type api_version: string
177+ :type api_version: str
178178 :param api_version: The version of the API to call.
179179 Typically you shouldn't provide this and instead
180180 use the default for the library.
181181
182- :rtype: string
182+ :rtype: str
183183 :returns: The URL assembled from the pieces provided.
184184 """
185185 url = cls .API_URL_TEMPLATE .format (
@@ -199,16 +199,16 @@ def _make_request(self, method, url, data=None, content_type=None,
199199
200200 Typically, you shouldn't need to use this method.
201201
202- :type method: string
202+ :type method: str
203203 :param method: The HTTP method to use in the request.
204204
205- :type url: string
205+ :type url: str
206206 :param url: The URL to send the request to.
207207
208- :type data: string
208+ :type data: str
209209 :param data: The data to send as the body of the request.
210210
211- :type content_type: string
211+ :type content_type: str
212212 :param content_type: The proper MIME type of the data provided.
213213
214214 :type headers: dict
@@ -249,16 +249,16 @@ def _do_request(self, method, url, headers, data,
249249
250250 Allows batch context managers to override and defer a request.
251251
252- :type method: string
252+ :type method: str
253253 :param method: The HTTP method to use in the request.
254254
255- :type url: string
255+ :type url: str
256256 :param url: The URL to send the request to.
257257
258258 :type headers: dict
259259 :param headers: A dictionary of HTTP headers to send with the request.
260260
261- :type data: string
261+ :type data: str
262262 :param data: The data to send as the body of the request.
263263
264264 :type target_object: object or :class:`NoneType`
@@ -282,11 +282,11 @@ def api_request(self, method, path, query_params=None,
282282 interact with the API using these primitives, this is the
283283 correct one to use.
284284
285- :type method: string
285+ :type method: str
286286 :param method: The HTTP method name (ie, ``GET``, ``POST``, etc).
287287 Required.
288288
289- :type path: string
289+ :type path: str
290290 :param path: The path to the resource (ie, ``'/b/bucket-name'``).
291291 Required.
292292
@@ -295,23 +295,23 @@ def api_request(self, method, path, query_params=None,
295295 key-value pairs) to insert into the query
296296 string of the URL.
297297
298- :type data: string
298+ :type data: str
299299 :param data: The data to send as the body of the request. Default is
300300 the empty string.
301301
302- :type content_type: string
302+ :type content_type: str
303303 :param content_type: The proper MIME type of the data provided. Default
304304 is None.
305305
306306 :type headers: dict
307307 :param headers: extra HTTP headers to be sent with the request.
308308
309- :type api_base_url: string
309+ :type api_base_url: str
310310 :param api_base_url: The base URL for the API endpoint.
311311 Typically you won't have to provide this.
312312 Default is the standard API base URL.
313313
314- :type api_version: string
314+ :type api_version: str
315315 :param api_version: The version of the API to call. Typically
316316 you shouldn't provide this and instead use
317317 the default for the library. Default is the
0 commit comments