From 652d4591ea4e0fdc37f9f941fd75627a71e00133 Mon Sep 17 00:00:00 2001 From: hambro Date: Wed, 4 Oct 2023 17:01:13 +0200 Subject: [PATCH] Fix type --- django_api_decorator/decorators.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django_api_decorator/decorators.py b/django_api_decorator/decorators.py index 6083dbb..9675b07 100644 --- a/django_api_decorator/decorators.py +++ b/django_api_decorator/decorators.py @@ -215,7 +215,7 @@ def validate_boolean(value: Any) -> Any: TYPE_MAPPING = { - bool: Annotated[bool, BeforeValidator(validate_boolean)], # type: ignore[call-arg] + bool: Annotated[bool, BeforeValidator(validate_boolean)], }