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

import psycopg2
from mosql.result2 import Model

class PostgreSQL(Model):
    getconn = classmethod(lambda cls: psycopg2.connect(database='mosky'))
    putconn = classmethod(lambda cls, conn: None)
<commit_msg>expaned the getconn and putconn<commit_after>#!/usr/bin/env python
# -*- coding: utf-8 -*-

import psycopg2
from mosql.result2 import Model

class PostgreSQL(Model):

    @staticmethod
    def getconn():
        return psycopg2.connect(database='mosky')

    @staticmethod
    def putconn(conn):
        pass

{'fraction_non_alphanumeric': 0.12220309810671257, 'fraction_numerical': 0.013769363166953529, 'mean_word_length': 3.809917355371901, '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': '1299891', 'n_tokens_mistral': 195, 'n_tokens_neox': 192, 'n_words': 46}