def METHOD_NAME(self, query=None):
    q = query or self.get_resource_query()
    key = self.get_cache_key(q)
    METHOD_NAME = None
    if self._cache.load():
        METHOD_NAME = self._cache.get(key)
        if METHOD_NAME:
            self.log.debug(
                "Using cached %s: %d"
                % (
                    "%s.%s" % (self.__class__.__module__, self.__class__.__name__),
                    len(METHOD_NAME),
                )
            )
    if METHOD_NAME is None:
        METHOD_NAME = self.augment(self.source.get_resources(q))
        self._cache.save(key, METHOD_NAME)
    return self.filter_resources(METHOD_NAME)