quick fix for new sqlalchemy 2 stricter mapping issues - only really using this when trying to imply typing in classes, not desperately needed, so Im ok with this workaround for now

This commit is contained in:
2023-09-27 14:30:24 +10:00
parent 621eba26ed
commit 7511261d34

View File

@@ -22,6 +22,8 @@ class PathType(db.Model):
################################################################################ ################################################################################
class Path(db.Model): class Path(db.Model):
__allow_unmapped__ = True
"""Class describing a Path in the database """Class describing a Path in the database
Attributes: Attributes: