Skip to content

Commit

Permalink
fix(crafter): fix type hinting for numeric crafter
Browse files Browse the repository at this point in the history
  • Loading branch information
redram committed May 30, 2020
1 parent 3b83bad commit 63a5848
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jina/executors/crafters/numeric/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 63a5848

Please sign in to comment.