georgiacivicdata.cache_clear#
- georgiacivicdata.cache_clear()#
Clear the session cache and the disk cache.
Empties the in-memory cache of metadata (the catalog, dataset schemas and lookup tables) kept for the Python session, and deletes the opt-in disk cache of row downloads (see the
cacheargument ofrows()). Location lookups are never cached, so there is nothing to clear for them.The disk cache lives in the standard user cache folder for
georgiacivicdata(or thecache_diroption). It is only ever written when you ask for it, withcache=Trueorset_option("cache", True).- Returns:
None
See also
rowsthe disk cache.
Examples
>>> import georgiacivicdata as gcd >>> gcd.cache_clear()