yoco.py
def _merge_dictionaries(start_dict: dict, added_dict: dict) -> dict:
    """Create a dictionary by merging one into another.

    Keys present in start_dict will be overwritten by added_dict.

    Args:
        start_dict: The starting dictionary.
        added_dict: The dictionary to merge into current_dictionary.

    Returns:
        The merged dictionary.
    """
    merged_dictionary = copy.deepcopy(start_dict)
    for key, value in added_dict.items():
        if (
            key in start_dict
            and isinstance(start_dict[key], dict)
            and isinstance(added_dict[key], dict)
        ):
            merged_dictionary[key] = _merge_dictionaries(
                start_dict[key], added_dict[key]
            )
        else:
            merged_dictionary[key] = value
    return merged_dictionary
Create a dictionary by merging one into another.

    Keys present in start_dict will be overwritten by added_dict.

    Args:
        start_dict: The starting dictionary.
        added_dict: The dictionary to merge into current_dictionary.

    Returns:
        The merged dictionary.
    
Create a dictionary by merging one into another.
Keys present in start_dict will be overwritten by added_dict.
Create a dictionary by merging one into another . Keys present in start_dict will be overwritten by added_dict .
def _merge_dictionaries(start_dict: dict, added_dict: dict) -> dict:
    merged_dictionary = copy.deepcopy(start_dict)
    for key, value in added_dict.items():
        if (
            key in start_dict
            and isinstance(start_dict[key], dict)
            and isinstance(added_dict[key], dict)
        ):
            merged_dictionary[key] = _merge_dictionaries(
                start_dict[key], added_dict[key]
            )
        else:
            merged_dictionary[key] = value
    return merged_dictionary
def _merge_dictionaries ( start_dict : dict , added_dict : dict ) -> dict : merged_dictionary = copy . deepcopy ( start_dict ) for key , value in added_dict . items ( ) : if ( key in start_dict and isinstance ( start_dict [ key ] , dict ) and isinstance ( added_dict [ key ] , dict ) ) : merged_dictionary [ key ] = _merge_dictionaries ( start_dict [ key ] , added_dict [ key ] ) else : merged_dictionary [ key ] = value return merged_dictionary
Create a dictionary by merging one into another.
Create a dictionary by merging one into another .
"""Create a dictionary by merging one into another.

    Keys present in start_dict will be overwritten by added_dict.

    Args:
        start_dict: The starting dictionary.
        added_dict: The dictionary to merge into current_dictionary.

    Returns:
        The merged dictionary.
    """
The merged dictionary.
The merged dictionary .
start_dict
dict
The starting dictionary.
The starting dictionary .
added_dict
dict
The dictionary to merge into current_dictionary.
The dictionary to merge into current_dictionary .