Skip to content

Commit 238ba54

Browse files
committed
Add asyncio support to for web service requests
1 parent 5bfc7c5 commit 238ba54

File tree

3 files changed

+227
-80
lines changed

3 files changed

+227
-80
lines changed

HISTORY.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ History
88

99
* IMPORTANT: Python 2.7 and 3.5 support has been dropped. Python 3.6 or greater
1010
is required.
11+
* Asyncio support has been added for web service requests. To make async
12+
requests, use ``geoip.webservice.AsyncClient``.
13+
* ``geoip.webservice.Client`` now provides a ``close()`` method and associated
14+
context managers to be used in ``with`` statements.
1115
* Type hints have been added.
1216
* The attributes ``postal_code`` and ``postal_confidence`` have been removed
1317
from ``geoip2.record.Location``. These would previously always be ``None``.

0 commit comments

Comments
 (0)