<commit_before>var _ = require("lodash");

module.exports = function(arg1, arg2) {

	var key, value;

	if (this.currentAction === "batchWriteItems") {
		if (!_.isEmpty(this.key) && this.currentTableAction === "del") {
			this.params.RequestItems[this.tableName][this.params.RequestItems[this.tableName].length - 1].DeleteRequest.Key = this.key;
		}

		this.currentTableAction = "del";

		this.params.RequestItems[this.tableName].push({<commit_msg>this.key need to be reset so there isn't any stale data<commit_after>var _ = require("lodash");

module.exports = function(arg1, arg2) {

	var key, value;

	if (this.currentAction === "batchWriteItems") {
		if (!_.isEmpty(this.key) && this.currentTableAction === "del") {
			this.params.RequestItems[this.tableName][this.params.RequestItems[this.tableName].length - 1].DeleteRequest.Key = this.key;
			this.key = {};
		}

		this.currentTableAction = "del";

		this.params.RequestItems[this.tableName].push({
{'fraction_non_alphanumeric': 0.16457023060796647, 'fraction_numerical': 0.006289308176100629, 'mean_word_length': 4.858895705521473, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4350295', 'n_tokens_mistral': 337, 'n_tokens_neox': 308, 'n_words': 52}