Skip to content

Commit 5787a13

Browse files
authored
Merge pull request #49 from context-dot-dev/release-please--branches--main--changes--next
release: 2.3.0
2 parents b2d0735 + 27614ce commit 5787a13

31 files changed

Lines changed: 1007 additions & 135 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-
".": "2.2.0"
2+
".": "2.3.0"
33
}

‎.stats.yml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
configured_endpoints: 29
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-ecb277557634e2f0838ea196e2b21f11924f65e133c7977e8c2e1a603b8df466.yml
3-
openapi_spec_hash: 798ce4cb042389a1179bf9af6fc1173d
4-
config_hash: ff35e224e809656528c44163aa41bebd
1+
configured_endpoints: 30
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-c90f13e3cf4b9ae6a1d8f22c0e7285ab12d412d3a659a51a247a97adc7f08121.yml
3+
openapi_spec_hash: bf7879be38ebf3397a939c80b261a47a
4+
config_hash: daabb160675d86b354711da1e77e5129

‎CHANGELOG.md‎

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

3+
## 2.3.0 (2026-07-12)
4+
5+
Full Changelog: [v2.2.0...v2.3.0](https://github.com/context-dot-dev/context-python-sdk/compare/v2.2.0...v2.3.0)
6+
7+
### Features
8+
9+
* **api:** api update ([dac3f38](https://github.com/context-dot-dev/context-python-sdk/commit/dac3f38751139f40031ab70750a7831cbb9f42be))
10+
* **api:** api update ([921eaa8](https://github.com/context-dot-dev/context-python-sdk/commit/921eaa8d1682df7ba9d70855fcb700b336465c7c))
11+
* **api:** api update ([3e75380](https://github.com/context-dot-dev/context-python-sdk/commit/3e753806bd5077a81f62d797021c15067a0daffe))
12+
* **api:** api update ([3b9e64f](https://github.com/context-dot-dev/context-python-sdk/commit/3b9e64f5dddd1992ea79f0dc88da7f3131f7e43d))
13+
* **api:** api update ([9f486e7](https://github.com/context-dot-dev/context-python-sdk/commit/9f486e7d1067b55375977f6fc1f2520093eeb4d6))
14+
* **api:** api update ([94c1bb6](https://github.com/context-dot-dev/context-python-sdk/commit/94c1bb60cde333694a5f62b2526603b79d8fd62a))
15+
* **api:** manual updates ([538a766](https://github.com/context-dot-dev/context-python-sdk/commit/538a76606adf7e885ad2f953ea62ae2ac8b9e29a))
16+
317
## 2.2.0 (2026-07-10)
418

519
Full Changelog: [v2.1.0...v2.2.0](https://github.com/context-dot-dev/context-python-sdk/compare/v2.1.0...v2.2.0)

‎api.md‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
# Parse
2+
3+
Types:
4+
5+
```python
6+
from context.dev.types import ParseHandleResponse
7+
```
8+
9+
Methods:
10+
11+
- <code title="post /parse">client.parse.<a href="./src/context/dev/resources/parse.py">handle</a>(body, \*\*<a href="src/context/dev/types/parse_handle_params.py">params</a>) -> <a href="./src/context/dev/types/parse_handle_response.py">ParseHandleResponse</a></code>
12+
113
# Web
214

315
Types:
@@ -89,6 +101,7 @@ Types:
89101

90102
```python
91103
from context.dev.types import (
104+
WebhookDelivery,
92105
MonitorCreateResponse,
93106
MonitorRetrieveResponse,
94107
MonitorUpdateResponse,

‎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 = "2.2.0"
3+
version = "2.3.0"
44
description = "The official Python library for the context.dev API"
55
dynamic = ["readme"]
66
license = "Apache-2.0"

‎src/context/dev/_client.py‎

Lines changed: 44 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,11 @@
3535
)
3636

3737
if TYPE_CHECKING:
38-
from .resources import ai, web, brand, utility, industry, monitors
38+
from .resources import ai, web, brand, parse, utility, industry, monitors
3939
from .resources.ai import AIResource, AsyncAIResource
4040
from .resources.web import WebResource, AsyncWebResource
4141
from .resources.brand import BrandResource, AsyncBrandResource
42+
from .resources.parse import ParseResource, AsyncParseResource
4243
from .resources.utility import UtilityResource, AsyncUtilityResource
4344
from .resources.industry import IndustryResource, AsyncIndustryResource
4445
from .resources.monitors import MonitorsResource, AsyncMonitorsResource
@@ -119,6 +120,12 @@ def __init__(
119120
_strict_response_validation=_strict_response_validation,
120121
)
121122

123+
@cached_property
124+
def parse(self) -> ParseResource:
125+
from .resources.parse import ParseResource
126+
127+
return ParseResource(self)
128+
122129
@cached_property
123130
def web(self) -> WebResource:
124131
from .resources.web import WebResource
@@ -152,7 +159,7 @@ def utility(self) -> UtilityResource:
152159
@cached_property
153160
def monitors(self) -> MonitorsResource:
154161
"""
155-
Monitor pages, sitemaps, and extracted website data for exact or semantic changes. The change.detected webhook payload is documented by the MonitorsChangeDetectedWebhookPayload schema.
162+
Monitor pages, sitemaps, and extracted website data for exact or semantic changes. Webhook payloads are documented by the MonitorsChangeDetectedWebhookPayload and MonitorsRunCompletedWebhookPayload schemas.
156163
"""
157164
from .resources.monitors import MonitorsResource
158165

@@ -335,6 +342,12 @@ def __init__(
335342
_strict_response_validation=_strict_response_validation,
336343
)
337344

345+
@cached_property
346+
def parse(self) -> AsyncParseResource:
347+
from .resources.parse import AsyncParseResource
348+
349+
return AsyncParseResource(self)
350+
338351
@cached_property
339352
def web(self) -> AsyncWebResource:
340353
from .resources.web import AsyncWebResource
@@ -368,7 +381,7 @@ def utility(self) -> AsyncUtilityResource:
368381
@cached_property
369382
def monitors(self) -> AsyncMonitorsResource:
370383
"""
371-
Monitor pages, sitemaps, and extracted website data for exact or semantic changes. The change.detected webhook payload is documented by the MonitorsChangeDetectedWebhookPayload schema.
384+
Monitor pages, sitemaps, and extracted website data for exact or semantic changes. Webhook payloads are documented by the MonitorsChangeDetectedWebhookPayload and MonitorsRunCompletedWebhookPayload schemas.
372385
"""
373386
from .resources.monitors import AsyncMonitorsResource
374387

@@ -493,6 +506,12 @@ class ContextDevWithRawResponse:
493506
def __init__(self, client: ContextDev) -> None:
494507
self._client = client
495508

509+
@cached_property
510+
def parse(self) -> parse.ParseResourceWithRawResponse:
511+
from .resources.parse import ParseResourceWithRawResponse
512+
513+
return ParseResourceWithRawResponse(self._client.parse)
514+
496515
@cached_property
497516
def web(self) -> web.WebResourceWithRawResponse:
498517
from .resources.web import WebResourceWithRawResponse
@@ -526,7 +545,7 @@ def utility(self) -> utility.UtilityResourceWithRawResponse:
526545
@cached_property
527546
def monitors(self) -> monitors.MonitorsResourceWithRawResponse:
528547
"""
529-
Monitor pages, sitemaps, and extracted website data for exact or semantic changes. The change.detected webhook payload is documented by the MonitorsChangeDetectedWebhookPayload schema.
548+
Monitor pages, sitemaps, and extracted website data for exact or semantic changes. Webhook payloads are documented by the MonitorsChangeDetectedWebhookPayload and MonitorsRunCompletedWebhookPayload schemas.
530549
"""
531550
from .resources.monitors import MonitorsResourceWithRawResponse
532551

@@ -539,6 +558,12 @@ class AsyncContextDevWithRawResponse:
539558
def __init__(self, client: AsyncContextDev) -> None:
540559
self._client = client
541560

561+
@cached_property
562+
def parse(self) -> parse.AsyncParseResourceWithRawResponse:
563+
from .resources.parse import AsyncParseResourceWithRawResponse
564+
565+
return AsyncParseResourceWithRawResponse(self._client.parse)
566+
542567
@cached_property
543568
def web(self) -> web.AsyncWebResourceWithRawResponse:
544569
from .resources.web import AsyncWebResourceWithRawResponse
@@ -572,7 +597,7 @@ def utility(self) -> utility.AsyncUtilityResourceWithRawResponse:
572597
@cached_property
573598
def monitors(self) -> monitors.AsyncMonitorsResourceWithRawResponse:
574599
"""
575-
Monitor pages, sitemaps, and extracted website data for exact or semantic changes. The change.detected webhook payload is documented by the MonitorsChangeDetectedWebhookPayload schema.
600+
Monitor pages, sitemaps, and extracted website data for exact or semantic changes. Webhook payloads are documented by the MonitorsChangeDetectedWebhookPayload and MonitorsRunCompletedWebhookPayload schemas.
576601
"""
577602
from .resources.monitors import AsyncMonitorsResourceWithRawResponse
578603

@@ -585,6 +610,12 @@ class ContextDevWithStreamedResponse:
585610
def __init__(self, client: ContextDev) -> None:
586611
self._client = client
587612

613+
@cached_property
614+
def parse(self) -> parse.ParseResourceWithStreamingResponse:
615+
from .resources.parse import ParseResourceWithStreamingResponse
616+
617+
return ParseResourceWithStreamingResponse(self._client.parse)
618+
588619
@cached_property
589620
def web(self) -> web.WebResourceWithStreamingResponse:
590621
from .resources.web import WebResourceWithStreamingResponse
@@ -618,7 +649,7 @@ def utility(self) -> utility.UtilityResourceWithStreamingResponse:
618649
@cached_property
619650
def monitors(self) -> monitors.MonitorsResourceWithStreamingResponse:
620651
"""
621-
Monitor pages, sitemaps, and extracted website data for exact or semantic changes. The change.detected webhook payload is documented by the MonitorsChangeDetectedWebhookPayload schema.
652+
Monitor pages, sitemaps, and extracted website data for exact or semantic changes. Webhook payloads are documented by the MonitorsChangeDetectedWebhookPayload and MonitorsRunCompletedWebhookPayload schemas.
622653
"""
623654
from .resources.monitors import MonitorsResourceWithStreamingResponse
624655

@@ -631,6 +662,12 @@ class AsyncContextDevWithStreamedResponse:
631662
def __init__(self, client: AsyncContextDev) -> None:
632663
self._client = client
633664

665+
@cached_property
666+
def parse(self) -> parse.AsyncParseResourceWithStreamingResponse:
667+
from .resources.parse import AsyncParseResourceWithStreamingResponse
668+
669+
return AsyncParseResourceWithStreamingResponse(self._client.parse)
670+
634671
@cached_property
635672
def web(self) -> web.AsyncWebResourceWithStreamingResponse:
636673
from .resources.web import AsyncWebResourceWithStreamingResponse
@@ -664,7 +701,7 @@ def utility(self) -> utility.AsyncUtilityResourceWithStreamingResponse:
664701
@cached_property
665702
def monitors(self) -> monitors.AsyncMonitorsResourceWithStreamingResponse:
666703
"""
667-
Monitor pages, sitemaps, and extracted website data for exact or semantic changes. The change.detected webhook payload is documented by the MonitorsChangeDetectedWebhookPayload schema.
704+
Monitor pages, sitemaps, and extracted website data for exact or semantic changes. Webhook payloads are documented by the MonitorsChangeDetectedWebhookPayload and MonitorsRunCompletedWebhookPayload schemas.
668705
"""
669706
from .resources.monitors import AsyncMonitorsResourceWithStreamingResponse
670707

‎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__ = "2.2.0" # x-release-please-version
4+
__version__ = "2.3.0" # x-release-please-version

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

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,14 @@
2424
BrandResourceWithStreamingResponse,
2525
AsyncBrandResourceWithStreamingResponse,
2626
)
27+
from .parse import (
28+
ParseResource,
29+
AsyncParseResource,
30+
ParseResourceWithRawResponse,
31+
AsyncParseResourceWithRawResponse,
32+
ParseResourceWithStreamingResponse,
33+
AsyncParseResourceWithStreamingResponse,
34+
)
2735
from .utility import (
2836
UtilityResource,
2937
AsyncUtilityResource,
@@ -50,6 +58,12 @@
5058
)
5159

5260
__all__ = [
61+
"ParseResource",
62+
"AsyncParseResource",
63+
"ParseResourceWithRawResponse",
64+
"AsyncParseResourceWithRawResponse",
65+
"ParseResourceWithStreamingResponse",
66+
"AsyncParseResourceWithStreamingResponse",
5367
"WebResource",
5468
"AsyncWebResource",
5569
"WebResourceWithRawResponse",

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545

4646
class MonitorsResource(SyncAPIResource):
4747
"""
48-
Monitor pages, sitemaps, and extracted website data for exact or semantic changes. The change.detected webhook payload is documented by the MonitorsChangeDetectedWebhookPayload schema.
48+
Monitor pages, sitemaps, and extracted website data for exact or semantic changes. Webhook payloads are documented by the MonitorsChangeDetectedWebhookPayload and MonitorsRunCompletedWebhookPayload schemas.
4949
"""
5050

5151
@cached_property
@@ -622,7 +622,7 @@ def run(
622622

623623
class AsyncMonitorsResource(AsyncAPIResource):
624624
"""
625-
Monitor pages, sitemaps, and extracted website data for exact or semantic changes. The change.detected webhook payload is documented by the MonitorsChangeDetectedWebhookPayload schema.
625+
Monitor pages, sitemaps, and extracted website data for exact or semantic changes. Webhook payloads are documented by the MonitorsChangeDetectedWebhookPayload and MonitorsRunCompletedWebhookPayload schemas.
626626
"""
627627

628628
@cached_property

0 commit comments

Comments
 (0)