def get_recent_successful_runs(num_runs=10, session=None):
    session = session or get_session()
    results = db_utils.model_query(models.Run, session).order_by(
        models.Run.run_at.desc()).filter_by(fails=0).limit(num_runs).all()
    return list(map(lambda x: x.uuid, results))
Get the preflist for a bucket/key
dataset/ETHPy150Open openstack-infra/subunit2sql/subunit2sql/db/api.py/get_recent_successful_runs--crossover with--dataset/ETHPy150Open basho/riak-python-client/riak/transports/http/transport.py/HttpTransport.get_preflist