plateau.utils.store module
Workarounds for limitations of the minimalkv API.
- plateau.utils.store.copy_keys(keys, src_store, tgt_store)[source]
Copy keys from one store the another.
- Parameters:
keys (Iterable[str]) – Keys to copy.
src_store (Union[minimalkv.KeyValueStore, Callable[[], minimalkv.KeyValueStore]]) – Source KV store.
tgt_store (Union[minimalkv.KeyValueStore, Callable[[], minimalkv.KeyValueStore]]) – Target KV store.