From 7511261d349af8803128f89c8a02019d837a5a1d Mon Sep 17 00:00:00 2001 From: Damien De Paoli Date: Wed, 27 Sep 2023 14:30:24 +1000 Subject: [PATCH] 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 --- path.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/path.py b/path.py index 192088d..15d590c 100644 --- a/path.py +++ b/path.py @@ -22,6 +22,8 @@ class PathType(db.Model): ################################################################################ class Path(db.Model): + __allow_unmapped__ = True + """Class describing a Path in the database Attributes: