From e45418703503ad37eb92939df46804a671383da8 Mon Sep 17 00:00:00 2001 From: giles Date: Wed, 25 Feb 2026 03:11:29 +0000 Subject: [PATCH] Fix dict attribute access in market hydrate_market MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit post is a raw dict from fetch_data, not a DTO — use post["id"] instead of post.id. Co-Authored-By: Claude Opus 4.6 --- market/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/market/app.py b/market/app.py index f09f396..73675f1 100644 --- a/market/app.py +++ b/market/app.py @@ -186,7 +186,7 @@ def create_app() -> "Quart": select(MarketPlace).where( MarketPlace.slug == market_slug, MarketPlace.container_type == "page", - MarketPlace.container_id == post.id, + MarketPlace.container_id == post["id"], MarketPlace.deleted_at.is_(None), ) )