From 4078a319e0fc48f81385a90f3c8d1a2584304774 Mon Sep 17 00:00:00 2001 From: Dmitry Romanov Date: Wed, 18 Dec 2024 13:23:44 -0500 Subject: [PATCH] Update for newer SQLAlchemy execute() API --- python/rcdb/provider.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/rcdb/provider.py b/python/rcdb/provider.py index e842b2a..c344eb0 100644 --- a/python/rcdb/provider.py +++ b/python/rcdb/provider.py @@ -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()