def flatten(self):
        """
        Flatten this record to a simple list of values
        (from all fields, except the leader).
        """
        d = self.as_dict()
        del d['leader']
        return [s for s in [v.strip() for v in flatten(d)] if s]
def flatten ( self ) : d = self . as_dict ( ) del d [ 'leader' ] return [ s for s in [ v . strip ( ) for v in flatten ( d ) ] if s ]
Flatten this record to a simple list of values
        (from all fields, except the leader).