title: Define different output for the _repr_ method when printing a list of objects
body: <p>I have a custom class which has implemented the <code>_repr_</code> method, printing out all the properties of this object, for example:</p>
  <pre><code>Id: XXX,
  Name: XXX 
  PropA: XXX,
  PropB: XXX,
  PropC: XXX ...
  </code></pre>
  <p><strong>Problem -</strong></p>
  <p>Is there a way to change the output to return only a subset of the properties, when printing a list of these objects,  for example:</p>
  <pre><code>Id: XXX,
  Name: XXX 
  </code></pre>
  <p><strong>My Ideology</strong> -The only possible way I can think of implementing this would be to implement a custom list class for the object which implements the less detailed output of <code>_repr_</code>, however, I would rather avoid this if possible.</p>