Add TYPE_CHECKING to PlexServerConnection
-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):
