Skip to content

Commit

Permalink
Fix lint and add release.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mattalbr committed Aug 9, 2023
1 parent 9f63a41 commit 6452978
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion strawberry/type.py
Original file line number Diff line number Diff line change
Expand Up @@ -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_))

Expand Down

0 comments on commit 6452978

Please sign in to comment.