aboutsummaryrefslogtreecommitdiff
path: root/gn3/db_utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'gn3/db_utils.py')
-rw-r--r--gn3/db_utils.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/gn3/db_utils.py b/gn3/db_utils.py
index 4fd3666..23a570b 100644
--- a/gn3/db_utils.py
+++ b/gn3/db_utils.py
@@ -27,7 +27,9 @@ def database_connector() -> mdb.Connection:
# pylint: disable=missing-class-docstring, missing-function-docstring, too-few-public-methods
class Connection(Protocol):
+ """Type Annotation for MySQLdb's connection object"""
def cursor(self) -> Any:
+ """A cursor in which queries may be performed"""
...