def dehydrate_ratings_body(body_class):
 body = body_class()
 if (body.label is None):
  body.label = slugify_iarc_name(body)
 body.name = unicode(body.name)
 body.description = unicode(body.description)
 return body

def dehydrate_ratings_body ( body_class ) : body = body_class ( ) if ( body . label is None ) : body . label = slugify_iarc_name ( body ) body . name = unicode ( body . name ) body . description = unicode ( body . description ) return body
returns a rating body with translated fields attached .