From cba24ab06f5c1e92b2e57e7ce7d41f17324156e7 Mon Sep 17 00:00:00 2001 From: Phil Skentelbery Date: Wed, 10 Dec 2025 13:25:28 -0700 Subject: [PATCH] fix: Use _cached_tags for Note model compatibility in feeds MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Note model has a `tags` property that uses `_cached_tags` internally. Setting `tags` directly via object.__setattr__ conflicts with the property. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- starpunk/routes/public.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/starpunk/routes/public.py b/starpunk/routes/public.py index 3728713..e099d3b 100644 --- a/starpunk/routes/public.py +++ b/starpunk/routes/public.py @@ -71,7 +71,7 @@ def _get_cached_notes(): # Attach tags to each note (v1.3.1) tags = get_note_tags(note.id) - object.__setattr__(note, 'tags', tags) + object.__setattr__(note, '_cached_tags', tags) _feed_cache["notes"] = notes _feed_cache["timestamp"] = now