class_docstr: Base class for Datasets.
code: def __setattr__(
      self, __name: str, __value: Union[Any, DatasetAttribute]
  ) -> None:
      if __name.startswith("_") or __name in type(self).__dict__:
          object.__setattr__(self, __name, __value)
          return
  
      if __name in self.fields:
          field_ = self.fields[__name]
          self._mapper.set_item(
              __name, __value, field_.info, field_.attribute_type
          )
      else:
          self._mapper[__name] = __value
  
imports: import typing
  from dataclasses import dataclass
  from pathlib import Path
  from types import MappingProxyType
  from typing import Any, ClassVar, Generic, List, Literal, Optional, Tuple, Type, TypeVar, Union, cast, get_origin
  from typing_extensions import dataclass_transform
  from pennylane.data.base import hdf5
  from pennylane.data.base.attribute import AttributeInfo, DatasetAttribute
  from pennylane.data.base.hdf5 import HDF5Any, HDF5Group, h5py
  from pennylane.data.base.mapper import MapperMixin, match_obj_type
  from pennylane.data.base.typing_util import UNSET, T
label_desc: Use image node_id 14 for calling the Dataset obj's underlying member method code with example usage: obj.__setattr__(__name, __value) without return types