class_docstr: Base class with shared functionality for `FeedbackDataset` and `RemoteFeedbackDataset`.
docstr: Updates the records of the dataset.
  
  Args:
      records: the records to update the dataset with.
  
  Raises:
      ValueError: if the provided `records` are invalid.
code: def update_records(self, records: Union[R, List[R]]) -> None:
      """Updates the records of the dataset.
  
      Args:
          records: the records to update the dataset with.
  
      Raises:
          ValueError: if the provided `records` are invalid.
      """
      pass
  
imports: import warnings
  from abc import ABC, ABCMeta, abstractmethod
  from typing import TYPE_CHECKING, Any, Generic, Iterable, List, Literal, Optional, Tuple, TypeVar, Union
  from argilla.client.feedback.integrations.huggingface import HuggingFaceDatasetMixin
  from argilla.client.feedback.schemas.records import FeedbackRecord, SortBy
  from argilla.utils.dependency import requires_dependencies
label_desc: Use image node_id 2 for calling the FeedbackDatasetBase obj's underlying member method code with example usage: obj.update_records(records) without return types