data-science-document-ai 1.43.1__py3-none-any.whl → 1.43.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {data_science_document_ai-1.43.1.dist-info → data_science_document_ai-1.43.2.dist-info}/METADATA +1 -1
- {data_science_document_ai-1.43.1.dist-info → data_science_document_ai-1.43.2.dist-info}/RECORD +4 -4
- src/pdf_processing.py +4 -1
- {data_science_document_ai-1.43.1.dist-info → data_science_document_ai-1.43.2.dist-info}/WHEEL +0 -0
{data_science_document_ai-1.43.1.dist-info → data_science_document_ai-1.43.2.dist-info}/RECORD
RENAMED
|
@@ -6,7 +6,7 @@ src/excel_processing.py,sha256=gzP7QFCp4-n0FTevhWmXm-2UoDF0w0y5v39gsby0IV8,3135
|
|
|
6
6
|
src/io.py,sha256=tOJpMyI-mP1AaXKG4UFudH47MHWzjWBgVahFJUcjGfs,4749
|
|
7
7
|
src/llm.py,sha256=OE4IEIqcM-hYK9U7e0x1rAfcqdpeo4iXPHBp64L5Qz0,8199
|
|
8
8
|
src/log_setup.py,sha256=RhHnpXqcl-ii4EJzRt47CF2R-Q3YPF68tepg_Kg7tkw,2895
|
|
9
|
-
src/pdf_processing.py,sha256=
|
|
9
|
+
src/pdf_processing.py,sha256=0lmeaKwruAxqhk7NeCC4GU6Zlp0rQAmi0lbjlNTNCDc,17039
|
|
10
10
|
src/postprocessing/common.py,sha256=wvlYI1S75r0q5xp9Yll89nOVWtwDd7hV4Sf0MIButA0,22150
|
|
11
11
|
src/postprocessing/postprocess_booking_confirmation.py,sha256=nK32eDiBNbauyQz0oCa9eraysku8aqzrcoRFoWVumDU,4827
|
|
12
12
|
src/postprocessing/postprocess_commercial_invoice.py,sha256=3I8ijluTZcOs_sMnFZxfkAPle0UFQ239EMuvZfDZVPg,1028
|
|
@@ -52,6 +52,6 @@ src/prompts/prompt_library.py,sha256=jPxybNPPGH7mzonqtAOqmw5WcT-RtbGP0pvMqqP22hg
|
|
|
52
52
|
src/setup.py,sha256=M-p5c8M9ejKcSZ9N86VtmtPc4TYLxe1_4_dxf6jpfVc,7262
|
|
53
53
|
src/tms.py,sha256=UXbIo1QE--hIX6NZi5Qyp2R_CP338syrY9pCTPrfgnE,1741
|
|
54
54
|
src/utils.py,sha256=cTF2A12jugKjXxGlNXEZQtfgcsIoaTtaU7zhVOOvXXA,16634
|
|
55
|
-
data_science_document_ai-1.43.
|
|
56
|
-
data_science_document_ai-1.43.
|
|
57
|
-
data_science_document_ai-1.43.
|
|
55
|
+
data_science_document_ai-1.43.2.dist-info/METADATA,sha256=4FTsGLX2lW2bIDgXV0wRwUcKKvkMl3ZfbQokcRdTFY0,2152
|
|
56
|
+
data_science_document_ai-1.43.2.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
|
|
57
|
+
data_science_document_ai-1.43.2.dist-info/RECORD,,
|
src/pdf_processing.py
CHANGED
|
@@ -393,6 +393,7 @@ async def data_extraction_manual_flow(
|
|
|
393
393
|
meta,
|
|
394
394
|
processor_client,
|
|
395
395
|
schema_client,
|
|
396
|
+
use_default_logging=False,
|
|
396
397
|
):
|
|
397
398
|
"""
|
|
398
399
|
Process a PDF file and extract data from it.
|
|
@@ -480,7 +481,9 @@ async def data_extraction_manual_flow(
|
|
|
480
481
|
logger.info(f"Time taken to process the document: {round(elapsed_time, 4)} seconds")
|
|
481
482
|
|
|
482
483
|
# Schedule background tasks without using FastAPI's BackgroundTasks
|
|
483
|
-
if
|
|
484
|
+
if (
|
|
485
|
+
os.getenv("CLUSTER") != "ode"
|
|
486
|
+
) & use_default_logging: # skip data export to bigquery in ODE environment
|
|
484
487
|
asyncio.create_task(
|
|
485
488
|
run_background_tasks(
|
|
486
489
|
params,
|
{data_science_document_ai-1.43.1.dist-info → data_science_document_ai-1.43.2.dist-info}/WHEEL
RENAMED
|
File without changes
|