def __init__(self, data):
		"""Class constructor"""

		self.data = data
		self.errorcode = -1
		self.product = {}
		self.database = {}
		self.metadata = {}
		self.resultset = []
		self.fieldNames = []

		self.doParseResultset()
def __init__ ( self , data ) : self . data = data self . errorcode = - 1 self . product = { } self . database = { } self . metadata = { } self . resultset = [ ] self . fieldNames = [ ] self . doParseResultset ( )
Class constructor