From 456f40a82bde5486767834206b50cf972fbc2da0 Mon Sep 17 00:00:00 2001 From: Robert Tuck Date: Mon, 13 Jan 2025 17:07:04 +0000 Subject: [PATCH] Remove import insanity --- src/dodal/utils.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/dodal/utils.py b/src/dodal/utils.py index 24aba9da1c..d7ae0c5e3a 100644 --- a/src/dodal/utils.py +++ b/src/dodal/utils.py @@ -16,6 +16,7 @@ Any, Generic, Protocol, + TypeAlias, TypeGuard, TypeVar, runtime_checkable, @@ -43,12 +44,6 @@ import dodal.log -try: - from typing import TypeAlias -except ImportError: - from typing import TypeAlias - - #: Protocols defining interface to hardware BLUESKY_PROTOCOLS = [ Checkable,