Add TYPE_CHECKING to sync.py
MODIFY
plextraktsync/sync.py
plextraktsync/sync.py
+
+from __future__ import annotations
+
+from typing import TYPE_CHECKING
+
+from plextraktsync.decorators.cached_property import cached_property
+from plextraktsync.decorators.flatten import flatten_dict
+from plextraktsync.decorators.measure_time import measure_time
+from plextraktsync.factory import logger
+from plextraktsync.trakt_list_util import TraktListUtil
+
+if TYPE_CHECKING:
from typing import Dict, Union
from plexapi.video import Movie, Show
from trakt.tv import TVShow
from plextraktsync.config import Config
-from plextraktsync.decorators.cached_property import cached_property
-from plextraktsync.decorators.flatten import flatten_dict
-from plextraktsync.decorators.measure_time import measure_time
-from plextraktsync.factory import logger
from plextraktsync.media import Media
-from plextraktsync.plex_api import PlexApi
+ from plextraktsync.plex.PlexApi import PlexApi
from plextraktsync.trakt_api import TraktApi
-from plextraktsync.trakt_list_util import TraktListUtil
from plextraktsync.walker import Walker

Add TYPE_CHECKING to sync.py