Move decorators each on their own file
ADD
plex_trakt_sync/decorators/__init__.py
+from .measure_time import measure_time
+from .memoize import memoize
+from .nocache import CacheDisabledDecorator as nocache

RENAME
plex_trakt_sync/decorators.py
plex_trakt_sync/decorators/measure_time.py
import logging
from contextlib import contextmanager
from time import time
-from plex_trakt_sync.nocache import CacheDisabledDecorator as nocache
-
-try:
- from functools import cache as memoize
-except ImportError:
- # For py<3.9
- # https://docs.python.org/3.9/library/functools.html
- from functools import lru_cache as memoize
@contextmanager

ADD
plex_trakt_sync/decorators/memoize.py
+try:
+ from functools import cache as memoize
+except ImportError:
+ # For py<3.9
+ # https://docs.python.org/3.9/library/functools.html
+ from functools import lru_cache as memoize

RENAME
plex_trakt_sync/nocache.py
plex_trakt_sync/decorators/nocache.py
Move decorators each on their own file