Skip to content

Commit

Permalink
Added missing type
Browse files Browse the repository at this point in the history
  • Loading branch information
sjrl committed Oct 25, 2022
1 parent d4dd0b1 commit 8de16c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion haystack/nodes/reader/table.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ def _calculate_answer_offsets(answer_coordinates: List[Tuple[int, int]], table:
return answer_offsets

@staticmethod
def _check_documents(documents):
def _check_documents(documents: List[Document]) -> List[Document]:
table_documents = []
for document in documents:
if document.content_type != "table":
Expand Down

0 comments on commit 8de16c6

Please sign in to comment.