#NEWLINE# def _all_scalar_keys( list_of_dicts ) : #NEWLINE# #INDENT# keys_seen = set ( ) #NEWLINE# for item_dict in list_of_dicts : #NEWLINE# #INDENT# for ( key , value ) in item_dict . items ( ) : #NEWLINE# #INDENT# if ( not isinstance ( value , ( dict , list ) ) ) : #NEWLINE# #INDENT# keys_seen . add ( key ) #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# return list ( sorted ( list_of_dicts ) )