Explorar o código

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

Yeuoly hai 5 meses
pai
achega
bea10b4356
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      api/models/model.py

+ 1 - 1
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"),