<commit_before>aggressive_fields = {
	'blogs.create':       ['commentscount', 'respectscount', 'tags', 'geolocation', 'viewscount'],
	'blogs.get':          ['commentscount', 'respectscount', 'tags', 'geolocation', 'viewscount'],
	'blogs.getByGroup':   ['commentscount', 'respectscount', 'tags', 'geolocation', 'viewscount'],
	'blogs.getByHangout': ['commentscount', 'respectscount', 'tags', 'geolocation', 'viewscount'],
	'blogs.getByTag':     ['commentscount', 'respectscount', 'tags', 'geolocation', 'viewscount'],
	'blogs.getByUser':    ['commentscount', 'respectscount', 'tags', 'geolocation', 'viewscount'],
	# ETC
	'users.getByUsername':    ['commentscount', 'respectscount', 'tags', 'fancylayouttag', 'geolocation', 'cityname', 'countryname', 'profilepicture', 'whitespaces', 'onmymind', 'scrapscount', 'testimonialscount', 'respectscount', 'profilevisible', 'scrapsvisible', 'viewscount', 'usertypes', 'relationtype', 'aboutme', 'mobileurl']
	}

class _Method:
    def __init__(self, send, name):
        self.__send = send
        self.__name = name
    def __getattr__(self, name):
        return _Method(self.__send, "%s.%s" % (self.__name, name))
    def __call__(self, **kwargs):
        return self.__send(self.__name, kwargs)

class HyvesAPIProxy:
    def __init__(self, connection, aggressive_loading=False):
        self.conn = connection<commit_msg>Added reference to xmlrpclib<commit_after>aggressive_fields = {
	'blogs.create':       ['commentscount', 'respectscount', 'tags', 'geolocation', 'viewscount'],
	'blogs.get':          ['commentscount', 'respectscount', 'tags', 'geolocation', 'viewscount'],
	'blogs.getByGroup':   ['commentscount', 'respectscount', 'tags', 'geolocation', 'viewscount'],
	'blogs.getByHangout': ['commentscount', 'respectscount', 'tags', 'geolocation', 'viewscount'],
	'blogs.getByTag':     ['commentscount', 'respectscount', 'tags', 'geolocation', 'viewscount'],
	'blogs.getByUser':    ['commentscount', 'respectscount', 'tags', 'geolocation', 'viewscount'],
	# ETC
	'users.getByUsername':    ['commentscount', 'respectscount', 'tags', 'fancylayouttag', 'geolocation', 'cityname', 'countryname', 'profilepicture', 'whitespaces', 'onmymind', 'scrapscount', 'testimonialscount', 'respectscount', 'profilevisible', 'scrapsvisible', 'viewscount', 'usertypes', 'relationtype', 'aboutme', 'mobileurl']
	}
# Based on xmlrpclib
# see http://svn.python.org/view/python/trunk/Lib/xmlrpclib.py
class _Method:
    def __init__(self, send, name):
        self.__send = send
        self.__name = name
    def __getattr__(self, name):
        return _Method(self.__send, "%s.%s" % (self.__name, name))
    def __call__(self, **kwargs):
        return self.__send(self.__name, kwargs)

class HyvesAPIProxy:
    def __init__(self, connection, aggressive_loading=False):
        self.conn = connection
{'fraction_non_alphanumeric': 0.178319209039548, 'fraction_numerical': 0.0, 'mean_word_length': 5.527649769585254, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 3}, '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': '6904192', 'n_tokens_mistral': 947, 'n_tokens_neox': 914, 'n_words': 189}