ersilia.db.disk package

Submodules

ersilia.db.disk.fetched module

class ersilia.db.disk.fetched.FetchedModelsManager(config_json=None)[source]

Bases: ErsiliaBase

Manages fetched models by adding and deleting model entries.

Parameters:

config_json (dict, optional) – Configuration settings for initializing the fetched models manager.

add(model_id)[source]

Adds a model entry to the fetched models registry.

Parameters:

model_id (str) – Identifier of the model to add.

delete(model_id)[source]

Deletes a model entry from the fetched models registry(saved in FETCHED_MODELS_FILENAME txt file).

Parameters:

model_id (str) – Identifier of the model to delete.

Module contents