(self, db_key, db_name=None, key_prefix=None)
return '{}{}:{}:{}:{}:{}:{}'.format(key_prefix, dsn, host, username, password, database, driver)
Return a key to use for the connection cache
Return a key to use for the connection cache
Return a key to use for the connection cache
def _conn_key(self, db_key, db_name=None, key_prefix=None):
        """Return a key to use for the connection cache"""
        dsn, host, username, password, database, driver = self._get_access_info(db_key, db_name)
        if not key_prefix:
            key_prefix = ""
        return '{}{}:{}:{}:{}:{}:{}'.format(key_prefix, dsn, host, username, password, database, driver)
def _conn_key ( self , db_key , db_name = None , key_prefix = None ) : dsn , host , username , password , database , driver = self . _get_access_info ( db_key , db_name ) if not key_prefix : key_prefix = "" return '{}{}:{}:{}:{}:{}:{}' . format ( key_prefix , dsn , host , username , password , database , driver )