Ejemplo n.º 1
0
def get_messages():
    lightweight = not bool_arg(request.args.get('full'))
    return {'messages': db.get_messages(lightweight)}
Ejemplo n.º 2
0
def get_messages():
    lightweight = not bool_arg(request.args.get('full'))
    return {
        'messages': db.get_messages(lightweight)
    }