fds
This commit is contained in:
parent
2f41cc6b47
commit
e917df0434
3 changed files with 12 additions and 4 deletions
|
@ -230,6 +230,14 @@ class User(Base):
|
|||
def age(self):
|
||||
return int(time.time()) - self.created_utc
|
||||
|
||||
@property
|
||||
@lazy
|
||||
def alts_unique(self):
|
||||
alts = []
|
||||
for u in self.alts:
|
||||
if u not in alts: alts.append(u)
|
||||
return alts
|
||||
|
||||
@property
|
||||
@lazy
|
||||
def strid(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue