def __init__(self, **kw): # DBAPI BUG: # named parameters don't work: # "Parameters must be given as a sequence." # https://bugs.launchpad.net/myconnpy/+bug/454782 kw["paramstyle"] = "format" MySQLDialect.__init__(self, **kw)
def __init__(self, **kw): # deal with http://code.google.com/p/pyodbc/issues/detail?id=25 kw.setdefault('convert_unicode', True) MySQLDialect.__init__(self, **kw) PyODBCConnector.__init__(self, **kw)