Remove confusing typing from watchlist_movies, watchlist_shows
MODIFY
plextraktsync/trakt/TraktApi.py
plextraktsync/trakt/TraktApi.py
from plextraktsync.trakt.types import TraktMedia
if TYPE_CHECKING:
- from typing import List, Optional, Union
+ from typing import Optional, Union
from trakt.movies import Movie
from trakt.tv import TVEpisode, TVShow
@@ -128,13 +128,13 @@ def collected_shows(self):
@property
@rate_limit()
@retry()
- def watchlist_movies(self) -> List[Movie]:
+ def watchlist_movies(self):
return self.me.watchlist_movies
@property
@rate_limit()
@retry()
- def watchlist_shows(self) -> List[TVShow]:
+ def watchlist_shows(self):
return self.me.watchlist_shows
@cached_property

Remove confusing typing from watchlist_movies, watchlist_shows