From a8f5dc4e628056c3056a11f169fd08db68b27d7e Mon Sep 17 00:00:00 2001 From: Damien De Paoli Date: Wed, 11 Aug 2021 17:29:53 +1000 Subject: [PATCH] updated comments --- path.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/path.py b/path.py index 0ca2418..91340ea 100644 --- a/path.py +++ b/path.py @@ -17,6 +17,9 @@ class PathType(db.Model): def __repr__(self): return "".format(self.id, self.name ) +################################################################################ +# Class describing Path & in the database via sqlalchemy +################################################################################ class Path(db.Model): __tablename__ = "path" id = db.Column(db.Integer, db.Sequence('path_id_seq'), primary_key=True ) @@ -28,6 +31,10 @@ class Path(db.Model): def __repr__(self): return f"" +################################################################################ +# helper function to find StoragePathNames - used in html for move DBox to show +# potential storage paths to move files into +################################################################################ def StoragePathNames(): ret=[] sps=Path.query.join(PathType).filter(PathType.name=='Storage').all()