Skip to content

Commit 1a72835

Browse files
📝 fix typos (#241)
1 parent d5a1336 commit 1a72835

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

docs/extras/code_samples/default_async.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from mindee import Client, PredictResponse, product
1+
from mindee import Client, AsyncPredictResponse, product
22

33
# Init a new client
44
mindee_client = Client(api_key="my-api-key")
@@ -15,7 +15,7 @@ input_doc = mindee_client.source_from_path("/path/to/the/file.ext")
1515

1616
# Parse the file.
1717
# The endpoint must be specified since it cannot be determined from the class.
18-
result: PredictResponse = mindee_client.enqueue_and_parse(
18+
result: AsyncPredictResponse = mindee_client.enqueue_and_parse(
1919
product.GeneratedV1,
2020
input_doc,
2121
endpoint=my_endpoint

mindee/image_extraction/common/extracted_image.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ def save_to_file(self, output_path: str, file_format: Optional[str] = None):
4343
:raises MindeeError: If an invalid path or filename is provided.
4444
"""
4545
try:
46-
print(f"SAVING {self.internal_file_name}")
4746
resolved_path = Path(output_path).resolve()
4847
if not file_format:
4948
if len(resolved_path.suffix) < 1:

0 commit comments

Comments
 (0)