Skip to content

Commit 457d382

Browse files
authored
Merge pull request #21 from context-dot-dev/release-please--branches--main--changes--next
release: 0.18.0
2 parents aca74e7 + 2289b47 commit 457d382

18 files changed

Lines changed: 224 additions & 25 deletions

‎.release-please-manifest.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.17.0"
2+
".": "0.18.0"
33
}

‎.stats.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 22
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-44904c513baa439f294b23964ea368ad52863e13328980f9cac5a8e78cbb58cb.yml
3-
openapi_spec_hash: 9bb50ca838166fb474d28009a7edbd49
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-e26ac226a3cf6d02380f3df386077414dd424dbf35c7c40e02ba512eff1dff84.yml
3+
openapi_spec_hash: 077166ff05843544fbb4b519200ac9fc
44
config_hash: 70354330f92ce169beabc98696ebb9a3

‎CHANGELOG.md‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# Changelog
22

3+
## 0.18.0 (2026-05-07)
4+
5+
Full Changelog: [v0.17.0...v0.18.0](https://github.com/context-dot-dev/context-python-sdk/compare/v0.17.0...v0.18.0)
6+
7+
### Features
8+
9+
* **api:** api update ([3649236](https://github.com/context-dot-dev/context-python-sdk/commit/3649236ff759877e620e926e79e6cf22c9412fec))
10+
* **api:** api update ([0784f70](https://github.com/context-dot-dev/context-python-sdk/commit/0784f706c7fa35b48bff168a66d76f20ad262c9d))
11+
312
## 0.17.0 (2026-05-06)
413

514
Full Changelog: [v0.16.0...v0.17.0](https://github.com/context-dot-dev/context-python-sdk/compare/v0.16.0...v0.17.0)

‎README.md‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -130,11 +130,10 @@ from context.dev import ContextDev
130130

131131
client = ContextDev()
132132

133-
response = client.web.web_scrape_images(
134-
url="https://example.com",
135-
enrichment={},
133+
response = client.web.screenshot(
134+
viewport={},
136135
)
137-
print(response.enrichment)
136+
print(response.viewport)
138137
```
139138

140139
## Handling errors

‎pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "context.dev"
3-
version = "0.17.0"
3+
version = "0.18.0"
44
description = "The official Python library for the context.dev API"
55
dynamic = ["readme"]
66
license = "Apache-2.0"

‎src/context/dev/_version.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

33
__title__ = "context.dev"
4-
__version__ = "0.17.0" # x-release-please-version
4+
__version__ = "0.18.0" # x-release-please-version

‎src/context/dev/resources/ai.py‎

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,9 @@ def extract_product(
126126
younger than this many milliseconds. Defaults to 7 days (604800000 ms) when
127127
omitted. Max is 30 days (2592000000 ms). Set to 0 to always scrape fresh.
128128
129-
timeout_ms: Optional timeout in milliseconds for the request. Maximum allowed value is
130-
300000ms (5 minutes).
129+
timeout_ms: Optional timeout in milliseconds for the request. If the request takes longer
130+
than this value, it will be aborted with a 408 status code. Maximum allowed
131+
value is 300000ms (5 minutes).
131132
132133
extra_headers: Send extra headers
133134
@@ -183,8 +184,9 @@ def extract_products(
183184
184185
max_products: Maximum number of products to extract.
185186
186-
timeout_ms: Optional timeout in milliseconds for the request. Maximum allowed value is
187-
300000ms (5 minutes).
187+
timeout_ms: Optional timeout in milliseconds for the request. If the request takes longer
188+
than this value, it will be aborted with a 408 status code. Maximum allowed
189+
value is 300000ms (5 minutes).
188190
189191
extra_headers: Send extra headers
190192
@@ -227,8 +229,9 @@ def extract_products(
227229
228230
max_products: Maximum number of products to extract.
229231
230-
timeout_ms: Optional timeout in milliseconds for the request. Maximum allowed value is
231-
300000ms (5 minutes).
232+
timeout_ms: Optional timeout in milliseconds for the request. If the request takes longer
233+
than this value, it will be aborted with a 408 status code. Maximum allowed
234+
value is 300000ms (5 minutes).
232235
233236
extra_headers: Send extra headers
234237
@@ -375,8 +378,9 @@ async def extract_product(
375378
younger than this many milliseconds. Defaults to 7 days (604800000 ms) when
376379
omitted. Max is 30 days (2592000000 ms). Set to 0 to always scrape fresh.
377380
378-
timeout_ms: Optional timeout in milliseconds for the request. Maximum allowed value is
379-
300000ms (5 minutes).
381+
timeout_ms: Optional timeout in milliseconds for the request. If the request takes longer
382+
than this value, it will be aborted with a 408 status code. Maximum allowed
383+
value is 300000ms (5 minutes).
380384
381385
extra_headers: Send extra headers
382386
@@ -432,8 +436,9 @@ async def extract_products(
432436
433437
max_products: Maximum number of products to extract.
434438
435-
timeout_ms: Optional timeout in milliseconds for the request. Maximum allowed value is
436-
300000ms (5 minutes).
439+
timeout_ms: Optional timeout in milliseconds for the request. If the request takes longer
440+
than this value, it will be aborted with a 408 status code. Maximum allowed
441+
value is 300000ms (5 minutes).
437442
438443
extra_headers: Send extra headers
439444
@@ -476,8 +481,9 @@ async def extract_products(
476481
477482
max_products: Maximum number of products to extract.
478483
479-
timeout_ms: Optional timeout in milliseconds for the request. Maximum allowed value is
480-
300000ms (5 minutes).
484+
timeout_ms: Optional timeout in milliseconds for the request. If the request takes longer
485+
than this value, it will be aborted with a 408 status code. Maximum allowed
486+
value is 300000ms (5 minutes).
481487
482488
extra_headers: Send extra headers
483489

0 commit comments

Comments
 (0)