<commit_before># -*- coding: utf-8 -*-

import datetime

from sqlalchemy import create_engine
from flask.ext.babel import gettext
from flask.globals import current_app

from werkzeug.local import LocalProxy

from model.constants import WEEKDAYS

from sipa.utils import timetag_from_timestamp, timestamp_from_timetag
from sipa.utils.exceptions import DBQueryEmpty
from .ldap_utils import get_current_uid

import logging
logger = logging.getLogger(__name__)


def init_db(app):
    app.extensions['db_atlantis'] = create_engine(
        'mysql+pymysql://{0}:{1}@{2}:3306/netusers'.format(
            app.config['DB_ATLANTIS_USER'],<commit_msg>Remove unused imports<commit_after># -*- coding: utf-8 -*-

from sqlalchemy import create_engine
from flask.ext.babel import gettext
from flask.globals import current_app

from werkzeug.local import LocalProxy

from .ldap_utils import get_current_uid

import logging
logger = logging.getLogger(__name__)


def init_db(app):
    app.extensions['db_atlantis'] = create_engine(
        'mysql+pymysql://{0}:{1}@{2}:3306/netusers'.format(
            app.config['DB_ATLANTIS_USER'],
{'fraction_non_alphanumeric': 0.10267857142857142, 'fraction_numerical': 0.014285714285714285, 'mean_word_length': 4.9, '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': '1330326', 'n_tokens_mistral': 376, 'n_tokens_neox': 361, 'n_words': 82}