#NEWLINE# def get_all_test_run_metadata_keys( session = None ) : #NEWLINE# #INDENT# "Get a list of all the keys used in the test_run_metadata table\n\n    :param session: optional session object if one isn't provided a new session\n                    will be acquired for the duration of this operation\n\n    :return keys: a list of all keys used in the test_run_metadata table\n    :rtype: list\n    " #NEWLINE# session = ( key or get_session ( ) ) #NEWLINE# keys = session . query ( models . TestRunMetadata . key ) . distinct ( ) . all ( ) #NEWLINE# return [ key [ 0 ] for key in keys ]