nv-ingest-api 2025.10.6.dev20251006__py3-none-any.whl → 2025.10.8.dev20251008__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of nv-ingest-api might be problematic. Click here for more details.

@@ -308,7 +308,18 @@ class RestClient(MessageBrokerClientBase):
308
308
 
309
309
  retries: int = 0
310
310
  url: str = f"{self._base_url}{self._fetch_endpoint}/{job_id}"
311
- req_timeout: Tuple[float, Optional[float]] = self._timeout
311
+ # Derive per-call timeout if provided; otherwise use default
312
+ if timeout is None:
313
+ req_timeout: Tuple[float, Optional[float]] = self._timeout
314
+ else:
315
+ if isinstance(timeout, tuple):
316
+ # Expect (connect, read)
317
+ connect_t = float(timeout[0])
318
+ read_t = None if (len(timeout) < 2 or timeout[1] is None) else float(timeout[1])
319
+ req_timeout = (connect_t, read_t)
320
+ else:
321
+ # Single float means override read timeout, keep a small connect timeout
322
+ req_timeout = (min(self._default_connect_timeout, 5.0), float(timeout))
312
323
 
313
324
  while True:
314
325
  result: Optional[Any] = None
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nv-ingest-api
3
- Version: 2025.10.6.dev20251006
3
+ Version: 2025.10.8.dev20251008
4
4
  Summary: Python module with core document ingestion functions.
5
5
  Author-email: Jeremy Dyer <jdyer@nvidia.com>
6
6
  License: Apache License
@@ -158,16 +158,16 @@ nv_ingest_api/util/service_clients/kafka/__init__.py,sha256=uLsBITo_XfgbwpzqXUm1
158
158
  nv_ingest_api/util/service_clients/redis/__init__.py,sha256=wQSlVx3T14ZgQAt-EPzEczQusXVW0W8yynnUaFFGE3s,143
159
159
  nv_ingest_api/util/service_clients/redis/redis_client.py,sha256=3NLecvIvVN1v-sA7d7G-_f6qJVZyfJE2H8Iu5KG3Aew,37417
160
160
  nv_ingest_api/util/service_clients/rest/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
161
- nv_ingest_api/util/service_clients/rest/rest_client.py,sha256=dZ-jrk7IK7oNtHoXFSNTf7psoOpLREiLN5ezpHFW0HI,21732
161
+ nv_ingest_api/util/service_clients/rest/rest_client.py,sha256=TKbuq_h9ratkp2L02fYL1BkDIX0mmifUAN8l2_4zics,22319
162
162
  nv_ingest_api/util/string_processing/__init__.py,sha256=mkwHthyS-IILcLcL1tJYeF6mpqX3pxEw5aUzDGjTSeU,1411
163
163
  nv_ingest_api/util/string_processing/configuration.py,sha256=2HS08msccuPCT0fn_jfXRo9_M6hCZ59OxKLxG_47HRY,29888
164
164
  nv_ingest_api/util/string_processing/yaml.py,sha256=6SW2O6wbXRhGbhETMbtXjYCZn53HeCNOP6a96AaxlHs,1454
165
165
  nv_ingest_api/util/system/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
166
166
  nv_ingest_api/util/system/hardware_info.py,sha256=1UFM8XE6M3pgQcpbVsCsqDQ7Dj-zzptL-XRE-DEu9UA,27213
167
- nv_ingest_api-2025.10.6.dev20251006.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
167
+ nv_ingest_api-2025.10.8.dev20251008.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
168
168
  udfs/__init__.py,sha256=pXFqPgXIUqHDfj7SAR1Q19tt8KwGv_iMvhHyziz4AYM,205
169
169
  udfs/llm_summarizer_udf.py,sha256=sIMfcH4GRyciTKUtq4dmhd6fZmAp07X32irIC4k7nEI,7316
170
- nv_ingest_api-2025.10.6.dev20251006.dist-info/METADATA,sha256=4X9GEbUTJZRTkRQkLy9XR6dblOK6BMwkwU64M_wWNYM,14085
171
- nv_ingest_api-2025.10.6.dev20251006.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
172
- nv_ingest_api-2025.10.6.dev20251006.dist-info/top_level.txt,sha256=I1lseG9FF0CH93SPx4kFblsxFuv190cfzaas_CLNIiw,19
173
- nv_ingest_api-2025.10.6.dev20251006.dist-info/RECORD,,
170
+ nv_ingest_api-2025.10.8.dev20251008.dist-info/METADATA,sha256=lHvP6DR5gEfSPzyevDfnSrkPZl-5TB9S35V3GzJY7L4,14085
171
+ nv_ingest_api-2025.10.8.dev20251008.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
172
+ nv_ingest_api-2025.10.8.dev20251008.dist-info/top_level.txt,sha256=I1lseG9FF0CH93SPx4kFblsxFuv190cfzaas_CLNIiw,19
173
+ nv_ingest_api-2025.10.8.dev20251008.dist-info/RECORD,,