From c174ebf8802eb8cccb461f835a466479bf947fd9 Mon Sep 17 00:00:00 2001 From: Raphael Mitsch Date: Thu, 1 Feb 2024 12:38:37 +0100 Subject: [PATCH] isort. --- spacy/kb/kb.pyx | 1 - spacy/kb/typedefs.pxd | 5 +++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/spacy/kb/kb.pyx b/spacy/kb/kb.pyx index a33e105fb..d368794b1 100644 --- a/spacy/kb/kb.pyx +++ b/spacy/kb/kb.pyx @@ -12,7 +12,6 @@ from .candidate import Candidate from .typedefs import CandidatesForMention - cdef class KnowledgeBase: """A `KnowledgeBase` instance stores unique identifiers for entities and their textual aliases, to support entity linking of named entities to diff --git a/spacy/kb/typedefs.pxd b/spacy/kb/typedefs.pxd index 4f7e887ad..4588b422e 100644 --- a/spacy/kb/typedefs.pxd +++ b/spacy/kb/typedefs.pxd @@ -1,4 +1,5 @@ -from .candidate import Candidate from typing import Iterable -ctypedef Iterable[Candidate] CandidatesForMention \ No newline at end of file +from .candidate import Candidate + +ctypedef Iterable[Candidate] CandidatesForMention