def METHOD_NAME(self):
    """
    Returnt the object needed
    """
    try:
        return _resolve_dataset(
            self.request,
            self.resource_name,
            "base.download_resourcebase",
            _("You do not have permissions for this dataset."),
        )
    except Exception as e:
        raise Http404(Exception(_("Not found"), e))