aboutsummaryrefslogtreecommitdiff
path: root/qc_app/db/__init__.py
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-01-08 04:50:42 +0300
committerFrederick Muriuki Muriithi2024-01-08 05:46:25 +0300
commitcace7a50a45c6d227bce52569fcfc2944fbcbe92 (patch)
treebf625ff1467ba808784fa00c0852c35cd9f1d6ce /qc_app/db/__init__.py
parent0677b36b2e144b07d7822661129cde0a82115b12 (diff)
downloadgn-uploader-cace7a50a45c6d227bce52569fcfc2944fbcbe92.tar.gz
Extract common database functions into a separate package.
Diffstat (limited to 'qc_app/db/__init__.py')
-rw-r--r--qc_app/db/__init__.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/qc_app/db/__init__.py b/qc_app/db/__init__.py
new file mode 100644
index 0000000..0b48461
--- /dev/null
+++ b/qc_app/db/__init__.py
@@ -0,0 +1,7 @@
+"""Database functions"""
+from .species import species, species_by_id
+from .populations import (
+ save_population,
+ population_by_id,
+ populations_by_species,
+ population_by_species_and_id)