diff --git a/docs/extras/code_samples/default_async.txt b/docs/extras/code_samples/default_async.txt index 94835d0e..70faa140 100644 --- a/docs/extras/code_samples/default_async.txt +++ b/docs/extras/code_samples/default_async.txt @@ -1,4 +1,4 @@ -from mindee import Client, PredictResponse, product +from mindee import Client, AsyncPredictResponse, product # Init a new client mindee_client = Client(api_key="my-api-key") @@ -15,7 +15,7 @@ input_doc = mindee_client.source_from_path("/path/to/the/file.ext") # Parse the file. # The endpoint must be specified since it cannot be determined from the class. -result: PredictResponse = mindee_client.enqueue_and_parse( +result: AsyncPredictResponse = mindee_client.enqueue_and_parse( product.GeneratedV1, input_doc, endpoint=my_endpoint diff --git a/mindee/image_extraction/common/extracted_image.py b/mindee/image_extraction/common/extracted_image.py index b835ab2e..39ae0dd8 100644 --- a/mindee/image_extraction/common/extracted_image.py +++ b/mindee/image_extraction/common/extracted_image.py @@ -43,7 +43,6 @@ def save_to_file(self, output_path: str, file_format: Optional[str] = None): :raises MindeeError: If an invalid path or filename is provided. """ try: - print(f"SAVING {self.internal_file_name}") resolved_path = Path(output_path).resolve() if not file_format: if len(resolved_path.suffix) < 1: diff --git a/tests/data b/tests/data index 1cc324c3..7c3b8d1a 160000 --- a/tests/data +++ b/tests/data @@ -1 +1 @@ -Subproject commit 1cc324c3f4b2e9f9417268552532d2860f8edaa4 +Subproject commit 7c3b8d1a646de02477f9241b75dc1a1417998b0b