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:
2
path.py
2
path.py
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user