Add class for memoize decorator
ADD
plex_trakt_sync/memoize.py
+class Memoize:
+ def __init__(self, fn):
+ self.fn = fn
+ self.memo = {}
+
+ def __call__(self, *args):
+ if args not in self.memo:
+ self.memo[args] = self.fn(*args)
+
+ return self.memo[args]

Add class for memoize decorator

https://www.python-course.eu/python3_memoization.php