Skip to content

Commit ddcd26a

Browse files
authored
Merge pull request #7 from context-dot-dev/release-please--branches--main--changes--next
release: 0.5.0
2 parents 0b8d0e5 + 04abfcb commit ddcd26a

9 files changed

Lines changed: 197 additions & 141 deletions

File tree

‎.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.4.0"
2+
".": "0.5.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: 20
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev%2Fcontext.dev-2ddb6d73ec8831eee4cb4352b85843a1f6f444e48d8be837cfcd118eddd2a63e.yml
3-
openapi_spec_hash: 1163122fba27e56fa5879bc98d32ee14
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev%2Fcontext.dev-56a21db16ac3a797f86daca01a2ea115a0365db4b2f9d8accdec4f4d3ee2eb83.yml
3+
openapi_spec_hash: bfcef090896da96023c4485a3d69e350
44
config_hash: 38268bb88fc4dcbb8f2f94dd138b5910

‎CHANGELOG.md‎

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

3+
## 0.5.0 (2026-04-03)
4+
5+
Full Changelog: [v0.4.0...v0.5.0](https://github.com/context-dot-dev/context-python-sdk/compare/v0.4.0...v0.5.0)
6+
7+
### Features
8+
9+
* **api:** api update ([e74edce](https://github.com/context-dot-dev/context-python-sdk/commit/e74edce25aa7523b51f814b402e4aac635e91913))
10+
311
## 0.4.0 (2026-03-28)
412

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

‎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.4.0"
3+
version = "0.5.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.4.0" # x-release-please-version
4+
__version__ = "0.5.0" # x-release-please-version

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

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
from __future__ import annotations
44

5-
from typing_extensions import Literal
6-
75
import httpx
86

97
from ..types import style_extract_fonts_params, style_extract_styleguide_params
@@ -99,7 +97,6 @@ def extract_styleguide(
9997
*,
10098
direct_url: str | Omit = omit,
10199
domain: str | Omit = omit,
102-
prioritize: Literal["speed", "quality"] | Omit = omit,
103100
timeout_ms: int | Omit = omit,
104101
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
105102
# The extra values given here take precedence over values defined on the client or passed to this method.
@@ -121,11 +118,6 @@ def extract_styleguide(
121118
domain: Domain name to extract styleguide from (e.g., 'example.com', 'google.com'). The
122119
domain will be automatically normalized and validated.
123120
124-
prioritize: Optional parameter to prioritize screenshot capture for styleguide extraction.
125-
If 'speed', optimizes for faster capture with basic quality. If 'quality',
126-
optimizes for higher quality with longer wait times. Defaults to 'quality' if
127-
not provided.
128-
129121
timeout_ms: Optional timeout in milliseconds for the request. If the request takes longer
130122
than this value, it will be aborted with a 408 status code. Maximum allowed
131123
value is 300000ms (5 minutes).
@@ -149,7 +141,6 @@ def extract_styleguide(
149141
{
150142
"direct_url": direct_url,
151143
"domain": domain,
152-
"prioritize": prioritize,
153144
"timeout_ms": timeout_ms,
154145
},
155146
style_extract_styleguide_params.StyleExtractStyleguideParams,
@@ -234,7 +225,6 @@ async def extract_styleguide(
234225
*,
235226
direct_url: str | Omit = omit,
236227
domain: str | Omit = omit,
237-
prioritize: Literal["speed", "quality"] | Omit = omit,
238228
timeout_ms: int | Omit = omit,
239229
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
240230
# The extra values given here take precedence over values defined on the client or passed to this method.
@@ -256,11 +246,6 @@ async def extract_styleguide(
256246
domain: Domain name to extract styleguide from (e.g., 'example.com', 'google.com'). The
257247
domain will be automatically normalized and validated.
258248
259-
prioritize: Optional parameter to prioritize screenshot capture for styleguide extraction.
260-
If 'speed', optimizes for faster capture with basic quality. If 'quality',
261-
optimizes for higher quality with longer wait times. Defaults to 'quality' if
262-
not provided.
263-
264249
timeout_ms: Optional timeout in milliseconds for the request. If the request takes longer
265250
than this value, it will be aborted with a 408 status code. Maximum allowed
266251
value is 300000ms (5 minutes).
@@ -284,7 +269,6 @@ async def extract_styleguide(
284269
{
285270
"direct_url": direct_url,
286271
"domain": domain,
287-
"prioritize": prioritize,
288272
"timeout_ms": timeout_ms,
289273
},
290274
style_extract_styleguide_params.StyleExtractStyleguideParams,

‎src/context/dev/types/style_extract_styleguide_params.py‎

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
from __future__ import annotations
44

5-
from typing_extensions import Literal, Annotated, TypedDict
5+
from typing_extensions import Annotated, TypedDict
66

77
from .._utils import PropertyInfo
88

@@ -22,14 +22,6 @@ class StyleExtractStyleguideParams(TypedDict, total=False):
2222
The domain will be automatically normalized and validated.
2323
"""
2424

25-
prioritize: Literal["speed", "quality"]
26-
"""Optional parameter to prioritize screenshot capture for styleguide extraction.
27-
28-
If 'speed', optimizes for faster capture with basic quality. If 'quality',
29-
optimizes for higher quality with longer wait times. Defaults to 'quality' if
30-
not provided.
31-
"""
32-
3325
timeout_ms: Annotated[int, PropertyInfo(alias="timeoutMS")]
3426
"""Optional timeout in milliseconds for the request.
3527

0 commit comments

Comments
 (0)