From 1926bee2a451f5b485838bc14c7e6921b689e2ea Mon Sep 17 00:00:00 2001 From: Tim Van Baak Date: Wed, 5 May 2021 23:51:36 -0700 Subject: [PATCH] Add docstrings to db submodules --- amanuensis/db/database.py | 3 +++ amanuensis/db/models.py | 3 +++ 2 files changed, 6 insertions(+) diff --git a/amanuensis/db/database.py b/amanuensis/db/database.py index 8faa5f1..22647a6 100644 --- a/amanuensis/db/database.py +++ b/amanuensis/db/database.py @@ -1,3 +1,6 @@ +""" +Database connection setup +""" from sqlalchemy import create_engine, MetaData, event from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.orm import scoped_session diff --git a/amanuensis/db/models.py b/amanuensis/db/models.py index 0fb21d6..acf8736 100644 --- a/amanuensis/db/models.py +++ b/amanuensis/db/models.py @@ -1,3 +1,6 @@ +""" +Data model SQL definitions +""" import enum from sqlalchemy import ( Boolean,