Configuration¶
import knots_hub
import knots_hub.config
A simple configuration system for the Knots-hub runtime.
- class knots_hub.config.HubConfig(local_install_path: ~pathlib.Path, installer: ~knots_hub.config.HubInstallerConfig | None = None, vendor_installer_config_paths: list[~pathlib.Path] = <factory>, skip_local_check: bool = False)¶
Options determining how the hub must be installed.
- __init__(local_install_path: ~pathlib.Path, installer: ~knots_hub.config.HubInstallerConfig | None = None, vendor_installer_config_paths: list[~pathlib.Path] = <factory>, skip_local_check: bool = False) None ¶
- as_dict() dict[str, Any] ¶
- installer: HubInstallerConfig | None = None¶
- local_install_path: Path¶
- skip_local_check: bool = False¶
- vendor_installer_config_paths: list[Path]¶