def get_test_runs_by_run_id(run_id, session=None):
    session = session or get_session()
    test_runs = db_utils.model_query(
        models.TestRun, session=session).join(
            models.Run, models.TestRun.run_id == models.Run.id).filter(
                models.Run.uuid == run_id).all()
    return test_runs
Get all test runs for a specific run.
dataset/ETHPy150Open openstack-infra/subunit2sql/subunit2sql/db/api.py/get_test_runs_by_run_id