@@ -243,38 +243,38 @@ class AsyncClient(BaseClient):
243243 The following keyword arguments are also accepted:
244244
245245 :param host: The hostname to make a request against. This defaults to
246- "geoip.maxmind.com". In most cases, you should not need to set this
247- explicitly.
246+ "geoip.maxmind.com". In most cases, you should not need to set this
247+ explicitly.
248248 :param locales: This is list of locale codes. This argument will be
249- passed on to record classes to use when their name properties are
250- called. The default value is ['en'].
249+ passed on to record classes to use when their name properties are
250+ called. The default value is ['en'].
251251
252- The order of the locales is significant. When a record class has
253- multiple names (country, city, etc.), its name property will return
254- the name in the first locale that has one.
252+ The order of the locales is significant. When a record class has
253+ multiple names (country, city, etc.), its name property will return
254+ the name in the first locale that has one.
255255
256- Note that the only locale which is always present in the GeoIP2
257- data is "en". If you do not include this locale, the name property
258- may end up returning None even when the record has an English name.
256+ Note that the only locale which is always present in the GeoIP2
257+ data is "en". If you do not include this locale, the name property
258+ may end up returning None even when the record has an English name.
259259
260- Currently, the valid locale codes are:
260+ Currently, the valid locale codes are:
261261
262- * de -- German
263- * en -- English names may still include accented characters if that is
262+ * de -- German
263+ * en -- English names may still include accented characters if that is
264264 the accepted spelling in English. In other words, English does not
265265 mean ASCII.
266- * es -- Spanish
267- * fr -- French
268- * ja -- Japanese
269- * pt-BR -- Brazilian Portuguese
270- * ru -- Russian
271- * zh-CN -- Simplified Chinese.
266+ * es -- Spanish
267+ * fr -- French
268+ * ja -- Japanese
269+ * pt-BR -- Brazilian Portuguese
270+ * ru -- Russian
271+ * zh-CN -- Simplified Chinese.
272272 :param timeout: The timeout in seconds to use when waiting on the request.
273- This sets both the connect timeout and the read timeout. The default is
274- 60.
273+ This sets both the connect timeout and the read timeout. The default is
274+ 60.
275275 :param proxy: The URL of an HTTP proxy to use. It may optionally include
276- a basic auth username and password, e.g.,
277- ``http://username:password@host:port``.
276+ a basic auth username and password, e.g.,
277+ ``http://username:password@host:port``.
278278
279279 """
280280
@@ -303,8 +303,8 @@ async def city(self, ip_address: IPAddress = "me") -> City:
303303 """Call GeoIP2 Precision City endpoint with the specified IP.
304304
305305 :param ip_address: IPv4 or IPv6 address as a string. If no
306- address is provided, the address that the web service is
307- called from will be used.
306+ address is provided, the address that the web service is
307+ called from will be used.
308308
309309 :returns: :py:class:`geoip2.models.City` object
310310
@@ -332,8 +332,8 @@ async def insights(self, ip_address: IPAddress = "me") -> Insights:
332332 """Call the GeoIP2 Precision: Insights endpoint with the specified IP.
333333
334334 :param ip_address: IPv4 or IPv6 address as a string. If no address
335- is provided, the address that the web service is called from will
336- be used.
335+ is provided, the address that the web service is called from will
336+ be used.
337337
338338 :returns: :py:class:`geoip2.models.Insights` object
339339
@@ -399,38 +399,38 @@ class Client(BaseClient):
399399 The following keyword arguments are also accepted:
400400
401401 :param host: The hostname to make a request against. This defaults to
402- "geoip.maxmind.com". In most cases, you should not need to set this
403- explicitly.
402+ "geoip.maxmind.com". In most cases, you should not need to set this
403+ explicitly.
404404 :param locales: This is list of locale codes. This argument will be
405- passed on to record classes to use when their name properties are
406- called. The default value is ['en'].
405+ passed on to record classes to use when their name properties are
406+ called. The default value is ['en'].
407407
408- The order of the locales is significant. When a record class has
409- multiple names (country, city, etc.), its name property will return
410- the name in the first locale that has one.
408+ The order of the locales is significant. When a record class has
409+ multiple names (country, city, etc.), its name property will return
410+ the name in the first locale that has one.
411411
412- Note that the only locale which is always present in the GeoIP2
413- data is "en". If you do not include this locale, the name property
414- may end up returning None even when the record has an English name.
412+ Note that the only locale which is always present in the GeoIP2
413+ data is "en". If you do not include this locale, the name property
414+ may end up returning None even when the record has an English name.
415415
416- Currently, the valid locale codes are:
416+ Currently, the valid locale codes are:
417417
418- * de -- German
419- * en -- English names may still include accented characters if that is
418+ * de -- German
419+ * en -- English names may still include accented characters if that is
420420 the accepted spelling in English. In other words, English does not
421421 mean ASCII.
422- * es -- Spanish
423- * fr -- French
424- * ja -- Japanese
425- * pt-BR -- Brazilian Portuguese
426- * ru -- Russian
427- * zh-CN -- Simplified Chinese.
422+ * es -- Spanish
423+ * fr -- French
424+ * ja -- Japanese
425+ * pt-BR -- Brazilian Portuguese
426+ * ru -- Russian
427+ * zh-CN -- Simplified Chinese.
428428 :param timeout: The timeout in seconds to use when waiting on the request.
429- This sets both the connect timeout and the read timeout. The default is
430- 60.
429+ This sets both the connect timeout and the read timeout. The default is
430+ 60.
431431 :param proxy: The URL of an HTTP proxy to use. It may optionally include
432- a basic auth username and password, e.g.,
433- ``http://username:password@host:port``.
432+ a basic auth username and password, e.g.,
433+ ``http://username:password@host:port``.
434434
435435
436436 """
@@ -461,8 +461,8 @@ def city(self, ip_address: IPAddress = "me") -> City:
461461 """Call GeoIP2 Precision City endpoint with the specified IP.
462462
463463 :param ip_address: IPv4 or IPv6 address as a string. If no
464- address is provided, the address that the web service is
465- called from will be used.
464+ address is provided, the address that the web service is
465+ called from will be used.
466466
467467 :returns: :py:class:`geoip2.models.City` object
468468
@@ -473,8 +473,8 @@ def country(self, ip_address: IPAddress = "me") -> Country:
473473 """Call the GeoIP2 Country endpoint with the specified IP.
474474
475475 :param ip_address: IPv4 or IPv6 address as a string. If no address
476- is provided, the address that the web service is called from will
477- be used.
476+ is provided, the address that the web service is called from will
477+ be used.
478478
479479 :returns: :py:class:`geoip2.models.Country` object
480480
@@ -487,8 +487,8 @@ def insights(self, ip_address: IPAddress = "me") -> Insights:
487487 """Call the GeoIP2 Precision: Insights endpoint with the specified IP.
488488
489489 :param ip_address: IPv4 or IPv6 address as a string. If no address
490- is provided, the address that the web service is called from will
491- be used.
490+ is provided, the address that the web service is called from will
491+ be used.
492492
493493 :returns: :py:class:`geoip2.models.Insights` object
494494
0 commit comments