Skip to content

Commit 282c68a

Browse files
fix: ibm change max retries limit (#469)
* Change ibm_watsonx_s3 uploader max_retries limit to 500 * version and changelog bump; ibm max_retries fix * Update azure e2e fixtures
1 parent 1393fc4 commit 282c68a

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## 1.0.11
2+
3+
### Fixes
4+
5+
* **Change IBM Watsonx Uploader `max_retries` upper limit to 500**
6+
17
## 1.0.10
28

39
### Fixes

test_e2e/expected-structured-output/azure/spring-weather.html.json

-4
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
"element_id": "0d591849d38087378b7e9f078ce2d40f",
55
"text": "National Weather Service",
66
"metadata": {
7-
"image_url": "/css/images/header.png",
87
"link_texts": [
98
"National Weather Service"
109
],
@@ -34,7 +33,6 @@
3433
"element_id": "0656e79f949578c1381a24fca46105d0",
3534
"text": "United States Department of Commerce",
3635
"metadata": {
37-
"image_url": "/css/images/header_doc.png",
3836
"link_texts": [
3937
"United States Department of Commerce"
4038
],
@@ -2617,7 +2615,6 @@
26172615
"element_id": "7ba56f7bdf3e5a1acab250c00aaebab9",
26182616
"text": "",
26192617
"metadata": {
2620-
"image_url": "/images/wrn/Infographics/2023/outside-of-heatwaves.png",
26212618
"languages": [
26222619
"eng"
26232620
],
@@ -2641,7 +2638,6 @@
26412638
"element_id": "81a3e31aa4cb3f2745bf23bae6127d95",
26422639
"text": "usa.gov",
26432640
"metadata": {
2644-
"image_url": "/css/images/usa_gov.png",
26452641
"link_texts": [
26462642
"usa.gov"
26472643
],

unstructured_ingest/__version__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "1.0.10" # pragma: no cover
1+
__version__ = "1.0.11" # pragma: no cover

unstructured_ingest/processes/connectors/ibm_watsonx/ibm_watsonx_s3.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ class IbmWatsonxUploaderConfig(UploaderConfig):
172172
namespace: str = Field(description="Namespace name")
173173
table: str = Field(description="Table name")
174174
max_retries: int = Field(
175-
default=5, description="Maximum number of retries to upload data", ge=2, le=10
175+
default=5, description="Maximum number of retries to upload data", ge=2, le=500
176176
)
177177
record_id_key: str = Field(
178178
default=RECORD_ID_LABEL,

0 commit comments

Comments
 (0)