class_docstr: Base class with shared functionality for `FeedbackDataset` and `RemoteFeedbackDataset`.
docstr: Returns the field by name if it exists. Otherwise a `ValueError` is raised.
  
  Args:
      name: the name of the field to return.
code: def field_by_name(self, name: str) -> Optional["AllowedFieldTypes"]:
      """Returns the field by name if it exists. Otherwise a `ValueError` is raised.
  
      Args:
          name: the name of the field to return.
      """
      return self.__get_property_by_name(name, self.fields, "field")
  
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 7 for calling the FeedbackDatasetBase obj's underlying member method code with example usage: obj.field_by_name(name) and returns: self