We use __repr__ to print basic identifying information about an object. This is typically:
The object's type
single user-friendly identifying field (generally name)
The object's id (if it has one)
We use __str__ to print all meaningful information about an object. It's based on the __repr__ implementation in attrs and includes all fields except those that are:
repr=False. We apply this to metadata fields such as modified_time-type fields and lineage-type fields that are not useful for general PowerBI work.
Fields where the value is set to the default value for that field.