def update_records(
        self,
        records: Union[RemoteFeedbackRecord, List[RemoteFeedbackRecord]],
        show_progress: bool = True,
    ) -> None:
        """Updates the given records in the dataset in Argilla.

        Args:
            records: the records to update in the dataset. Can be a single record or a
                list of records. The records need to be previously pushed to Argilla,
                otherwise they won't be updated.
            show_progress: if `True`, shows a progress bar while pushing the records to
                Argilla. Defaults to `True`.

        Raises:
            PermissionError: if the user does not have either `owner` or `admin` role.
        """
        self._records.update(records=records, show_progress=show_progress)
Updates the given records in the dataset in Argilla.

        Args:
            records: the records to update in the dataset. Can be a single record or a
                list of records. The records need to be previously pushed to Argilla,
                otherwise they won't be updated.
            show_progress: if `True`, shows a progress bar while pushing the records to
                Argilla. Defaults to `True`.

        Raises:
            PermissionError: if the user does not have either `owner` or `admin` role.
        
argilla-v1/src/argilla_v1/client/feedback/dataset/remote/dataset.py