Skip to content

Commit

Permalink
Log entry error resolved (#994)
Browse files Browse the repository at this point in the history
* Nova models trial.

* google.protobuf.json_format.ParseError resolved

* removing mistakenly added file

* removed tasks from logger struct
  • Loading branch information
kaustubh-darekar authored Jan 14, 2025
1 parent 1732f2f commit 8049c3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/score.py
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ async def post_processing(uri=Form(), userName=Form(), password=Form(), database

end = time.time()
elapsed_time = end - start
json_obj = {'api_name': api_name, 'db_url': uri, 'userName':userName, 'database':database, 'tasks':tasks, 'logging_time': formatted_time(datetime.now(timezone.utc)), 'elapsed_api_time':f'{elapsed_time:.2f}'}
json_obj = {'api_name': api_name, 'db_url': uri, 'userName':userName, 'database':database, 'logging_time': formatted_time(datetime.now(timezone.utc)), 'elapsed_api_time':f'{elapsed_time:.2f}'}
logger.log_struct(json_obj)
return create_api_response('Success', data=count_response, message='All tasks completed successfully')

Expand Down

0 comments on commit 8049c3d

Please sign in to comment.