aboutsummaryrefslogtreecommitdiff
path: root/gn3/db/sample_data.py
diff options
context:
space:
mode:
Diffstat (limited to 'gn3/db/sample_data.py')
-rw-r--r--gn3/db/sample_data.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gn3/db/sample_data.py b/gn3/db/sample_data.py
index cfa4a3d..6482116 100644
--- a/gn3/db/sample_data.py
+++ b/gn3/db/sample_data.py
@@ -214,7 +214,7 @@ def delete_sample_data(conn: Any,
trait_name: str,
data: str,
csv_header: str,
- phenotype_id: int):
+ phenotype_id: int) -> int:
"""Given the right parameters, delete sample-data from the relevant
tables."""
def __delete_data(conn, table):
@@ -277,7 +277,7 @@ def insert_sample_data(conn: Any, # pylint: disable=[R0913]
trait_name: str,
data: str,
csv_header: str,
- phenotype_id: int):
+ phenotype_id: int) -> int:
"""Given the right parameters, insert sample-data to the relevant table.
"""