def METHOD_NAME(self) -> None:
    self._query = (
        db.session.query(Query).filter_by(client_id=self._client_id).one_or_none()
    )
    if self._query is None:
        raise SupersetErrorException(
            SupersetError(
                message=__(
                    "The query associated with these results could not be found. "
                    "You need to re-run the original query."
                ),
                error_type=SupersetErrorType.RESULTS_BACKEND_ERROR,
                level=ErrorLevel.ERROR,
            ),
            status=404,
        )
    try:
        self._query.raise_for_access()
    except SupersetSecurityException as ex:
        raise SupersetErrorException(
            SupersetError(
                message=__("Cannot access the query"),
                error_type=SupersetErrorType.QUERY_SECURITY_ACCESS_ERROR,
                level=ErrorLevel.ERROR,
            ),
            status=403,
        ) from ex