async def execute(self) -> "UpdateByQueryResponse[_R]":
        """
        Execute the search and return an instance of ``Response`` wrapping all
        the data.
        """
        es = get_connection(self._using)
        assert self._index is not None

        self._response = self._response_class(
            self,
            (
                await es.update_by_query(
                    index=self._index, **self.to_dict(), **self._params
                )
            ).body,
        )
        return self._response

        Execute the search and return an instance of ``Response`` wrapping all
        the data.
        
elasticsearch/dsl/_async/update_by_query.py