respace.ResultSet.save#
- ResultSet.save(res_name: str, params: Mapping[str, Hashable], save_path_fmt: str | Path | None = None, **add_kwargs: dict[str, Any]) Any[source]#
Save the value of result res_name for set of parameters params.
Will use the save_fun attribute of that result. If it has not been computed yet, it will be computed before saving the value.
- Parameters:
- res_namestr
Name of the result to save.
- paramsParamsSingleValue
Dictionary of parameters for which to save the result.
- save_path_fmtPath | str | None, optional
Format for the path where to save the result. If not set, will be the result’s default save_path_fmt, or, if not set, the global
ResultSet.save_path_fmt.- **add_kwargsdict[str, Any]
Additional keyword arguments to pass to res_name’s computing function, like external data for instance.
- Returns:
- result valueAny