From 8125c35dd5acc0c1e161e101b96b0f5ad048ac2b Mon Sep 17 00:00:00 2001 From: Sergey Date: Tue, 12 Nov 2024 18:23:58 -0700 Subject: [PATCH] fixed type bug --- src/openparse/processing/semantic_transforms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openparse/processing/semantic_transforms.py b/src/openparse/processing/semantic_transforms.py index 6af867c..aaeebda 100644 --- a/src/openparse/processing/semantic_transforms.py +++ b/src/openparse/processing/semantic_transforms.py @@ -37,7 +37,7 @@ def __init__( self.batch_size = batch_size self.client = self._create_client() - def embed_many(self, texts: list[str]) -> list[list[float]]: + def embed_many(self, texts: List[str]) -> List[List[float]]: res = [] non_empty_texts = [text for text in texts if text]