+from sqlalchemy import types as sqltypes
from sqlalchemy.dialects.mssql.base import MSDateTime, MSDialect
import sys
import adodbapi as module
return module
- colspecs = MSSQLDialect.colspecs.copy()
+ colspecs = MSDialect.colspecs.copy()
colspecs[sqltypes.DateTime] = MSDateTime_adodbapi
def create_connect_args(self, url):
def is_disconnect(self, e):
return isinstance(e, self.dbapi.adodbapi.DatabaseError) and "'connection failure'" in str(e)
-dialect = MSDialect_adodbapi
\ No newline at end of file
+dialect = MSDialect_adodbapi