

@classmethod
def dbapi(cls):
    module = __import__('pymssql')
    client_ver = tuple((int(x) for x in module.__version__.split('.')))
    if (cls < (2, 1, 1)):
        module.Binary = (lambda x: (x if hasattr(x, 'decode') else str(x)))
    if (client_ver < (1,)):
        util.warn('The pymssql dialect expects at least the 1.0 series of the pymssql DBAPI.')
    return module

dataset/ETHPy150Open zzzeek/sqlalchemy/lib/sqlalchemy/dialects/mssql/pymssql.py MSDialect_pymssql.dbapi/VarMisuse@45/55 `client_ver`->`cls`