cleanup¶
-
privex.helpers.geoip.
cleanup
(geo_type: str = None)[source]¶ With no arguments, closes and removes GeoIP city + asn + country from thread store.
With the first argument
geo_type
specified (either ‘city’, ‘asn’ or ‘country’), only that specific GeoIP2 instance will be closed and removed from the thread store.