From 64529780c193c0d46fadf3b5e55d12e1021553b3 Mon Sep 17 00:00:00 2001 From: Matthew Albrecht Date: Wed, 9 Aug 2023 22:34:35 +0000 Subject: [PATCH] Fix lint and add release.md --- strawberry/type.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/strawberry/type.py b/strawberry/type.py index 2f81b25dfb..70af16af1e 100644 --- a/strawberry/type.py +++ b/strawberry/type.py @@ -231,7 +231,7 @@ def get_object_definition( return definition -def is_annotated_type(type_: object, annotated: Type[Annotated]) -> bool: +def is_annotated_type(type_: object, annotated: Type) -> bool: if get_origin(type_) is Annotated: return any(isinstance(argument, annotated) for argument in get_args(type_))