def _format_user_obj(self, obj):
    'format a user object to display dict\n\n        for use in user_expressions\n        '
    (data, md) = self.display_formatter.format(obj)
    value = {'status': 'ok', 'data': data, 'metadata': md}
    return value
format a user object to display dict

for use in user_expressions
def _format_user_obj(self, obj):
    'format a user object to display dict\n\n        for use in user_expressions\n        '
    (data, md) = self.display_formatter.format(obj)
    value = {'status': 'ok', 'data': data, 'metadata': md}
    return value