aboutsummaryrefslogtreecommitdiff
path: root/gn3/db
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2022-05-06 16:43:26 +0300
committerFrederick Muriuki Muriithi2022-05-06 16:43:26 +0300
commit4a9fd93d01b6d4bd9d9880dbf2274b3c7f2de37b (patch)
tree088287b7e1e65399529a405377968905c5017c01 /gn3/db
parentd04241d0e49a50d9aa775042fffe5a7d8cfaf551 (diff)
downloadgenenetwork3-4a9fd93d01b6d4bd9d9880dbf2274b3c7f2de37b.tar.gz
Fix linting and typing errors
Diffstat (limited to 'gn3/db')
-rw-r--r--gn3/db/partial_correlations.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gn3/db/partial_correlations.py b/gn3/db/partial_correlations.py
index 96f953d..e8466f6 100644
--- a/gn3/db/partial_correlations.py
+++ b/gn3/db/partial_correlations.py
@@ -9,7 +9,7 @@ This module is part of the optimisation effort for the partial correlations.
"""
from functools import reduce, partial
-from typing import Any, Dict, Tuple, Union, Sequence
+from typing import Any, Dict, Tuple, Union, Sequence, Generator
from MySQLdb.cursors import DictCursor
@@ -750,7 +750,7 @@ def traits_datasets(conn, threshold, traits):
def traits_info(
conn: Any, threshold: int, traits_fullnames: Tuple[str, ...],
- qtl=None) -> Tuple[Dict[str, Any], ...]:
+ qtl=None) -> Generator:
"""
Retrieve basic trait information for multiple `traits`.