def _dict_to_tuple_key(dictionary):
    return tuple(sorted(dictionary.items()))
Converts a dictionary to a tuple that can be used as an immutable key.
dataset/ETHPy150Open google/oauth2client/oauth2client/contrib/multistore_file.py/_dict_to_tuple_key