hyfi.run
Run
Bases: BaseModel
Run Configuration
Source code in hyfi/run/run.py
generate_config(config_name=None, config_path=None, config_root=None, save=True)
Saves a HyFI config for itself.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
config_name
|
Optional[str]
|
The name of the config. If not provided, the name of the target will be used. |
None
|
config_path
|
Optional[str]
|
The path to save the config to (relative to the config root). Defaults to "run". |
None
|
config_root
|
Optional[str]
|
The root of the config path. If not provided, the global hyfi config directory will be used. |
None
|
**kwargs_for_target
|
Keyword arguments to pass to the target. |
required |