# -*-encoding:utf-8-*-
import api_invoice.config.profile as profile_config
import torndb

hostaddress = '127.0.0.1'
databasename = 'predict_img'
user = 'root'
password = ''

profile = profile_config.profile.get_profile()

if profile == profile_config.PROFILE_DEV:
    pass

if profile == profile_config.PROFILE_TEST:
    pass
if profile == profile_config.PROFILE_PRODUCT:

    pass


def get_db():
    db = torndb.Connection(hostaddress, databasename, user, password)
    return db







c85319e95d8e5221f0f7cc75d0b50711b745433c
<mask token>


def get_db():
    db = torndb.Connection(hostaddress, databasename, user, password)
    return db

<mask token>
if profile == profile_config.PROFILE_DEV:
    pass
if profile == profile_config.PROFILE_TEST:
    pass
if profile == profile_config.PROFILE_PRODUCT:
    pass


def get_db():
    db = torndb.Connection(hostaddress, databasename, user, password)
    return db

<mask token>
hostaddress = '127.0.0.1'
databasename = 'predict_img'
user = 'root'
password = ''
profile = profile_config.profile.get_profile()
if profile == profile_config.PROFILE_DEV:
    pass
if profile == profile_config.PROFILE_TEST:
    pass
if profile == profile_config.PROFILE_PRODUCT:
    pass


def get_db():
    db = torndb.Connection(hostaddress, databasename, user, password)
    return db

import api_invoice.config.profile as profile_config
import torndb
hostaddress = '127.0.0.1'
databasename = 'predict_img'
user = 'root'
password = ''
profile = profile_config.profile.get_profile()
if profile == profile_config.PROFILE_DEV:
    pass
if profile == profile_config.PROFILE_TEST:
    pass
if profile == profile_config.PROFILE_PRODUCT:
    pass


def get_db():
    db = torndb.Connection(hostaddress, databasename, user, password)
    return db

# -*-encoding:utf-8-*-
import api_invoice.config.profile as profile_config
import torndb

hostaddress = '127.0.0.1'
databasename = 'predict_img'
user = 'root'
password = ''

profile = profile_config.profile.get_profile()

if profile == profile_config.PROFILE_DEV:
    pass

if profile == profile_config.PROFILE_TEST:
    pass
if profile == profile_config.PROFILE_PRODUCT:

    pass


def get_db():
    db = torndb.Connection(hostaddress, databasename, user, password)
    return db






