From 1b1e062fd22e28001f8498301d9c194e8de6f8fa Mon Sep 17 00:00:00 2001 From: Nicolas Budyn Date: Tue, 2 Jan 2024 14:29:12 +0100 Subject: [PATCH] fix type hint for py38 --- src/arim/datasets.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/arim/datasets.py b/src/arim/datasets.py index be5f942c..3fbfa14e 100644 --- a/src/arim/datasets.py +++ b/src/arim/datasets.py @@ -8,6 +8,8 @@ """ +from typing import Dict + import pooch EXAMPLES = pooch.create( @@ -22,4 +24,4 @@ ) # Dictionary of all datasets -DATASETS: dict[str, pooch.Pooch] = {"examples": EXAMPLES} +DATASETS: Dict[str, pooch.Pooch] = {"examples": EXAMPLES}