This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pymssql | |
import pymysql | |
class CursorMixin(object): | |
def __init__(self, dbname, dsn): | |
"""If you have implemented this method you will need define | |
self._cnx with the connection to database | |
self._obj with the cursor | |
""" |