mirror of
https://github.com/yzernik/squeaknode.git
synced 2026-08-15 12:50:47 +02:00
Remove db query property for squeak has no secret key (#1676)
This commit is contained in:
parent
0f65bb93e3
commit
6fa1a36fca
1 changed files with 0 additions and 4 deletions
|
|
@ -138,10 +138,6 @@ class SqueakDb:
|
|||
def squeak_is_not_liked(self):
|
||||
return self.squeaks.c.liked_time_ms == None # noqa: E711
|
||||
|
||||
@property
|
||||
def squeak_has_no_secret_key(self):
|
||||
return self.squeaks.c.secret_key == None # noqa: E711
|
||||
|
||||
def squeak_is_older_than_retention(self, interval_s):
|
||||
return self.timestamp_now_ms > \
|
||||
self.squeaks.c.created_time_ms + interval_s * 1000
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue