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.32.0"
".": "0.33.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: 25
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-8f6bc62256b5a4aa44e82389bfefee1d73172856c407567bba11a82fd4203641.yml
openapi_spec_hash: 8b7230de56ecbec4712fa1e81067a75c
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-d605be55fd51d8f3ae53439a3bbcdcd20c4c78e3d9dcec9bf0bbf326290f0dd5.yml
openapi_spec_hash: 2f6a14c5ab9716e73da8e1c03df8cab6
config_hash: f86a4e06ae5ed725aa79d58d7a8dc27c
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.33.0 (2026-06-08)

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

### Features

* **api:** api update ([06f5e93](https://github.com/context-dot-dev/context-python-sdk/commit/06f5e93deea22c2b395703e10ecca554e086c7c2))

## 0.32.0 (2026-06-07)

Full Changelog: [v0.31.0...v0.32.0](https://github.com/context-dot-dev/context-python-sdk/compare/v0.31.0...v0.32.0)
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.32.0"
version = "0.33.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.32.0" # x-release-please-version
__version__ = "0.33.0" # x-release-please-version
14 changes: 8 additions & 6 deletions src/context/dev/resources/web.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,8 @@ def extract(
max_age_ms: Return cached scrape results if a prior scrape for the same parameters is
younger than this many milliseconds. Defaults to 7 days (604800000 ms).

stop_after_ms: Soft time budget for the crawl in milliseconds.
stop_after_ms: Soft time budget for the crawl in milliseconds. Min: 10000 (10s). Max: 110000
(110s). Default: 80000 (80s).

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
Expand Down Expand Up @@ -568,8 +569,8 @@ def web_crawl_md(

stop_after_ms: Soft time budget for the crawl in milliseconds. After each scrape, the crawler
checks the elapsed time and, if exceeded, returns the pages collected so far
instead of continuing. Min: 10000 (10s). Max: 240000 (4 min). Default: 120000 (2
min).
instead of continuing. Min: 10000 (10s). Max: 110000 (110s). Default: 80000
(80s).

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
Expand Down Expand Up @@ -1019,7 +1020,8 @@ async def extract(
max_age_ms: Return cached scrape results if a prior scrape for the same parameters is
younger than this many milliseconds. Defaults to 7 days (604800000 ms).

stop_after_ms: Soft time budget for the crawl in milliseconds.
stop_after_ms: Soft time budget for the crawl in milliseconds. Min: 10000 (10s). Max: 110000
(110s). Default: 80000 (80s).

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
Expand Down Expand Up @@ -1471,8 +1473,8 @@ async def web_crawl_md(

stop_after_ms: Soft time budget for the crawl in milliseconds. After each scrape, the crawler
checks the elapsed time and, if exceeded, returns the pages collected so far
instead of continuing. Min: 10000 (10s). Max: 240000 (4 min). Default: 120000 (2
min).
instead of continuing. Min: 10000 (10s). Max: 110000 (110s). Default: 80000
(80s).

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
Expand Down
5 changes: 4 additions & 1 deletion src/context/dev/types/web_extract_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,10 @@ class WebExtractParams(TypedDict, total=False):
pdf: Pdf

stop_after_ms: Annotated[int, PropertyInfo(alias="stopAfterMs")]
"""Soft time budget for the crawl in milliseconds."""
"""Soft time budget for the crawl in milliseconds.

Min: 10000 (10s). Max: 110000 (110s). Default: 80000 (80s).
"""

timeout_ms: Annotated[int, PropertyInfo(alias="timeoutMS")]
"""Optional timeout in milliseconds for the request.
Expand Down
4 changes: 2 additions & 2 deletions src/context/dev/types/web_web_crawl_md_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ class WebWebCrawlMdParams(TypedDict, total=False):
"""Soft time budget for the crawl in milliseconds.

After each scrape, the crawler checks the elapsed time and, if exceeded, returns
the pages collected so far instead of continuing. Min: 10000 (10s). Max: 240000
(4 min). Default: 120000 (2 min).
the pages collected so far instead of continuing. Min: 10000 (10s). Max: 110000
(110s). Default: 80000 (80s).
"""

timeout_ms: Annotated[int, PropertyInfo(alias="timeoutMS")]
Expand Down
Loading