From 81be52f6ef0d9195cb8ab9d257cff0d6bb67a64a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CNaeel=E2=80=9D?= Date: Wed, 11 Mar 2026 16:39:56 +0400 Subject: [PATCH] =?UTF-8?q?fix:=20Decimal=E2=86=92float=20=D0=B4=D0=BB?= =?UTF-8?q?=D1=8F=20JSON=20=D1=81=D0=B5=D1=80=D0=B8=D0=B0=D0=BB=D0=B8?= =?UTF-8?q?=D0=B7=D0=B0=D1=86=D0=B8=D0=B8=20price?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- examples/pg-list-python/code/catalog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/pg-list-python/code/catalog.py b/examples/pg-list-python/code/catalog.py index 54ef884..2095879 100644 --- a/examples/pg-list-python/code/catalog.py +++ b/examples/pg-list-python/code/catalog.py @@ -21,7 +21,7 @@ def list_products(event): finally: conn.close() - products = [{"id": row[0], "name": row[1], "price": row[2]} for row in rows] + products = [{"id": row[0], "name": row[1], "price": float(row[2])} for row in rows] return {"products": products, "count": len(products)}