1 parent 2868b74 commit b75ec54Copy full SHA for b75ec54
1 file changed
trakt/sync.py
@@ -2,6 +2,8 @@
2
"""This module contains Trakt.tv sync endpoint support functions"""
3
from datetime import datetime, timezone
4
5
+from deprecated import deprecated
6
+
7
from trakt.core import get, post, delete
8
from trakt.utils import slugify, extract_ids, timestamp
9
@@ -349,6 +351,7 @@ def get_watchlist(list_type=None, sort=None):
349
351
350
352
353
@get
354
+@deprecated("This method returns watchlist, not watched list. This will be changed in PyTrakt 4.x to return watched list")
355
def get_watched(list_type=None, extended=None):
356
"""Return all movies or shows a user has watched sorted by most plays.
357
0 commit comments