duwiuishsuehgdz
This commit is contained in:
parent
aca1034400
commit
595753d323
3 changed files with 28 additions and 2 deletions
|
@ -172,6 +172,8 @@ class Comment(Base, Age_times, Scores, Stndrd, Fuzzing):
|
|||
|
||||
return data
|
||||
|
||||
def award_count(self, kind) -> int:
|
||||
return len([x for x in self.awards if x.kind == kind])
|
||||
|
||||
@property
|
||||
def json_core(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue