load_result
- glotaran.plugin_system.project_io_registration.load_result(result_path: StrOrPath, format_name: str | None = None, **kwargs: Any) Result [source]
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: