Cleanup unused TraktApi.flush
import trakt.movies
import trakt.sync
import trakt.users
-from deprecated import deprecated
from trakt.errors import ForbiddenException, OAuthException
from plextraktsync import pytrakt_extensions
@@ -306,16 +305,6 @@ def find_episode_guid(self, guid: PlexGuid, lookup: TraktLookup):
return self.find_by_guid(guid)
return None
- @deprecated("No longer in use")
- def flush(self):
- """
- Submit all pending data
- """
- self.batch_collection_add.flush(force=True)
- self.batch_collection_del.flush(force=True)
- self.batch_watchlist_add.flush(force=True)
- self.batch_watchlist_del.flush(force=True)
-
@staticmethod
def trakt_batch(*args, **kwargs) -> TraktBatch:
return factory.trakt_batch(*args, **kwargs)
