Skip to content

Commit 6efabb2

Browse files
glenscCopilot
andcommitted
Remove redundant @get from watched_movies property
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
1 parent 7d5ddad commit 6efabb2

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

trakt/users.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -535,14 +535,13 @@ def get_watched_movies(self):
535535
yield self._build_watched_movies(data)
536536

537537
@property
538-
@get
539538
def watched_movies(self):
540539
"""Watched progress for all :class:`Movie`'s in this :class:`User`'s
541540
collection.
542541
"""
543542
if self._watched_movies is None:
544543
self._watched_movies = self.get_watched_movies()
545-
yield self._watched_movies
544+
return self._watched_movies
546545

547546
@property
548547
@get

0 commit comments

Comments
 (0)