Skip to main content

Python function

resolve_max_config_inheritance

resolve_max_config_inheritance()​

max.pipelines.lib.resolve_max_config_inheritance(config_dict, config_class, config_file_path=None)

source

Resolves configuration inheritance by loading base config and merging.

Parameters:

  • config_dict (dict[str, Any]) – The current configuration dictionary.
  • config_class (type[MAXConfig]) – The config class being loaded.
  • config_file_path (Path | None) – Path to the config file being loaded (used to resolve relative paths).

Returns:

Merged configuration dictionary with inheritance resolved.

Return type:

dict[str, Any]