Skip to content

Commit

Permalink
Clarified expected type of the opinions (backlog)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolay-r committed May 11, 2023
1 parent bd2332f commit af07506
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arekit/common/opinions/annot/algo_based.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ def _annot_collection_core(self, parsed_news):
assert(isinstance(parsed_news, ParsedNews))

opinions = self.__get_existed_opinions_func(parsed_news.RelatedDocID)
assert(isinstance(opinions, OpinionCollection))

annotated_opinions_it = self.__annot_algo.iter_opinions(
parsed_news=parsed_news, existed_opinions=opinions)

Expand Down

0 comments on commit af07506

Please sign in to comment.