def create_key_for_data(prefix, data, key_params):
d = data.get_data()<EOL>values = []<EOL>for k in key_params:<EOL><INDENT>if k in d and type(d[k]) is list:<EOL><INDENT>values.append("<STR_LIT>".format(k, "<STR_LIT>".join(d[k])))<EOL><DEDENT>else:<EOL><INDENT>value = d[k] if k in d else '<STR_LIT>'<EOL>values.append("<STR_LIT>".format(k, value))<EOL><DEDENT><DEDENT>return "<STR_LIT>".format(prefix, "<STR_LIT:->".join(values))<EOL>
From ``data`` params in task create corresponding key with help of ``key_params`` (defined in decorator)