From 5e4437e674c20679b9fd100c50db6d7386fa7444 Mon Sep 17 00:00:00 2001 From: Remi Gau Date: Fri, 15 Dec 2023 13:02:35 +0100 Subject: [PATCH] use Dict --- giga_connectome/denoise.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/giga_connectome/denoise.py b/giga_connectome/denoise.py index 87bd85c..e2acb53 100644 --- a/giga_connectome/denoise.py +++ b/giga_connectome/denoise.py @@ -2,7 +2,7 @@ import json from pathlib import Path -from typing import Any, Callable, List, TypedDict, Union +from typing import Any, Callable, Dict, List, TypedDict, Union import numpy as np import pandas as pd @@ -38,7 +38,7 @@ { "name": str, "function": Callable[..., Any], - "parameters": dict[str, Union[str, List[str]]], + "parameters": Dict[str, Union[str, List[str]]], }, )