add type ignore

This commit is contained in:
India Kerle 2024-03-07 08:46:35 -03:00
parent fca1f3d840
commit 52342fc741

View File

@ -4,9 +4,9 @@ from typing import Callable, List, Optional, Union
from pydantic import BaseModel
try:
from pydantic import validator
from pydantic import validator # type: ignore
except ImportError:
from pydantic import field_validator as validator
from pydantic import field_validator as validator # type: ignore
from ..language import Language
from ..tokens import Doc, Token