notifs
This commit is contained in:
parent
0d71a2b51e
commit
afdb1b0606
3 changed files with 12 additions and 1 deletions
|
@ -66,6 +66,11 @@ class Comment(Base):
|
|||
|
||||
return f"<Comment(id={self.id})>"
|
||||
|
||||
@property
|
||||
@lazy
|
||||
def top_comment(self):
|
||||
return g.db.query(Comment).filter_by(id=self.top_comment_id).first()
|
||||
|
||||
@property
|
||||
@lazy
|
||||
def flags(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue