Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def __init__(self, factory, id, doclist, already_loaded):
Job.__init__(self, factory, id)
self.doclist = doclist
self.__already_loaded = already_loaded
self.__current_idx = -1
def __init__(self, factory, id, docsearch, label):
Job.__init__(self, factory, id)
self.__docsearch = docsearch
self.__label = label
def __init__(self, factory, id, main_win, config, importer, file_uri):
Job.__init__(self, factory, id)
self.__main_win = main_win
self.__config = config
self.importer = importer
self.file_uri = file_uri
def __init__(self, factory, id, docsearch, old_label, new_label):
Job.__init__(self, factory, id)
self.__docsearch = docsearch
self.__old_label = old_label
self.__new_label = new_label
def __init__(self, factory, id, page):
Job.__init__(self, factory, id)
self.page = page
def __init__(self, factory, job_id, pil_img, process_func):
Job.__init__(self, factory, job_id)
self.pil_img = pil_img
self.process_func = process_func
self.can_run = True
def __init__(self, factory, job_id, config):
Job.__init__(self, factory, job_id)
self.__config = config
self.started = False
self.done = False
def __init__(self, factory, id, config, docsearch,
new_docs=set(), upd_docs=set(), del_docs=set(),
optimize=True):
Job.__init__(self, factory, id)
self.__docsearch = docsearch
self.__config = config
self.__condition = threading.Condition()
self.new_docs = new_docs
self.upd_docs = upd_docs
self.del_docs = del_docs
self.update_only = len(new_docs) == 0 and len(del_docs) == 0
self.optimize = optimize
self.index_updater = None
self.total = (len(self.new_docs) + len(self.upd_docs) +
len(self.del_docs))
self.progression = float(0)
def __init__(self, factory, id, config, docsearch):
Job.__init__(self, factory, id)
self.__config = config
self.docsearch = docsearch
self.done = False
self.started = False
self.labels = set()