Skip to content

Commit

Permalink
Add rated_at paramter to Movie.rate()
Browse files Browse the repository at this point in the history
  • Loading branch information
glensc committed Feb 21, 2024
1 parent 7259527 commit 9d58f80
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions trakt/movies.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,12 +312,12 @@ def mark_as_unseen(self):
"""
return remove_from_history(self)

def rate(self, rating):
def rate(self, rating, rated_at=None):
"""Rate this :class:`Movie` on trakt. Depending on the current users
settings, this may also send out social updates to facebook, twitter,
tumblr, and path.
"""
return rate(self, rating)
return rate(self, rating, rated_at)

def remove_from_library(self):
"""Remove this :class:`Movie` from your library."""
Expand Down

0 comments on commit 9d58f80

Please sign in to comment.