kartothek.io_components.cube.cleanup module¶
-
kartothek.io_components.cube.cleanup.
get_keys_to_clean
(cube_uuid_prefix, datasets, store)[source]¶ Get the keys that are present in the store but can be deleted.
- Parameters
store (simplekv.KeyValueStore) – KV store.
datasets (Dict[str, kartothek.core.dataset.DatasetMetadata]) – Datasets to scan for keys.
- Returns
keys – Keys to delete.
- Return type
Set[str]