def __init__(self, conn_params, q=None, mydate=MyDate(Util.get_yesterday())): MysqlWrap.__init__(self, conn_params) self.q = q self.mydate = mydate self.table_name = "video_report_%d" % int( self.mydate.get_now(format='ym'))
def __init__(self, conn_params, date_param): MysqlWrap.__init__(self, conn_params) self.mydate = MyDate(date_param)
def __init__(self, conn_params,monitorReport): MysqlWrap.__init__(self, conn_params) self.monitorReport=monitorReport
def __init__(self, conn_params, monitorReport): MysqlWrap.__init__(self, conn_params) self.monitorReport = monitorReport
def __init__(self, conn_params): MysqlWrap.__init__(self, conn_params)