def read_packet(self, packet_type=MysqlPacket):

      packet = packet_type(self)
      packet.check_error()
      return packet
Read an entire "mysql packet" in its entirety from the network
dataset/ETHPy150Open uwdata/termite-data-server/web2py/gluon/contrib/pymysql/connections.py/Connection.read_packet