From 7aa3758af6c2af828c62b6c372e849113fadfb93 Mon Sep 17 00:00:00 2001 From: Raphael Mitsch Date: Mon, 24 Apr 2023 21:05:37 +0200 Subject: [PATCH] Reformat imports in entity_linker.py. --- spacy/pipeline/entity_linker.py | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/spacy/pipeline/entity_linker.py b/spacy/pipeline/entity_linker.py index 2618e3b0e..aad38d8c5 100644 --- a/spacy/pipeline/entity_linker.py +++ b/spacy/pipeline/entity_linker.py @@ -1,17 +1,6 @@ import warnings -from typing import ( - cast, - Optional, - Iterable, - Callable, - Dict, - Sequence, - Union, - List, - Any, - Iterator, -) -from numpy import dtype +from typing import cast, Optional, Iterable, Callable, Dict +from typing import Union, List, Any, Iterator, Sequence from thinc.types import Floats1d, Floats2d, Ints1d, Ragged from pathlib import Path from itertools import islice