Skip to content

Commit

Permalink
Removed abstractmethod annotation not to force _fit in subclass
Browse files Browse the repository at this point in the history
  • Loading branch information
myui committed Dec 10, 2024
1 parent e6cdef8 commit 55f4869
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion rtrec/models/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ def fit(self, user_interactions: Iterable[Tuple[Any, Any, float, float]], update

return self._fit(user_ids, item_ids)

@abstractmethod
def _fit(self, user_ids: List[int], item_ids: List[int]) -> None:
"""
Fit the recommender model.
Expand Down

0 comments on commit 55f4869

Please sign in to comment.