# -*- coding:utf-8 -*-
# 作者 yanchunhuo
# 创建时间 2018/01/19 22:36
# github https://github.com/yanchunhuo
from base.api.demoProject.api_demoProject_read_config import API_DemoProject_Read_Config

class API_DemoProject_DB_Clients(object):
    __instance=None
    __inited=None

    def __new__(cls, *args, **kwargs):
        if cls.__instance is None:
            cls.__instance=object.__new__(cls)
        return cls.__instance

    def __init__(self):
        if self.__inited is None:
            self._demoProjectConfig = API_DemoProject_Read_Config().config
            # self.mysqlclient=MysqlClient('host','port','username','password','dbname')
            # self.oracleclient = OracleClient('host', 'port', 'username', 'password', 'dbname')
            self.__inited=True
