changes of column import and add serialize table column fild show as per sheet
This commit is contained in:
@@ -78,3 +78,6 @@ class ManholeExcavationClient(db.Model):
|
||||
|
||||
def __repr__(self):
|
||||
return f"<HanholeExcavation {self.Location}>"
|
||||
|
||||
def serialize(self):
|
||||
return {c.name: getattr(self, c.name) for c in self.__table__.columns}
|
||||
|
||||
Reference in New Issue
Block a user