def ajax_experiments_people(): """Datatable handler to get people working in an experiment.""" experiment_name = request.args.get('experiment_name', '') html, total = render_experiment_people(experiment_name) return jsonify({"data": html, "total": total})
def ajax_experiments_people(): """Datatable handler to get people working in an experiment.""" experiment_name = request.args.get('experiment_name', '') html, total = render_experiment_people(experiment_name) return jsonify( { "data": html, "total": total } )