Quickfix f-string in models/
@@ -13,7 +13,7 @@ class UserModel(Base):
created_at = Column(DateTime, default=datetime.datetime.utcnow)
def __repr__(self):
- return f'<User: id={self.id}, username={self.username}, created_at={self.created_at}>'
+ return '<User: id={id}, username={username}, created_at={created_at}>'.format(id=self.id, username=self.username, created_at=self.created_at)
# TODO updated_at timestamp, role and more
