File tree 2 files changed +13
-2
lines changed
2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change 4
4
History
5
5
-------
6
6
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
+
7
16
4.5.0 (2021-11-18)
8
17
++++++++++++++++++
9
18
Original file line number Diff line number Diff line change @@ -23,14 +23,16 @@ class AddressNotFoundError(GeoIP2Error):
23
23
24
24
.. attribute:: ip_address
25
25
26
- The IP address used in the lookup.
26
+ The IP address used in the lookup. This is only available for database
27
+ lookups.
27
28
28
29
:type: str
29
30
30
31
.. attribute:: network
31
32
32
33
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.
34
36
35
37
:type: ipaddress.IPv4Network or ipaddress.IPv6Network
36
38
You can’t perform that action at this time.
0 commit comments