def allows(self, user, action):

        # If this is kicking up a KeyError it's probably because you typoed!
        return getattr(self, '_allows_%s' % action)(user)
clear cache content
dataset/ETHPy150Open mozilla/kitsune/kitsune/wiki/permissions.py/DocumentPermissionMixin.allows--crossover with--dataset/ETHPy150Open sympy/sympy/sympy/core/cache.py/_cache.clear_cache