From 52342fc741141eb74a1b6788ce863d79261ff1dd Mon Sep 17 00:00:00 2001 From: India Kerle Date: Thu, 7 Mar 2024 08:46:35 -0300 Subject: [PATCH] add type ignore --- spacy/pipeline/coordinationruler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spacy/pipeline/coordinationruler.py b/spacy/pipeline/coordinationruler.py index ab99f16cc..a056f5f93 100644 --- a/spacy/pipeline/coordinationruler.py +++ b/spacy/pipeline/coordinationruler.py @@ -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