def merge_configs(config: dict, new_config: dict): if len(new_config) == 0 or len(config) == 0: return config # Merge configs return config