fix missing optional return

This commit is contained in:
Sarah Hoffmann
2025-05-30 12:03:00 +02:00
parent 02c3a6fffa
commit 2a508b6c99
2 changed files with 4 additions and 4 deletions

View File

@@ -37,7 +37,7 @@ class AbstractAnalyzer(ABC):
"""
@abstractmethod
def get_word_token_info(self, words: List[str]) -> List[Tuple[str, str, int]]:
def get_word_token_info(self, words: List[str]) -> List[Tuple[str, str, Optional[int]]]:
""" Return token information for the given list of words.
The function is used for testing and debugging only