Skip to main content

Python function

deep_merge_max_configs

deep_merge_max_configs()โ€‹

max.pipelines.lib.deep_merge_max_configs(base_config, child_config)

source

Deep merge two MAXConfig configuration dictionaries.

Parameters:

  • base_config (dict[str, Any]) โ€“ The base MAXConfig configuration dictionary.
  • child_config (dict[str, Any]) โ€“ The child MAXConfig configuration dictionary that takes precedence.

Returns:

Merged MAXConfig configuration dictionary with deep merging of nested MAXConfig dictionaries.

Return type:

dict[str, Any]