update limit
Browse files
modules/database/discourse_mongo_db.py
CHANGED
|
@@ -62,7 +62,7 @@ def store_student_discourse_result(username, text1, text2, analysis_result):
|
|
| 62 |
|
| 63 |
# Correcci贸n 1: Actualizar get_student_discourse_analysis para recuperar todos los campos necesarios
|
| 64 |
|
| 65 |
-
def get_student_discourse_analysis(username, limit=
|
| 66 |
"""
|
| 67 |
Recupera los an谩lisis del discurso de un estudiante.
|
| 68 |
"""
|
|
|
|
| 62 |
|
| 63 |
# Correcci贸n 1: Actualizar get_student_discourse_analysis para recuperar todos los campos necesarios
|
| 64 |
|
| 65 |
+
def get_student_discourse_analysis(username, limit=100):
|
| 66 |
"""
|
| 67 |
Recupera los an谩lisis del discurso de un estudiante.
|
| 68 |
"""
|
modules/database/semantic_mongo_db.py
CHANGED
|
@@ -97,7 +97,7 @@ def store_student_semantic_result(username, text, analysis_result, lang_code='en
|
|
| 97 |
return False
|
| 98 |
|
| 99 |
####################################################################################
|
| 100 |
-
def get_student_semantic_analysis(username, limit=
|
| 101 |
"""
|
| 102 |
Recupera los an谩lisis sem谩nticos de un estudiante.
|
| 103 |
"""
|
|
|
|
| 97 |
return False
|
| 98 |
|
| 99 |
####################################################################################
|
| 100 |
+
def get_student_semantic_analysis(username, limit=100):
|
| 101 |
"""
|
| 102 |
Recupera los an谩lisis sem谩nticos de un estudiante.
|
| 103 |
"""
|
modules/database/semantic_mongo_live_db.py
CHANGED
|
@@ -102,7 +102,7 @@ def store_student_semantic_live_result(username, text, analysis_result, lang_cod
|
|
| 102 |
|
| 103 |
##########################################
|
| 104 |
##########################################
|
| 105 |
-
def get_student_semantic_live_analysis(username, limit=
|
| 106 |
"""
|
| 107 |
Versi贸n corregida sin usar projection
|
| 108 |
"""
|
|
|
|
| 102 |
|
| 103 |
##########################################
|
| 104 |
##########################################
|
| 105 |
+
def get_student_semantic_live_analysis(username, limit=100):
|
| 106 |
"""
|
| 107 |
Versi贸n corregida sin usar projection
|
| 108 |
"""
|