fix: undefined attribute 'query' on MessageAnnotation (#13852)

This commit is contained in:
Yeuoly 2025-02-17 18:16:45 +08:00 committed by GitHub
parent f5f83f1924
commit bea10b4356
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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"),