Skip to content

Commit

Permalink
sphinx
Browse files Browse the repository at this point in the history
  • Loading branch information
brownj85 committed Jul 21, 2023
1 parent 6719168 commit 935832e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
2 changes: 0 additions & 2 deletions pennylane/data/base/attribute.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,6 @@ class AttributeInfo(MutableMapping):
Attributes:
attrs_bind: The HDF5 attrs dict that this instance is bound to,
or any mutable mapping
py_type: Type annotation for this attribute
doc: Documentation for this attribute
**kwargs: Extra metadata to include. Must be a string, number
or numpy array
"""
Expand Down
10 changes: 5 additions & 5 deletions pennylane/data/base/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,17 +114,17 @@ class _DatasetTransform: # pylint: disable=too-few-public-methods
class Dataset(MapperMixin, _DatasetTransform):
"""
Base class for Datasets.
Attributes:
fields: A mapping of attribute names to their ``Attribute`` information. Note that
this contains attributes declared on the class, not attributes added to
an instance. Use ``attrs`` to view all attributes on an instance.
"""

__data_name__: ClassVar[str]
__identifiers__: ClassVar[Tuple[str, ...]]

fields: ClassVar[typing.Mapping[str, Field]]
"""
A mapping of attribute names to their ``Attribute`` information. Note that
this contains attributes declared on the class, not attributes added to
an instance. Use ``attrs`` to view all attributes on an instance.
"""

bind_: Optional[HDF5Group] = _init_arg(default=None, alias="bind", kw_only=False)
data_name_: Optional[str] = _init_arg(default=None, alias="data_name")
Expand Down

0 comments on commit 935832e

Please sign in to comment.