from civicpy import civic

civic.update_cache()

from civicpy import civic

civic.update_cache(from_remote_cache=False)

Add `from_remote_cache=False` to `update_cache` call so that cache is hard loaded