From 4f9ca7b6555d9cf672ac740fab25a054e8503e82 Mon Sep 17 00:00:00 2001 From: Abigail Emery Date: Fri, 27 Feb 2026 14:51:09 +0000 Subject: [PATCH] Remove redundant type --- src/blueapi/core/context.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/blueapi/core/context.py b/src/blueapi/core/context.py index a4526f6ce..78682ccf6 100644 --- a/src/blueapi/core/context.py +++ b/src/blueapi/core/context.py @@ -526,7 +526,7 @@ def _type_spec_for_function( ) return new_args - def _convert_type(self, typ: type | Any, no_default: bool = True) -> type: + def _convert_type(self, typ: Any, no_default: bool = True) -> type: """ Recursively convert a type to something that can be deserialised by pydantic. Bluesky protocols (and types that extend them) are replaced