def get_run_metadata(run_id, session=None):
    session = session or get_session()
    query = db_utils.model_query(models.RunMetadata, session).join(
        models.Run,
        models.RunMetadata.run_id == models.Run.id).filter(
            models.Run.uuid == run_id)
    return query.all()
Return all run metadata objects associated with a given run.
dataset/ETHPy150Open openstack-infra/subunit2sql/subunit2sql/db/api.py/get_run_metadata