diff options
author | Frederick Muriuki Muriithi | 2022-05-06 16:43:26 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2022-05-06 16:43:26 +0300 |
commit | 4a9fd93d01b6d4bd9d9880dbf2274b3c7f2de37b (patch) | |
tree | 088287b7e1e65399529a405377968905c5017c01 /gn3/db | |
parent | d04241d0e49a50d9aa775042fffe5a7d8cfaf551 (diff) | |
download | genenetwork3-4a9fd93d01b6d4bd9d9880dbf2274b3c7f2de37b.tar.gz |
Fix linting and typing errors
Diffstat (limited to 'gn3/db')
-rw-r--r-- | gn3/db/partial_correlations.py | 4 |
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`. |