Skip to content

Commit 2dcf781

Browse files
🔖 Version 4.16.0 (#292)
1 parent 6a72a77 commit 2dcf781

File tree

5 files changed

+15
-9
lines changed

5 files changed

+15
-9
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Mindee Python API Library Changelog
22

3+
## v4.16.0 - 2024-12-13
4+
### Changes
5+
* :sparkles: allow local downloading of remote sources
6+
* :coffin: remove support for (FR) Carte Vitale V1 in favor of French Health Card V1
7+
8+
39
## v4.15.1 - 2024-11-28
410
### Changes
511
* :arrow_up: update pylint

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ result = mindee_client.parse(product.us.BankCheckV1, input_doc)
7373
print(result.document)
7474
```
7575

76-
#### Custom Document (API Builder)
76+
#### Custom Documents (docTI & Custom APIs)
7777

7878
```python
7979
from mindee import Client, product
@@ -92,8 +92,8 @@ input_doc = mindee_client.source_from_path("/path/to/the/file.ext")
9292

9393
# Parse the file.
9494
# The endpoint must be specified since it cannot be determined from the class.
95-
result = mindee_client.parse(
96-
product.CustomV1,
95+
result = mindee_client.enqueue_and_parse(
96+
product.GeneratedV1,
9797
input_doc,
9898
endpoint=my_endpoint
9999
)

docs/extras/guide/custom_v1.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ category: 622b805aaec68102ea7fcbc2
44
slug: python-api-builder
55
parentDoc: 609808f773b0b90051d839de
66
---
7-
> 🚧 This product is still supported, but is considered to be deprecated. If you are looking for the DocTI API documentation, you can find it [here](https://developers.mindee.com/docs/generated-api-python).
7+
> 🚧 This product is still supported, but is considered to be deprecated. If you are looking for the docTI API documentation, you can find it [here](https://developers.mindee.com/docs/generated-api-python).
88
99
# Quick-Start
1010

docs/extras/guide/getting_started.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -209,20 +209,20 @@ Simply setting the correct class and passing the input document is enough:
209209
result = mindee_client.parse(product.InvoiceV4, input_doc)
210210
```
211211

212-
### Custom Documents
212+
### Custom Documents (docTI & Custom APIs)
213213

214-
The endpoint to use must be created beforehands and subsequently passed to the `endpoint` argument of the `parse` method:
214+
The endpoint to use must be created beforehand and subsequently passed to the `endpoint` argument of the `enqueue_and_parse` method:
215215

216216
```python
217217
custom_endpoint = mindee_client.create_endpoint(
218218
"my-endpoin-url",
219219
"my-account-name",
220220
# "my-version" # optional
221221
)
222-
result = mindee_client.parse(product.CustomV1, input_doc, endpoint=custom_endpoint)
222+
result = mindee_client.enqueue_and_parse(product.GeneratedV1, input_doc, endpoint=custom_endpoint)
223223
```
224224

225-
This is because the `CustomV1` class is enough to handle the return processing, but the actual endpoint needs to be specified.
225+
This is because the `GeneratedV1` class is enough to handle the return processing, but the actual endpoint needs to be specified.
226226

227227

228228
## Processing the Response

mindee/versions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import sys
22

3-
__version__ = "4.15.1"
3+
__version__ = "4.16.0"
44

55
PYTHON_VERSION = f"{sys.version_info[0]}.{sys.version_info[1]}"
66

0 commit comments

Comments
 (0)