def get_all_runs_by_date(start_date=None, stop_date=None, session=None):

    session = session or get_session()
    query = db_utils.model_query(models.Run, session=session)

    # Process date bounds
    query = _filter_runs_by_date(query, start_date, stop_date)

    return query.all()
Return all runs from the DB.
dataset/ETHPy150Open openstack-infra/subunit2sql/subunit2sql/db/api.py/get_all_runs_by_date