class_docstr: Base class with shared functionality for `FeedbackDataset` and `RemoteFeedbackDataset`.
docstr: Formats the `FeedbackDataset` as a `datasets.Dataset` object.
  
  Args:
      format: the format to use to format the `FeedbackDataset`. Currently supported formats are:
          `datasets`.
  
  Returns:
      The `FeedbackDataset.records` formatted as a `datasets.Dataset` object.
  
  Raises:
      ValueError: if the provided format is not supported.
  
  Examples:
      >>> import argilla as rg
      >>> rg.init(...)
      >>> dataset = rg.FeedbackDataset.from_argilla(name="my-dataset")
      >>> huggingface_dataset = dataset.format_as("datasets")
code: def format_as(self, format: Literal["datasets"]) -> "Dataset":
      """Formats the `FeedbackDataset` as a `datasets.Dataset` object.
  
      Args:
          format: the format to use to format the `FeedbackDataset`. Currently supported formats are:
              `datasets`.
  
      Returns:
          The `FeedbackDataset.records` formatted as a `datasets.Dataset` object.
  
      Raises:
          ValueError: if the provided format is not supported.
  
      Examples:
          >>> import argilla as rg
          >>> rg.init(...)
          >>> dataset = rg.FeedbackDataset.from_argilla(name="my-dataset")
          >>> huggingface_dataset = dataset.format_as("datasets")
      """
      if format == "datasets":
          return HuggingFaceDatasetMixin._huggingface_format(self)
      raise ValueError(f"Unsupported format '{format}'.")
  
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 16 for calling the FeedbackDatasetBase obj's underlying member method code with example usage: obj.format_as(format) and returns: HuggingFaceDatasetMixin