Add PlexApi typing to PlexLibraryItem
MODIFY
plextraktsync/plex/PlexLibraryItem.py
plextraktsync/plex/PlexLibraryItem.py
from plexapi.media import MediaPart
+ from plextraktsync.plex.PlexApi import PlexApi
from plextraktsync.plex.types import PlexMedia
class PlexLibraryItem:
- def __init__(self, item: PlexMedia, plex=None):
+ def __init__(self, item: PlexMedia, plex: PlexApi = None):
self.item = item
self.plex = plex

Add PlexApi typing to PlexLibraryItem