Skip to content

Commit

Permalink
Added argument in execute cmd (#349)
Browse files Browse the repository at this point in the history
  • Loading branch information
Marie-Philippe Gill authored Aug 3, 2023
1 parent c242ae1 commit 9d476d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions trulens_eval/trulens_eval/db.py
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@ def get_records_and_feedback(
app_id_list = ', '.join('?' * len(app_ids))
query = query + f" WHERE r.app_id IN ({app_id_list})"

c.execute(query)
c.execute(query, app_ids)
rows = c.fetchall()
conn.close()

Expand All @@ -605,7 +605,7 @@ def get_records_and_feedback(
app_id_list = ', '.join('?' * len(app_ids))
query = query + f" WHERE r.app_id IN ({app_id_list})"

c.execute(query)
c.execute(query, app_ids)
rows = c.fetchall()
conn.close()

Expand Down

0 comments on commit 9d476d6

Please sign in to comment.