loader
- Scheme.loader(format_name: str | None = None, **kwargs: Any) Scheme
Create a
Scheme
instance from the specs defined in a file.- Parameters:
file_name (StrOrPath) – File containing the parameter specs.
format_name (str | None) – Format the file is in, if not provided it will be inferred from the file extension.
**kwargs (Any) – Additional keyword arguments passes to the
load_scheme
implementation of the project io plugin.
- Returns:
Scheme
instance created from the file.- Return type: