Skip to content

Commit

Permalink
Update for newer SQLAlchemy execute() API
Browse files Browse the repository at this point in the history
  • Loading branch information
DraTeots committed Dec 18, 2024
1 parent 30feae4 commit 4078a31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/rcdb/provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -1001,7 +1001,7 @@ def select_values(self, val_names=None, search_str="", run_min=0, run_max=sys.ma

#sql.bindparams(run_max=run_max, run_min=run_min)
#result = self.session.connection().execute(sql)
result = self.session.connection().execute(sql, parameters={"run_min": run_min, "run_max":run_max})
result = self.session.connection().execute(sql, {"run_min": run_min, "run_max":run_max})

query_sw.stop()

Expand Down

0 comments on commit 4078a31

Please sign in to comment.