diff --git a/jina/executors/crafters/numeric/io.py b/jina/executors/crafters/numeric/io.py index c4e33367f4069..cb4b0de6f0e3f 100644 --- a/jina/executors/crafters/numeric/io.py +++ b/jina/executors/crafters/numeric/io.py @@ -22,7 +22,7 @@ def __init__(self, delimiter: str = ',', as_type: str = 'float32', *args, **kwar self.delimiter = delimiter self.as_type = as_type - def craft(self, buffer: bytes, doc_id: int, *args, **kwargs) -> List[Dict]: + def craft(self, buffer: bytes, doc_id: int, *args, **kwargs) -> Dict: """ Split string into numbers and convert to numpy array