Skip to content

Commit

Permalink
Clarified the type input_data
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolay-r committed Jun 3, 2023
1 parent 778c8f1 commit ccaa5b3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arelight/pipelines/items/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ def input_to_docs(input_data, sentence_parser):
how data is suppose to be separated onto sentences.
str -> list(str)
"""
assert(input_data is not None)

docs = []

for doc_id, contents in enumerate(input_data):
Expand Down

0 comments on commit ccaa5b3

Please sign in to comment.