Skip to content

Commit 884dfc3

Browse files
authored
Merge pull request #154 from maxmind/greg/ws-connection-type
Update docs and test for connection_type in web service
2 parents 4d97daa + 728bdd4 commit 884dfc3

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

geoip2/records.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -609,7 +609,8 @@ class Traits(Record):
609609
610610
Additional values may be added in the future.
611611
612-
This attribute is only available in the Enterprise database.
612+
This attribute is only available from the City Plus and Insights web
613+
service end points and the Enterprise database.
613614
614615
:type: str
615616

tests/models_test.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ def test_insights_full(self) -> None:
7272
"traits": {
7373
"autonomous_system_number": 1234,
7474
"autonomous_system_organization": "AS Organization",
75+
"connection_type": "Cable/DSL",
7576
"domain": "example.com",
7677
"ip_address": "1.2.3.4",
7778
"is_anonymous": True,

0 commit comments

Comments
 (0)