File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 44 History
55-------
66
7+ 4.9.0
8+ ++++++++++++++++++
9+
10+ * ``metro_code `` on ``geoip2.record.Location `` has been deprecated. The
11+ code values are no longer being maintained.
12+
7134.8.1 (2024-11-18)
814++++++++++++++++++
915
Original file line number Diff line number Diff line change @@ -357,10 +357,10 @@ class Location(Record):
357357
358358 .. attribute:: metro_code
359359
360- The metro code of the location if the
361- location is in the US. MaxMind returns the same metro codes as the
362- `Google AdWords API
363- <https://developers.google.com/adwords/api/docs/appendix/cities-DMAregions>`_.
360+ The metro code is a no-longer-maintained code for targeting
361+ advertisements in Google.
362+
363+ .. deprecated:: 4.9.0
364364
365365 :type: int
366366
You can’t perform that action at this time.
0 commit comments