<commit_before>__author__ = 'Amish'

import mysql.connector
import unittest

class DataAccess:
    def __init__(self):
        self.config = {
          'user': 'dev',
          'password': '<PASSWORD>',
          'host': 'localhost',
          'database': 'cars',
          'raise_on_warnings': True,
        }

    def get_car_record(self, manufacturer, make, year, model):
        cnx = mysql.connector.connect(**self.config)
        cursor = cnx.cursor()

        query = ("SELECT * FROM car "
                 "WHERE manufacturer = %s AND "
                 "make = %s AND "
                 "year = %s AND "<commit_msg>Connect to the VM MySQL<commit_after>__author__ = 'Amish'

import mysql.connector
import unittest

class DataAccess:
    def __init__(self):
        self.config = {
          'user': 'dev',
          'password': '<PASSWORD>',
          #'host': '192.168.0.239',
          #'port': '3306',
          'host': 'localhost',
          'database': 'cars',
          'raise_on_warnings': True,
        }

    def get_car_record(self, manufacturer, make, year, model):
        cnx = mysql.connector.connect(**self.config)
        cursor = cnx.cursor()

        query = ("SELECT * FROM car "
                 "WHERE manufacturer = %s AND "
                 "make = %s AND "
                 "year = %s AND "
{'fraction_non_alphanumeric': 0.13529856386999245, 'fraction_numerical': 0.010582010582010581, 'mean_word_length': 1.829059829059829, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, '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': '1616210', 'n_tokens_mistral': 400, 'n_tokens_neox': 382, 'n_words': 98}