def __init__(self, conn, ph='?'): Backend.__init__(self) self.conn = conn self.create_tables() self.cur = None self.ph = ph
def __init__(self, params): Backend.__init__(self) self.dir_path = params['hg'] # plyvel.repair_db(file_path) self.db = plyvel.DB(self.dir_path, create_if_missing=True)
def __init__(self): Backend.__init__(self)