I am not sure how to do this for a dataclass but I assume we can just do it in the object definition.
When I print out a Transcript object in a Jupyter notebook or any Python interpreter really, the repr and the tostring include the whole transcript details. I would prefer the shortened details:
I am not sure how to do this for a dataclass but I assume we can just do it in the object definition.
When I print out a
Transcript
object in a Jupyter notebook or any Python interpreter really, therepr
and the tostring include the whole transcript details. I would prefer the shortened details:Basically hiding the sentences because it makes the repr massive.