maxmind / MaxMind-DB-Reader-python

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

Expose __all__ to avoid type checking errors #87

Closed wbolster closed 3 years ago

wbolster commented 3 years ago

Mypy reports attr-defined errors (via no_implicit_reexport) because the ‘maxminddb’ module uses implicit re-exports. Adding __all__ makes the exported API surface explicit, which avoids the type checking errors.