Did I find the right examples for you? yes no

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/b/o/bodhi-HEAD/bodhi/views/generic.py   bodhi(Download)
        bodhi.models.Update.status==bodhi.models.UpdateStatus.testing)
 
    query = query.order_by(bodhi.models.Update.date_submitted.desc())
    return query.limit(5).all()
 

src/b/o/bodhi-HEAD/bodhi/services/updates.py   bodhi(Download)
        query = query.filter(Update.user==user)
 
    query = query.order_by(Update.date_submitted.desc())
 
    total = query.count()