def flatten_dict_join_keys ( dct , join_symbol = " " ) : return dict ( flatten_dict ( dct , join = lambda a , b : a + join_symbol + b ) )
python join items in dict
Flatten dict with defined key join symbol .
def flatten_dict_join_keys(dct, join_symbol=" "):
    """ Flatten dict with defined key join symbol.

    :param dct: dict to flatten
    :param join_symbol: default value is " "
    :return:
    """
    return dict( flatten_dict(dct, join=lambda a,b:a+join_symbol+b) )