diff --git a/any_parser/any_parser.py b/any_parser/any_parser.py index 3960b14..ae07912 100644 --- a/any_parser/any_parser.py +++ b/any_parser/any_parser.py @@ -11,13 +11,10 @@ from any_parser.async_parser import AsyncParser from any_parser.batch_parser import BatchParser from any_parser.constants import ProcessType -from any_parser.sync_parser import ( - ExtractKeyValueSyncParser, - ExtractPIISyncParser, - ExtractResumeKeyValueSyncParser, - ExtractTablesSyncParser, - ParseSyncParser, -) +from any_parser.sync_parser import (ExtractKeyValueSyncParser, + ExtractPIISyncParser, + ExtractResumeKeyValueSyncParser, + ExtractTablesSyncParser, ParseSyncParser) from any_parser.utils import validate_file_inputs PUBLIC_SHARED_BASE_URL = "https://public-api.cambio-ai.com" diff --git a/tests/test.py b/tests/test.py index 7dfa2d2..6b638fe 100755 --- a/tests/test.py +++ b/tests/test.py @@ -116,9 +116,7 @@ def test_pdf_async_parse_and_fetch_with_file_content(self): file_type = Path(working_file).suffix.lower().lstrip(".") # extract - file_id = self.ap.async_parse( - file_content=file_content, file_type=file_type - ) + file_id = self.ap.async_parse(file_content=file_content, file_type=file_type) self.assertFalse(file_id.startswith("Error:"), file_id) # fetch markdown_list = self.ap.async_fetch(file_id=file_id)