swh.graph.config module#

swh.graph.config.check_config(conf: dict[str, Any], base_rust_executable_dir: Path | None = None) dict[str, Any][source]#

Check configuration and propagate defaults.

Parameters:

base_rust_executable_dir – path to the directory that contains the local project’s Rust build artifact, ie. target/.

swh.graph.config.check_config_compress(config, graph_name, in_dir, out_dir, test_flavor)[source]#

check compression-specific configuration and initialize its execution environment.