From fd055496287c5c3f67d5757748296f5db6090321 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Wed, 13 Dec 2023 09:34:40 +0100 Subject: [PATCH] Update dependencies --- requirements.txt | 17 ++++++++--------- src/search_geom_service.py | 2 +- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/requirements.txt b/requirements.txt index f34b9ae..e5e6439 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,10 +1,9 @@ -Flask==2.3.2 -Flask-JWT-Extended==4.4.4 -flask_login==0.6.2 -flask-restx==1.1.0 -python-dotenv==1.0.0 +Flask==3.0.0 +Werkzeug==3.0.1 +Flask-JWT-Extended==4.6.0 +flask_login==0.6.3 +flask-restx==1.3.0 requests==2.31.0 -psycopg2==2.9.6 -SQLAlchemy==1.4.48 -Werkzeug==2.3.4 -qwc-services-core==1.3.20 +psycopg2==2.9.9 +SQLAlchemy==2.0.23 +qwc-services-core==1.3.21 diff --git a/src/search_geom_service.py b/src/search_geom_service.py index 8048e9e..75a343c 100644 --- a/src/search_geom_service.py +++ b/src/search_geom_service.py @@ -107,7 +107,7 @@ def _index(self, filterexpr, cfg): # execute query features = [] - result = conn.execute(sql, **params) + result = conn.execute(sql, params).mappings() srid = 4326 bbox = None