This commit is contained in:
Aevann1 2022-03-06 03:18:10 +02:00
parent d4fb389627
commit 11f05cd90a
3 changed files with 9 additions and 14 deletions

View file

@ -70,11 +70,6 @@ class Submission(Base):
def __repr__(self):
return f"<Submission(id={self.id})>"
@property
@lazy
def comments2(self):
return g.db.query(Comment.author_id, Comment.created_utc, Comment.id).filter(Comment.parent_submission == self.id, Comment.author_id.notin_((AUTOPOLLER_ID,AUTOBETTER_ID, AUTOCHOICE_ID))).all()
@property
@lazy
def controversial(self):