Exemplo n.º 1
0
def getLargestTopicsTimelines(days, limit):
    fullObject = [{
        'name': t['name'],
        'topic': t['_id'],
        'timeline': getTimeline.byTopic(t['_id'])
    } for t in getTopics.bySize(days, limit)]
    return jsonify(fullObject)
Exemplo n.º 2
0
def getLargestTopicsTimelines(days, limit):
    fullObject = [{'name': t['name'], 'topic': t['_id'], 'timeline': getTimeline.byTopic(t['_id'])} for t in getTopics.bySize(days, limit)]
    return jsonify(fullObject)
Exemplo n.º 3
0
def getLargestTopicsEnt(days, limit):
    return jsonify(getTopics.bySize(days, limit))
Exemplo n.º 4
0
def getLargestTopicsEnt(days, limit):
    return jsonify(getTopics.bySize(days, limit))