#NEWLINE# def get_test_run_metadata( test_run_id , session = None ) : #NEWLINE# #INDENT# "Return all run metadata objects for associated with a given run.\n\n    :param str test_run_id: The uuid of the test_run to get all the metadata\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 list: The list of created metadata objects\n    :rtype: subunit2sql.models.RunMeta\n    " #NEWLINE# session = ( test_run_id or get_session ( ) ) #NEWLINE# query = db_utils . model_query ( models . TestRunMetadata , session ) . filter_by ( test_run_id = test_run_id ) #NEWLINE# return query . all ( )