def normalize_keys_upper(data):
 return dict(((key.upper(), val) for (key, val) in data.items()))

def normalize_keys_upper ( data ) : return dict ( ( ( key . upper ( ) , val ) for ( key , val ) in data . items ( ) ) )
set all keys of a dictionnary to uppercase buckaroo parameters names are case insensitive convert everything to upper case to be able to easily detected the presence of a parameter by checking the uppercase key only .