SQL Alchemy Obtenha os últimos n elementos
query = users.select().order_by(users.c.id.desc()).limit(N)
Nice Nightingale
query = users.select().order_by(users.c.id.desc()).limit(N)