Skip to content

Commit 826df21

Browse files
committed
fix sample
1 parent c92f9f3 commit 826df21

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

docs/extras/code_samples/default_v2.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
from mindee import ClientV2, InferencePredictOptions
2-
from mindee.parsing.v2 import InferenceResponse
32

43
input_path = "/path/to/the/file.ext"
54
api_key = "MY_API_KEY"
@@ -20,9 +19,9 @@ options = InferencePredictOptions(
2019
input_doc = mindee_client.source_from_path(input_path)
2120

2221
# Upload the file
23-
response: InferenceResponse = mindee_client.enqueue_and_parse(
22+
response = mindee_client.enqueue_and_parse(
2423
input_doc, options
2524
)
2625

2726
# Print a brief summary of the parsed data
28-
print(response.inference)
27+
print(response.inference)

0 commit comments

Comments
 (0)