maxmind / MaxMind-DB-Reader-python

Python MaxMind DB reader extension
https://maxminddb.readthedocs.org/
Apache License 2.0
178 stars 37 forks source link

TypeError: 'Reader' object is not iterable #124

Closed rosydawn6 closed 11 months ago

rosydawn6 commented 11 months ago

Hello From the docs it suggests: You may also iterate over the whole database. The Reader class implements the iter method that returns an iterator. This iterator yields a tuple containing the network and the record.

After opening GeoIP2-ISP.mmdb and attempting to iterate over the reader I am getting TypeError: 'Reader' object is not iterable

using maxminddb version 2.4.0

oschwald commented 11 months ago

We have not released that change yet. It will be in the next release.