Add TYPE_CHECKING to PlexServerConnection
MODIFY
plextraktsync/plex/PlexServerConnection.py
plextraktsync/plex/PlexServerConnection.py
-from typing import List
+from __future__ import annotations
+
+from typing import TYPE_CHECKING
import plexapi
from plexapi.exceptions import Unauthorized
from plextraktsync.decorators.nocache import nocache
from plextraktsync.factory import Factory, logging
+if TYPE_CHECKING:
+ from typing import List
+
class PlexServerConnection:
def __init__(self, factory: Factory):

Add TYPE_CHECKING to PlexServerConnection