From b865a7695b18c0c2d31fb2dbcd95fab885a60792 Mon Sep 17 00:00:00 2001 From: Giancarlo Romeo Date: Wed, 30 Oct 2024 23:37:31 +0100 Subject: [PATCH] fix mypy --- .../web/server/src/simcore_service_webserver/login/_models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/web/server/src/simcore_service_webserver/login/_models.py b/services/web/server/src/simcore_service_webserver/login/_models.py index 23775712301..c0aef7a6015 100644 --- a/services/web/server/src/simcore_service_webserver/login/_models.py +++ b/services/web/server/src/simcore_service_webserver/login/_models.py @@ -1,4 +1,4 @@ -from typing import Any, Callable +from typing import Callable from pydantic import BaseModel, ConfigDict, SecretStr, ValidationInfo @@ -15,7 +15,7 @@ class InputSchema(BaseModel): def create_password_match_validator( reference_field: str, -) -> Callable[[SecretStr, dict[str, Any]], SecretStr]: +) -> Callable[[SecretStr, ValidationInfo], SecretStr]: def _check(v: SecretStr, info: ValidationInfo): if ( v is not None