path now shows type in object

This commit is contained in:
2021-06-06 17:21:08 +10:00
parent b27391003f
commit 3cf27e9366

View File

@@ -26,5 +26,5 @@ class Path(db.Model):
num_files = db.Column(db.Integer) num_files = db.Column(db.Integer)
def __repr__(self): def __repr__(self):
return f"<id: {self.id}, path_prefix: {self.path_prefix}, num_files={self.num_files}>" return f"<id: {self.id}, path_prefix: {self.path_prefix}, num_files={self.num_files}, type={self.type}>"