<commit_before>// --------------------------------------------------------------------------------------------------------------------
//
// dynamodb-config.js - config for Amazon DynamoDB
//
// Copyright (c) 2012 AppsAttic Ltd - http://www.appsattic.com/
// Written by <NAME> <<EMAIL>>
//
// License: http://opensource.org/licenses/MIT
//
// --------------------------------------------------------------------------------------------------------------------

var _ = require('underscore');
var data2xml = require('data2xml');

// --------------------------------------------------------------------------------------------------------------------
// utility functions

function bodyBatchGetItems(options, args ) {
    var data = {
        RequestItems : args.RequestItems,
    };

    // console.log(JSON.stringify(data));

    return JSON.stringify(data);
}

function bodyCreateTable(options, args) {
    var data = {
        TableName : args.TableName,
        KeySchema : args.KeySchema,
        ProvisionedThroughput : args.ProvisionedThroughput
    };

    // console.log(JSON.stringify(data));

    return JSON.stringify(data);
}

var optionalDeleteItemArgs = [
    'Expected', 'ReturnValues'<commit_msg>No need for this requirement any longer<commit_after>// --------------------------------------------------------------------------------------------------------------------
//
// dynamodb-config.js - config for Amazon DynamoDB
//
// Copyright (c) 2012 AppsAttic Ltd - http://www.appsattic.com/
// Written by <NAME> <<EMAIL>>
//
// License: http://opensource.org/licenses/MIT
//
// --------------------------------------------------------------------------------------------------------------------

var _ = require('underscore');

// --------------------------------------------------------------------------------------------------------------------
// utility functions

function bodyBatchGetItems(options, args ) {
    var data = {
        RequestItems : args.RequestItems,
    };

    // console.log(JSON.stringify(data));

    return JSON.stringify(data);
}

function bodyCreateTable(options, args) {
    var data = {
        TableName : args.TableName,
        KeySchema : args.KeySchema,
        ProvisionedThroughput : args.ProvisionedThroughput
    };

    // console.log(JSON.stringify(data));

    return JSON.stringify(data);
}

var optionalDeleteItemArgs = [
    'Expected', 'ReturnValues'
{'fraction_non_alphanumeric': 0.39022369511184757, 'fraction_numerical': 0.004142502071251036, 'mean_word_length': 1.1240105540897098, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 2}, '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': '5911556', 'n_tokens_mistral': 559, 'n_tokens_neox': 528, 'n_words': 108}