#NEWLINE# def serialize( self , data , content_type ) : #NEWLINE# #INDENT# 'Serialize a dictionary into the specified content type.' #NEWLINE# return self . _get_serialize_handler ( content_type ) . serialize ( content_type )