diff --git a/openedx/core/lib/cache_utils.py b/openedx/core/lib/cache_utils.py index b53aeedf88..c379ab2d96 100644 --- a/openedx/core/lib/cache_utils.py +++ b/openedx/core/lib/cache_utils.py @@ -126,7 +126,7 @@ class process_cached: # pylint: disable=invalid-name self.cache = {} def __call__(self, *args): - if not isinstance(args, collections.Hashable): + if not isinstance(args, collections.abc.Hashable): # uncacheable. a list, for instance. # better to not cache than blow up. return self.func(*args)