I have a custom class which has implemented the _repr_ method, printing out all the properties of this object, for example:
_repr_
Id: XXX, Name: XXX P