Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.17.0"
".": "0.18.0"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 22
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-44904c513baa439f294b23964ea368ad52863e13328980f9cac5a8e78cbb58cb.yml
openapi_spec_hash: 9bb50ca838166fb474d28009a7edbd49
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-e26ac226a3cf6d02380f3df386077414dd424dbf35c7c40e02ba512eff1dff84.yml
openapi_spec_hash: 077166ff05843544fbb4b519200ac9fc
config_hash: 70354330f92ce169beabc98696ebb9a3
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog

## 0.18.0 (2026-05-07)

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

### Features

* **api:** api update ([3649236](https://github.com/context-dot-dev/context-python-sdk/commit/3649236ff759877e620e926e79e6cf22c9412fec))
* **api:** api update ([0784f70](https://github.com/context-dot-dev/context-python-sdk/commit/0784f706c7fa35b48bff168a66d76f20ad262c9d))

## 0.17.0 (2026-05-06)

Full Changelog: [v0.16.0...v0.17.0](https://github.com/context-dot-dev/context-python-sdk/compare/v0.16.0...v0.17.0)
Expand Down
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,11 +130,10 @@ from context.dev import ContextDev

client = ContextDev()

response = client.web.web_scrape_images(
url="https://example.com",
enrichment={},
response = client.web.screenshot(
viewport={},
)
print(response.enrichment)
print(response.viewport)
```

## Handling errors
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "context.dev"
version = "0.17.0"
version = "0.18.0"
description = "The official Python library for the context.dev API"
dynamic = ["readme"]
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion src/context/dev/_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

__title__ = "context.dev"
__version__ = "0.17.0" # x-release-please-version
__version__ = "0.18.0" # x-release-please-version
30 changes: 18 additions & 12 deletions src/context/dev/resources/ai.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,9 @@ def extract_product(
younger than this many milliseconds. Defaults to 7 days (604800000 ms) when
omitted. Max is 30 days (2592000000 ms). Set to 0 to always scrape fresh.

timeout_ms: Optional timeout in milliseconds for the request. Maximum allowed value is
300000ms (5 minutes).
timeout_ms: Optional timeout in milliseconds for the request. If the request takes longer
than this value, it will be aborted with a 408 status code. Maximum allowed
value is 300000ms (5 minutes).

extra_headers: Send extra headers

Expand Down Expand Up @@ -183,8 +184,9 @@ def extract_products(

max_products: Maximum number of products to extract.

timeout_ms: Optional timeout in milliseconds for the request. Maximum allowed value is
300000ms (5 minutes).
timeout_ms: Optional timeout in milliseconds for the request. If the request takes longer
than this value, it will be aborted with a 408 status code. Maximum allowed
value is 300000ms (5 minutes).

extra_headers: Send extra headers

Expand Down Expand Up @@ -227,8 +229,9 @@ def extract_products(

max_products: Maximum number of products to extract.

timeout_ms: Optional timeout in milliseconds for the request. Maximum allowed value is
300000ms (5 minutes).
timeout_ms: Optional timeout in milliseconds for the request. If the request takes longer
than this value, it will be aborted with a 408 status code. Maximum allowed
value is 300000ms (5 minutes).

extra_headers: Send extra headers

Expand Down Expand Up @@ -375,8 +378,9 @@ async def extract_product(
younger than this many milliseconds. Defaults to 7 days (604800000 ms) when
omitted. Max is 30 days (2592000000 ms). Set to 0 to always scrape fresh.

timeout_ms: Optional timeout in milliseconds for the request. Maximum allowed value is
300000ms (5 minutes).
timeout_ms: Optional timeout in milliseconds for the request. If the request takes longer
than this value, it will be aborted with a 408 status code. Maximum allowed
value is 300000ms (5 minutes).

extra_headers: Send extra headers

Expand Down Expand Up @@ -432,8 +436,9 @@ async def extract_products(

max_products: Maximum number of products to extract.

timeout_ms: Optional timeout in milliseconds for the request. Maximum allowed value is
300000ms (5 minutes).
timeout_ms: Optional timeout in milliseconds for the request. If the request takes longer
than this value, it will be aborted with a 408 status code. Maximum allowed
value is 300000ms (5 minutes).

extra_headers: Send extra headers

Expand Down Expand Up @@ -476,8 +481,9 @@ async def extract_products(

max_products: Maximum number of products to extract.

timeout_ms: Optional timeout in milliseconds for the request. Maximum allowed value is
300000ms (5 minutes).
timeout_ms: Optional timeout in milliseconds for the request. If the request takes longer
than this value, it will be aborted with a 408 status code. Maximum allowed
value is 300000ms (5 minutes).

extra_headers: Send extra headers

Expand Down
Loading
Loading