Skip to content

📝 fix typos #241

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading