From 89fe0df40bb993572d8d6039fbbb073dacadf9cb Mon Sep 17 00:00:00 2001 From: KaifAhmad1 Date: Wed, 18 Mar 2026 00:11:58 +0530 Subject: [PATCH] fix: replace Presentation type annotation with Any in pptx_parser Method signature 'def _extract_metadata(self, prs: Presentation)' references Presentation at class-definition time (evaluated on import), causing NameError since Presentation is no longer imported at module level. Replace with Any. Co-Authored-By: Claude Sonnet 4.6 --- semantica/parse/pptx_parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/semantica/parse/pptx_parser.py b/semantica/parse/pptx_parser.py index f88037de..7628f1d1 100644 --- a/semantica/parse/pptx_parser.py +++ b/semantica/parse/pptx_parser.py @@ -225,7 +225,7 @@ class PPTXParser: images=images, ) - def _extract_metadata(self, prs: Presentation) -> Dict[str, Any]: + def _extract_metadata(self, prs: Any) -> Dict[str, Any]: """Extract presentation metadata.""" metadata = {}