From 6a54204cfce87dd667792e8fb5b2ac080b8c9496 Mon Sep 17 00:00:00 2001 From: pyr0ball Date: Tue, 31 Mar 2026 11:33:49 -0700 Subject: [PATCH] =?UTF-8?q?fix:=20store=20=E2=80=94=20deserialize=20recipe?= =?UTF-8?q?=20JSON=20columns=20in=20=5Frow=5Fto=5Fdict?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/db/store.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/db/store.py b/app/db/store.py index 7f11efd..c974cf1 100644 --- a/app/db/store.py +++ b/app/db/store.py @@ -32,7 +32,10 @@ class Store: # Deserialise any TEXT columns that contain JSON for key in ("metadata", "nutrition_data", "source_data", "items", "metrics", "improvement_suggestions", "confidence_scores", - "warnings"): + "warnings", + # recipe columns + "ingredients", "ingredient_names", "directions", + "keywords", "element_coverage"): if key in d and isinstance(d[key], str): try: d[key] = json.loads(d[key])