AbstractDataSet
and AbstractVersionedDataSet
should be printed meaningfully
#3006
Labels
Issue: Feature Request
New feature or improvement to existing feature
Description
It is always frustrating to see this when debugging. In addition,
_describe()
is a mandatory method so I would expect this is the default__repr__
of a dataset. What is it used for?Context
The developer experience with dataset in interactive mode is sub-optimal. This is a quick win without much drawback
Possible Implementation
Add default
__repr__
to the AbstractClassesPossible Alternatives
Take one extra step to make them dataclass. In this case I think it still make sense to call
_describe
in__repr__
, but maybe the default could be fallback to dataclass repr(noted: Dataclass here isn't referring to a specific library, could be
dataclasses
,attrs
orpydantic
)The text was updated successfully, but these errors were encountered: