leaspy.io.settings.model_settings module
- class ModelSettings(path_to_model_settings_or_dict: Union[str, dict])
Bases:
object
Used in
Leaspy.load()
to create aLeaspy
class object from a json file.- Parameters
- path_to_model_settings_or_dictdict or str
If a str: path to a json file containing model settings
If a dict: content of model settings
- Raises