def __init__(self, connection):
        from weakref import proxy
        self.connection = proxy(connection)
        self.description = None
        self.rownumber = 0
        self.rowcount = -1
        self.arraysize = 1
        self._executed = None
        self.messages = []
        self.errorhandler = connection.errorhandler
        self._has_next = None
        self._rows = ()
Do not create an instance of a Cursor yourself. Call
dataset/ETHPy150Open uwdata/termite-data-server/web2py/gluon/contrib/pymysql/cursors.py/Cursor.__init__