Skip to content

Commit 656e585

Browse files
feat(api): api update
1 parent 3fc9944 commit 656e585

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

‎.stats.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 21
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev%2Fcontext.dev-955fa0d672331fb3f8b40547895bfdd1e490add254ca13db769289d3bef2ed44.yml
3-
openapi_spec_hash: 32eca3166fb8f369c9241faf4cee3077
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev%2Fcontext.dev-c023cdf4ae403e8c32724869eff157cb24d4436b7c048809571c41f08dd20e03.yml
3+
openapi_spec_hash: b92878e27bdb184e1506f4baf3280118
44
config_hash: 682b89b02a20f5d1c13e2c91ecbcf5ce

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ def web_scrape_html(
225225
226226
max_age_ms: Return a cached result if a prior scrape for the same parameters exists and is
227227
younger than this many milliseconds. Defaults to 1 day (86400000 ms) when
228-
omitted. Set to 0 to always scrape fresh.
228+
omitted. Max is 30 days (2592000000 ms). Set to 0 to always scrape fresh.
229229
230230
extra_headers: Send extra headers
231231
@@ -601,7 +601,7 @@ async def web_scrape_html(
601601
602602
max_age_ms: Return a cached result if a prior scrape for the same parameters exists and is
603603
younger than this many milliseconds. Defaults to 1 day (86400000 ms) when
604-
omitted. Set to 0 to always scrape fresh.
604+
omitted. Max is 30 days (2592000000 ms). Set to 0 to always scrape fresh.
605605
606606
extra_headers: Send extra headers
607607

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ class WebWebScrapeHTMLParams(TypedDict, total=False):
1717
"""
1818
Return a cached result if a prior scrape for the same parameters exists and is
1919
younger than this many milliseconds. Defaults to 1 day (86400000 ms) when
20-
omitted. Set to 0 to always scrape fresh.
20+
omitted. Max is 30 days (2592000000 ms). Set to 0 to always scrape fresh.
2121
"""

0 commit comments

Comments
 (0)