示例#1
0
def parseTextOrders_cmd(where=None, limit=None):
    """Command that runs process to extract data from a text based order using Poppler."""
    docformat = st.DOCFORMAT_ORDER

    query = queries.idOnly('T', docformat, where, limit)
    process = parseTextOrders()
    bulkProcess(process, query, abortOnError=False)
def parseTextOrders_cmd(where=None, limit=None):
    """Command that runs process to extract data from a text based order using Poppler."""
    docformat = st.DOCFORMAT_ORDER

    query = queries.idOnly("T", docformat, where, limit)
    process = parseTextOrders()
    bulkProcess(process, query, abortOnError=False)
示例#3
0
def markCommonFromLocalText_cmd(where=None, limit=None):
    """Command that runs process to identify common document types and formats from text based PDFs."""
    # TODO set to None

    docformat = st.DOCFORMAT_CONTRACT

    query = queries.idOnly('T', docformat, where, limit)
    process = markCommonFromLocalText()
    bulkProcess(process, query, abortOnError=True)
def markCommonFromLocalText_cmd(where=None, limit=None):
    """Command that runs process to identify common document types and formats from text based PDFs."""
    # TODO set to None

    docformat = st.DOCFORMAT_CONTRACT

    query = queries.idOnly("T", docformat, where, limit)
    process = markCommonFromLocalText()
    bulkProcess(process, query, abortOnError=True)