Skip to content

Commit

Permalink
Fix missing f-strings (#790)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewisplinghoff authored Jan 10, 2024
1 parent ba83563 commit af81e76
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions trulens_eval/trulens_eval/tru.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ def _submit_feedback_functions(
app = AppDefinition.model_validate(self.db.get_app(app_id=app_id))
if app is None:
raise RuntimeError(
"App {app_id} not present in db. "
f"App {app_id} not present in db. "
"Either add it with `tru.add_app` or provide `app_json` to `tru.run_feedback_functions`."
)

Expand All @@ -208,7 +208,7 @@ def _submit_feedback_functions(

if self.db.get_app(app_id=app.app_id) is None:
logger.warning(
"App {app_id} was not present in database. Adding it."
f"App {app_id} was not present in database. Adding it."
)
self.add_app(app=app)

Expand Down

0 comments on commit af81e76

Please sign in to comment.