From fe9f91863da167d6e912fa6764eb8324be33185a Mon Sep 17 00:00:00 2001 From: bpinsard Date: Tue, 16 Jan 2024 10:13:50 -0500 Subject: [PATCH] fix py3.11 typing import --- heudiconv/dicoms.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/heudiconv/dicoms.py b/heudiconv/dicoms.py index b9734d7f..07d28a4d 100644 --- a/heudiconv/dicoms.py +++ b/heudiconv/dicoms.py @@ -9,8 +9,7 @@ from pathlib import Path import sys import tarfile -from typing_extensions import Protocol -from typing import TYPE_CHECKING, Any, Dict, Hashable, List, NamedTuple, Optional, Union, overload +from typing import TYPE_CHECKING, Any, Dict, Hashable, List, NamedTuple, Optional, Protocol, Union, overload from unittest.mock import patch import warnings