From 92768ebf432a2b982215f24bf69a6f07c162f592 Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Mon, 16 Feb 2026 11:35:30 +0000 Subject: [PATCH] [autofix.ci] apply automated fixes --- api/core/workflow/nodes/document_extractor/node.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/api/core/workflow/nodes/document_extractor/node.py b/api/core/workflow/nodes/document_extractor/node.py index 63250b16a8..46844d8477 100644 --- a/api/core/workflow/nodes/document_extractor/node.py +++ b/api/core/workflow/nodes/document_extractor/node.py @@ -562,6 +562,7 @@ def _extract_text_from_excel(file_content: bytes) -> str: def _extract_text_from_ppt(file_content: bytes, *, unstructured_api_config: UnstructuredApiConfig) -> str: from unstructured.partition.api import partition_via_api from unstructured.partition.ppt import partition_ppt + api_key = unstructured_api_config.api_key or "" try: @@ -589,6 +590,7 @@ def _extract_text_from_ppt(file_content: bytes, *, unstructured_api_config: Unst def _extract_text_from_pptx(file_content: bytes, *, unstructured_api_config: UnstructuredApiConfig) -> str: from unstructured.partition.api import partition_via_api from unstructured.partition.pptx import partition_pptx + api_key = unstructured_api_config.api_key or "" try: @@ -615,6 +617,7 @@ def _extract_text_from_pptx(file_content: bytes, *, unstructured_api_config: Uns def _extract_text_from_epub(file_content: bytes, *, unstructured_api_config: UnstructuredApiConfig) -> str: from unstructured.partition.api import partition_via_api from unstructured.partition.epub import partition_epub + api_key = unstructured_api_config.api_key or "" try: