<commit_before># See http://code.google.com/p/findbugs/wiki/AppEngineCloudBackup

from google.appengine.ext import db
from google.appengine.tools import bulkloader
import datetime

class DbUser(db.Model):
    email = db.StringProperty()

class DbUserLoader(bulkloader.Loader):
    def __init__(self):
        bulkloader.Loader.__init__(self, 'DbUser',
                                   [('email', str)
                                   ])

class DbUserExporter(bulkloader.Exporter):
    def __init__(self):
        bulkloader.Exporter.__init__(self, 'DbUser',
                                     [ ('__key__', lambda x: x.to_path()[1], None),
                                      ('email', str, None)
                                     ])

class DbInvocation(db.Model):
    who = db.ReferenceProperty(DbUser)
    startTime = db.IntegerProperty()
    endTime = db.IntegerProperty()

class DbInvocationLoader(bulkloader.Loader):
    def __init__(self):
        bulkloader.Loader.__init__(self, 'DbInvocation',
                                   [('who', db.Key),
                                   ('startTime', long),
                                   ('endTime', long)
                                   ])

class DbInvocationExporter(bulkloader.Exporter):
    def __init__(self):
        bulkloader.Exporter.__init__(self, 'DbInvocation',
                                     [ ('__key__', lambda x: x.to_path()[1], None)
                                       ('who', lambda x: x.to_path()[1], None),
                                       ('startTime', str, None),
                                       ('endTime', str, '')
                                     ])<commit_msg>Fix typo<commit_after># See http://code.google.com/p/findbugs/wiki/AppEngineCloudBackup

from google.appengine.ext import db
from google.appengine.tools import bulkloader
import datetime

class DbUser(db.Model):
    email = db.StringProperty()

class DbUserLoader(bulkloader.Loader):
    def __init__(self):
        bulkloader.Loader.__init__(self, 'DbUser',
                                   [('email', str)
                                   ])

class DbUserExporter(bulkloader.Exporter):
    def __init__(self):
        bulkloader.Exporter.__init__(self, 'DbUser',
                                     [ ('__key__', lambda x: x.to_path()[1], None),
                                      ('email', str, None)
                                     ])

class DbInvocation(db.Model):
    who = db.ReferenceProperty(DbUser)
    startTime = db.IntegerProperty()
    endTime = db.IntegerProperty()

class DbInvocationLoader(bulkloader.Loader):
    def __init__(self):
        bulkloader.Loader.__init__(self, 'DbInvocation',
                                   [('who', db.Key),
                                   ('startTime', long),
                                   ('endTime', long)
                                   ])

class DbInvocationExporter(bulkloader.Exporter):
    def __init__(self):
        bulkloader.Exporter.__init__(self, 'DbInvocation',
                                     [ ('__key__', lambda x: x.to_path()[1], None),
                                       ('who', lambda x: x.to_path()[1], None),
                                       ('startTime', str, None),
                                       ('endTime', str, '')
                                     ])
{'fraction_non_alphanumeric': 0.11371733966745844, 'fraction_numerical': 0.0017814726840855108, 'mean_word_length': 1.3758815232722144, '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': 28, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6629353', 'n_tokens_mistral': 881, 'n_tokens_neox': 848, 'n_words': 161}