fdfddf
This commit is contained in:
parent
8daf92b700
commit
5adf35178a
1 changed files with 0 additions and 6 deletions
|
@ -13,9 +13,6 @@ class Subscription(Base):
|
|||
user = relationship("User", uselist=False)
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
if "created_utc" not in kwargs:
|
||||
kwargs["created_utc"] = int(time.time())
|
||||
|
||||
super().__init__(*args, **kwargs)
|
||||
|
||||
def __repr__(self):
|
||||
|
@ -38,9 +35,6 @@ class Follow(Base):
|
|||
primaryjoin="User.id==Follow.target_id")
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
if "created_utc" not in kwargs:
|
||||
kwargs["created_utc"] = int(time.time())
|
||||
|
||||
super().__init__(*args, **kwargs)
|
||||
|
||||
def __repr__(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue