You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One thing to note on the type hints, as of 1.5.0, get (and the new get_with_prefix_len) support ipaddress.IPv4Address and ipaddress.IPv6Address as arguments in addition to a string. See #48.
Also, when and if you are committed to keeping the stubs updated yourself, you could consider shipping them with maxminddb. This way the stubs would always match the installed version and updated cause less friction. In that case, feel free to ping me to review the stubs or if you need assistance. But we are also happy to continue hosting the stubs in typeshed.
Activity
txomon commentedon Sep 15, 2019
I would be very interested in this, what's the status?
oschwald commentedon Sep 18, 2019
I apologize for not responding earlier, but having the type hints submitted there would be great!
jolaf commentedon Sep 19, 2019
Added via python/typeshed#3245
jolaf commentedon Sep 19, 2019
@oschwald
Could you please help with maxmind/GeoIP2-python#70 too?
oschwald commentedon Oct 3, 2019
One thing to note on the type hints, as of 1.5.0,
get(and the newget_with_prefix_len) supportipaddress.IPv4Addressandipaddress.IPv6Addressas arguments in addition to a string. See #48.jolaf commentedon Oct 3, 2019
In future when modifying the library API you can simultaneously update the stubs in
typeshedvia pull requests to https://github.com/python/typeshed/tree/master/third_party/3/maxminddbsrittau commentedon Oct 4, 2019
Also, when and if you are committed to keeping the stubs updated yourself, you could consider shipping them with maxminddb. This way the stubs would always match the installed version and updated cause less friction. In that case, feel free to ping me to review the stubs or if you need assistance. But we are also happy to continue hosting the stubs in typeshed.
oschwald commentedon Oct 4, 2019
Thanks!