<commit_before>#!/usr/bin/env python3
# -*- coding: utf-8 -*-

# TODO Paginator pagesize , Issue: botocore #1063

import argparse
import boto3
import logging
import sys
import datetime

def __getComment(args):
    if args.func.__name__ == 'ttl':
        return "Update %s to %s for domain %s @%s" % (
            args.func.__name__, args.ttl, args.domain, datetime.datetime.utcnow().replace(microsecond=0).isoformat()
        )
    if args.func.__name__ == 'replaceIp':
        return "Update %s from %s to %s for domain %s @%s" % (
            args.func.__name__, args.oldIP, args.newIP, args.domain, datetime.datetime.utcnow().replace(microsecond=0).isoformat()
        )

def ttl(record, args):
    if(record['TTL'] != args.ttl):<commit_msg>FIX - records without TTL fail<commit_after>#!/usr/bin/env python3
# -*- coding: utf-8 -*-

# TODO Paginator pagesize , Issue: botocore #1063

import argparse
import boto3
import logging
import sys
import datetime

def __getComment(args):
    if args.func.__name__ == 'ttl':
        return "Update %s to %s for domain %s @%s" % (
            args.func.__name__, args.ttl, args.domain, datetime.datetime.utcnow().replace(microsecond=0).isoformat()
        )
    if args.func.__name__ == 'replaceIp':
        return "Update %s from %s to %s for domain %s @%s" % (
            args.func.__name__, args.oldIP, args.newIP, args.domain, datetime.datetime.utcnow().replace(microsecond=0).isoformat()
        )

def ttl(record, args):
    if('TTL' in record and record['TTL'] != args.ttl):
{'fraction_non_alphanumeric': 0.14754098360655737, 'fraction_numerical': 0.01180327868852459, 'mean_word_length': 3.180821917808219, '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': '2080945', 'n_tokens_mistral': 521, 'n_tokens_neox': 508, 'n_words': 131}