foundry_dev_tools.utils.caches.metadata_store module

foundry_dev_tools.utils.caches.metadata_store module#

A Metadata store for cached datasets.

Primary use is resolution of dataset_path and dataset_Rid for offline usage of Foundry DevTools

class foundry_dev_tools.utils.caches.metadata_store.DatasetMetadataStore[source]#

Bases: MutableMapping[str, DatasetIdentity]

Init meta data store.

Parameters:

ctx – the foundry context, used for the cache_dir

__init__(ctx)[source]#

Init meta data store.

Parameters:

ctx (FoundryContext) – the foundry context, used for the cache_dir