loader

Result.loader(format_name: str | None = None, **kwargs: Any) Result

Create a Result instance from the specs defined in a file.

Parameters:
  • result_path (StrOrPath) – Path containing the result data.

  • format_name (str | None) – Format the result is in, if not provided and it is a file it will be inferred from the file extension.

  • **kwargs (Any) – Additional keyword arguments passes to the load_result implementation of the project io plugin.

Returns:

Result instance created from the saved format.

Return type:

Result