AutoplexBaseModel#

pydantic model autoplex.settings.AutoplexBaseModel[source]#

Base class for all models in autoplex.

update_parameters(updates)[source]#

Update the default parameters of the model instance, including nested fields.

Parameters:

updates (Dict[str, Any]) – A dictionary containing the fields as keys to update.

classmethod from_file(filename)[source]#

Load the parameters from a file.

Parameters:

filename (str) – The name of the file to load the parameters from.

as_dict()[source]#

Return the model as a MSONable dictionary.

classmethod from_dict(d)[source]#

Create a model from a MSONable dictionary.

Parameters:

d (dict) – A MSONable dictionary representation of the Model.