def createTable(self, conn, forceCreateTables=False): """Create the registry tables""" for table in self.config.tables: RegisterTask.createTable(self, conn, table=table, forceCreateTables=forceCreateTables)
def openRegistry(self, directory, create=False, dryrun=False, name="calibRegistry.sqlite3"): """Open the registry and return the connection handle""" return RegisterTask.openRegistry(self, directory, create, dryrun, name)
def addRow(self, conn, info, *args, **kwargs): """Add a row to the file table""" info[self.config.validStart] = None info[self.config.validEnd] = None RegisterTask.addRow(self, conn, info, *args, **kwargs)
def createTable(self, conn): """Create the registry tables""" for table in self.config.tables: RegisterTask.createTable(self, conn, table=table)