geodesic.boson.dataset.Dataset.clear_store#

Dataset.clear_store(prefix=None, force=True)[source]#

Clears the persistent store for this dataset.

Some data, such as cached files, indices, and tiles remain in the store. Boson isn’t always able to recognize when data is stale. This can be called to clear out the persistent store for this dataset.

Parameters:
  • prefix (str | None) – if specified, only keys with this prefix will be cleared

  • force (bool) – if True, will force the clear to run even if it has previously completed. Default is True since this operation may be performed regardless of previous state.

Returns:

metadata about the submitted clear-store command

Return type:

dict