def get_rendered_object(self, obj=None):
        """Render object"""
        obj = obj if obj else self.object
        return [
            {
                **field,
                'value': self.render_field(field, obj)
            }
            for field in self.get_fields()
        ]
def get_rendered_object ( self , obj = None ) : obj = obj if obj else self . object return [ { ** field , 'value' : self . render_field ( field , obj ) } for field in self . get_fields ( ) ]
Render object