File tree Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change 44 History
55-------
66
7+ 4.6.0 (2022-06-21)
8+ ++++++++++++++++++
9+
10+ * The ``AddressNotFoundError `` class now has an ``ip_address `` attribute
11+ with the lookup address and ``network `` property for the empty network
12+ in the database containing the IP address. These are only available
13+ when using a database, not the web service. Pull request by illes.
14+ GitHub #130.
15+
7164.5.0 (2021-11-18)
817++++++++++++++++++
918
Original file line number Diff line number Diff line change @@ -23,14 +23,16 @@ class AddressNotFoundError(GeoIP2Error):
2323
2424 .. attribute:: ip_address
2525
26- The IP address used in the lookup.
26+ The IP address used in the lookup. This is only available for database
27+ lookups.
2728
2829 :type: str
2930
3031 .. attribute:: network
3132
3233 The network associated with the error. In particular, this is the
33- largest network where no address would be found.
34+ largest network where no address would be found. This is only
35+ available for database lookups.
3436
3537 :type: ipaddress.IPv4Network or ipaddress.IPv6Network
3638
You can’t perform that action at this time.
0 commit comments