We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4c69881 commit 2b00011Copy full SHA for 2b00011
2 files changed
HISTORY.rst
@@ -4,6 +4,12 @@
4
History
5
-------
6
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
13
4.8.1 (2024-11-18)
14
++++++++++++++++++
15
geoip2/records.py
@@ -357,10 +357,10 @@ class Location(Record):
357
358
.. attribute:: metro_code
359
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>`_.
+ The metro code is a no-longer-maintained code for targeting
+ advertisements in Google.
+ .. deprecated:: 4.9.0
364
365
:type: int
366
0 commit comments