How to use the paperwork.frontend.jobs.Job.__init__ function in paperwork

To help you get started, we’ve selected a few paperwork examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github openpaperwork / paperwork / src / paperwork / frontend / mainwindow.py View on Github external
def __init__(self, factory, id, langs, target):
        Job.__init__(self, factory, id)
        self.__target = target
        self.__langs = langs
github openpaperwork / paperwork / src / paperwork / frontend / mainwindow.py View on Github external
def __init__(self, factory, id, docsearch, langs, page, changes=[]):
        Job.__init__(self, factory, id)
        self.__docsearch = docsearch
        self.__langs = langs
        self.__page = page
        self.__changes = changes[:]
github openpaperwork / paperwork / src / paperwork / frontend / mainwindow.py View on Github external
def __init__(self, factory, job_id, config):
        Job.__init__(self, factory, job_id)
        self.__config = config
github openpaperwork / paperwork / src / paperwork / frontend / mainwindow.py View on Github external
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
github openpaperwork / paperwork / src / paperwork / frontend / mainwindow.py View on Github external
def __init__(self, factory, id, doclist):
        Job.__init__(self, factory, id)
        self.__doclist = doclist
        self.__current_idx = -1
github openpaperwork / paperwork / src / paperwork / frontend / mainwindow.py View on Github external
def __init__(self, factory, id, config, docsearch,
                new_docs=[], upd_docs=[], del_docs=[],
                optimize=True):
        Job.__init__(self, factory, id)
        self.__docsearch = docsearch
        self.__config = config

        self.new_docs = new_docs
        self.upd_docs = upd_docs
        self.del_docs = del_docs
        self.optimize = optimize
        self.index_updater = None
        self.total = len(self.new_docs) + len(self.upd_docs) + len(self.del_docs)
github openpaperwork / paperwork / src / paperwork / frontend / mainwindow.py View on Github external
def __init__(self, factory, id, page, zoom_factor_func):
        Job.__init__(self, factory, id)
        self.__page = page
        self.__zoom_factor_func = zoom_factor_func
        self.__started_once = False
github openpaperwork / paperwork / src / paperwork / frontend / mainwindow.py View on Github external
def __init__(self, factory, id, docsearch, label):
        Job.__init__(self, factory, id)
        self.__docsearch = docsearch
        self.__label = label
github openpaperwork / paperwork / src / paperwork / frontend / mainwindow.py View on Github external
def __init__(self, factory, id, exporter):
        Job.__init__(self, factory, id)
        self.__exporter = exporter