@transformer<EOL>def format(input, **params):
PARAM_FORMAT_STRING = '<STR_LIT>'<EOL>PARAM_FORMAT_INPUT = '<STR_LIT>'<EOL>PARAM_RESULT_FIELD = '<STR_LIT>'<EOL>IN_DESC_FIELD = '<STR_LIT>'<EOL>IN_DESC_TYPE = '<STR_LIT:type>'<EOL>format_string = params.get(PARAM_FORMAT_STRING)<EOL>format_inputs = params.get(PARAM_FORMAT_INPUT)<EOL>result_field = params.get(PARAM_RESULT_FIELD)<EOL>for row in input:<EOL><INDENT>row_input = []<EOL>for desc in format_inputs:<EOL><INDENT>row_input.append(Converter.convert(row[desc[IN_DESC_FIELD]], desc[IN_DESC_TYPE]))<EOL><DEDENT>row[result_field] = format_string.format(*row_input)<EOL><DEDENT>return input<EOL>
Appends string formatted value to result
:param input:
:param params:
:return: