parameters: (parent, node, full_name, name, logs,
                                              cond)
return_statement: return node
docstring: Adds cond argument to tf.contrib.summary.xxx_record_summaries().
  
    This is in anticipation of them being renamed to tf.summary.record_if(), which
    requires the cond argument.
docstring_summary: Adds cond argument to tf.contrib.summary.xxx_record_summaries().
docstring_tokens: Adds cond argument to tf . contrib . summary . xxx_record_summaries () .
function: def _add_summary_recording_cond_transformer(parent, node, full_name, name, logs,
                                              cond):
    """Adds cond argument to tf.contrib.summary.xxx_record_summaries().
  
    This is in anticipation of them being renamed to tf.summary.record_if(), which
    requires the cond argument.
    """
    node.args.append(pasta.parse(cond))
    logs.append((
        ast_edits.INFO, node.lineno, node.col_offset,
        "Adding `%s` argument to %s in anticipation of it being renamed to "
        "tf.compat.v2.summary.record_if()" % (cond, full_name or name)))
    return node
function_tokens: def _add_summary_recording_cond_transformer ( parent , node , full_name , name , logs , cond ) : node . args . append ( pasta . parse ( cond ) ) logs . append ( ( ast_edits . INFO , node . lineno , node . col_offset , "Adding `%s` argument to %s in anticipation of it being renamed to " "tf.compat.v2.summary.record_if()" % ( cond , full_name or name ) ) ) return node