def get_messages(): lightweight = not bool_arg(request.args.get('full')) return {'messages': db.get_messages(lightweight)}
def get_messages(): lightweight = not bool_arg(request.args.get('full')) return { 'messages': db.get_messages(lightweight) }