Add typing to reload_item to avoid mistakes
@@ -438,7 +438,7 @@ def fetch_item(self, key: Union[int, str]):
media = self.plex.library.fetchItem(key)
return PlexLibraryItem(media)
- def reload_item(self, pm):
+ def reload_item(self, pm: PlexLibraryItem):
self.fetch_item.cache_clear()
return self.fetch_item(pm.item.ratingKey)
