Add TYPE_CHECKING to FilterRule
+from __future__ import annotations
+
from dataclasses import dataclass
-from logging import Filter, Logger, LogRecord
-from typing import Dict, List
+from logging import Filter
+from typing import TYPE_CHECKING
from plextraktsync.decorators.cached_property import cached_property
+if TYPE_CHECKING:
+ from logging import Logger, LogRecord
+ from typing import Dict, List
+
@dataclass
class FilterRule:
