Skip to content

Commit

Permalink
📝 fix typos (#241)
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianMindee authored Jun 14, 2024
1 parent d5a1336 commit 1a72835
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/extras/code_samples/default_async.txt
Original file line number Diff line number Diff line change
@@ -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")
Expand All @@ -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
Expand Down
1 change: 0 additions & 1 deletion mindee/image_extraction/common/extracted_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion tests/data

0 comments on commit 1a72835

Please sign in to comment.