<commit_before>import httplib2

from apiclient.discovery import build
from oauth2client.client import flow_from_clientsecrets
from oauth2client.file import Storage
from oauth2client import tools
import os

PROJECT_NUMBER = '422648324111'
PARENT_PATH = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
SECRETS_FILE = os.path.join(PARENT_PATH,  'client_secrets.json')
CREDENTIALS_FILE = os.path.join(PARENT_PATH, 'bigquery_credentials.dat')

FLOW = flow_from_clientsecrets(SECRETS_FILE, scope='https://www.googleapis.com/auth/bigquery')

storage = Storage(CREDENTIALS_FILE)
credentials = storage.get()

class FlowFlags(): 
    noauth_local_webserver = True<commit_msg>Apparently logging_level is a requirement parameter.<commit_after>import httplib2

from apiclient.discovery import build
from oauth2client.client import flow_from_clientsecrets
from oauth2client.file import Storage
from oauth2client import tools
import os

PROJECT_NUMBER = '422648324111'
PARENT_PATH = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
SECRETS_FILE = os.path.join(PARENT_PATH,  'client_secrets.json')
CREDENTIALS_FILE = os.path.join(PARENT_PATH, 'bigquery_credentials.dat')

FLOW = flow_from_clientsecrets(SECRETS_FILE, scope='https://www.googleapis.com/auth/bigquery')

storage = Storage(CREDENTIALS_FILE)
credentials = storage.get()

class FlowFlags(): 
    noauth_local_webserver = True
    logging_level = 'ERROR'
{'fraction_non_alphanumeric': 0.09429978888106967, 'fraction_numerical': 0.022519352568613652, 'mean_word_length': 7.079545454545454, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, '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': '498249', 'n_tokens_mistral': 510, 'n_tokens_neox': 476, 'n_words': 88}