We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1124b7d commit 7a7d92bCopy full SHA for 7a7d92b
ai_ta_backend/main.py
@@ -209,6 +209,7 @@ def ingest() -> Response:
209
"""
210
s3_paths: List[str] | str = request.args.get('s3_paths', default='')
211
course_name: List[str] | str = request.args.get('course_name', default='')
212
+ print(f"In top of /ingest route. course: {course_name}, s3paths: {s3_paths}")
213
214
if course_name == '' or s3_paths == '':
215
# proper web error "400 Bad request"
@@ -220,6 +221,7 @@ def ingest() -> Response:
220
221
222
ingester = Ingest()
223
success_fail_dict = ingester.bulk_ingest(s3_paths, course_name)
224
+ print(f"In /ingest route. success or fail dict: {success_fail_dict}")
225
del ingester
226
227
response = jsonify(success_fail_dict)
0 commit comments