def __init__()

in clay/database.py [0:0]


    def __init__(self, servers, dbapi_name):
        '''
        Servers is a list of config dicts for connecting to postgres
        '''
        self.servers = servers

        self.tlocal = threading.local()
        self.tlocal.dbconn = None

        if not dbapi_name in ('psycopg2', 'MySQLdb', 'sqlite3'):
            raise NotImplementedError('Unsupported database module: %s' % dbapi_name)
        self.dbapi_name = dbapi_name
        self.dbapi = __import__(dbapi_name)