fixed up a few issues found from linter
This commit is contained in:
@@ -7,6 +7,8 @@ from sqlalchemy.exc import SQLAlchemyError
|
||||
from status import st, Status
|
||||
from refimg import Refimg
|
||||
|
||||
# pylint: disable=no-member
|
||||
|
||||
################################################################################
|
||||
# Class describing Person in the database, and via sqlalchemy, connected to the DB as well
|
||||
################################################################################
|
||||
@@ -16,7 +18,7 @@ class PersonRefimgLink(db.Model):
|
||||
refimg_id = db.Column(db.Integer, db.ForeignKey('refimg.id'), unique=True, nullable=False, primary_key=True)
|
||||
|
||||
def __repr__(self):
|
||||
return "<person_id: {}, refimg_id>".format(self.person_id, self.refimg_id)
|
||||
return f"<person_id: {self.person_id}, refimg_id: {self.refimg_id}>"
|
||||
|
||||
|
||||
class Person(db.Model):
|
||||
|
||||
Reference in New Issue
Block a user