From bea10b4356dbe9d20687ce0762494217293c6baa Mon Sep 17 00:00:00 2001 From: Yeuoly <45712896+Yeuoly@users.noreply.github.com> Date: Mon, 17 Feb 2025 18:16:45 +0800 Subject: [PATCH] fix: undefined attribute 'query' on MessageAnnotation (#13852) --- api/models/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/models/model.py b/api/models/model.py index aaed9ded77..7591e66464 100644 --- a/api/models/model.py +++ b/api/models/model.py @@ -1289,7 +1289,7 @@ class MessageAnnotation(Base): return account -class AppAnnotationHitHistory(Base): +class AppAnnotationHitHistory(db.Model): # type: ignore[name-defined] __tablename__ = "app_annotation_hit_histories" __table_args__ = ( db.PrimaryKeyConstraint("id", name="app_annotation_hit_histories_pkey"),