Browse Source

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

tags/1.0.0
Yeuoly 8 months ago
parent
commit
bea10b4356
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      api/models/model.py

+ 1
- 1
api/models/model.py 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"),

Loading…
Cancel
Save