docs: def _resource_config(self, resource=None, key=None, default=None):
          """Get config using resource elastic prefix (if any)."""
          px = self._resource_prefix(resource)
          return self.app.config.get('%s_%s' % (px, key), default)