diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 2e4d290..b6ff6cd 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "3.60.0" + ".": "3.61.0" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index e383ff5..8976430 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 26 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/supermemory--inc/supermemory-new-d7845a9c7875d892f8d627e0ef60ac61fb28f2520de5eca2063818fd78af431b.yml -openapi_spec_hash: 1827547045c4ef804428e8feeb66e170 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/supermemory--inc/supermemory-new-45009925f4264a8da8b85b861fdd3652359a5242d90908196b716c0ca81be719.yml +openapi_spec_hash: fdfeb51f600c434336e6aa88aff345df config_hash: cde97ef3188581c5f4924c633ec33ddb diff --git a/CHANGELOG.md b/CHANGELOG.md index 906a744..1125657 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 3.61.0 (2026-09-05) + +Full Changelog: [v3.60.0...v3.61.0](https://github.com/supermemoryai/python-sdk/compare/v3.60.0...v3.61.0) + +### Features + +* **api:** api update ([7a4deed](https://github.com/supermemoryai/python-sdk/commit/7a4deedcb60a0f39ecf144a6ba16d540d1ddfb1f)) + ## 3.60.0 (2026-09-01) Full Changelog: [v3.59.0...v3.60.0](https://github.com/supermemoryai/python-sdk/compare/v3.59.0...v3.60.0) diff --git a/pyproject.toml b/pyproject.toml index 832cce3..067324f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "supermemory" -version = "3.60.0" +version = "3.61.0" description = "The official Python library for the supermemory API" dynamic = ["readme"] license = "Apache-2.0" diff --git a/src/supermemory/_version.py b/src/supermemory/_version.py index 39a3bb2..d446533 100644 --- a/src/supermemory/_version.py +++ b/src/supermemory/_version.py @@ -1,4 +1,4 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. __title__ = "supermemory" -__version__ = "3.60.0" # x-release-please-version +__version__ = "3.61.0" # x-release-please-version diff --git a/src/supermemory/resources/documents.py b/src/supermemory/resources/documents.py index 996021e..6e84b36 100644 --- a/src/supermemory/resources/documents.py +++ b/src/supermemory/resources/documents.py @@ -542,7 +542,7 @@ def list_processing( container_tags: str | Omit = omit, limit: Union[str, float] | Omit = omit, page: Union[str, float] | Omit = omit, - view: Literal["active", "all"] | Omit = omit, + view: Literal["active", "pending", "all"] | Omit = omit, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. extra_headers: Headers | None = None, @@ -553,7 +553,8 @@ def list_processing( """Get documents that are currently being processed. Default `view=active` is the - live in-flight queue. `view=all` also includes failed and stuck documents. + live in-flight queue. `view=pending` is every unfinished document with no time + cutoff. `view=all` also includes failed documents, paginated. Args: container_tags: Comma-separated container tags to filter by @@ -562,8 +563,9 @@ def list_processing( page: Page number to fetch. Used with `view=all`. - view: `active` returns in-flight documents updated in the last 4 hours. `all` also - includes failed and stuck documents. + view: `active` returns in-flight documents updated in the last 4 hours. `pending` + returns every document that is not done or failed, with no time cutoff. `all` + also includes failed documents, paginated. extra_headers: Send extra headers @@ -1209,7 +1211,7 @@ async def list_processing( container_tags: str | Omit = omit, limit: Union[str, float] | Omit = omit, page: Union[str, float] | Omit = omit, - view: Literal["active", "all"] | Omit = omit, + view: Literal["active", "pending", "all"] | Omit = omit, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. extra_headers: Headers | None = None, @@ -1220,7 +1222,8 @@ async def list_processing( """Get documents that are currently being processed. Default `view=active` is the - live in-flight queue. `view=all` also includes failed and stuck documents. + live in-flight queue. `view=pending` is every unfinished document with no time + cutoff. `view=all` also includes failed documents, paginated. Args: container_tags: Comma-separated container tags to filter by @@ -1229,8 +1232,9 @@ async def list_processing( page: Page number to fetch. Used with `view=all`. - view: `active` returns in-flight documents updated in the last 4 hours. `all` also - includes failed and stuck documents. + view: `active` returns in-flight documents updated in the last 4 hours. `pending` + returns every document that is not done or failed, with no time cutoff. `all` + also includes failed documents, paginated. extra_headers: Send extra headers diff --git a/src/supermemory/types/document_list_processing_params.py b/src/supermemory/types/document_list_processing_params.py index 95139a5..fec66a2 100644 --- a/src/supermemory/types/document_list_processing_params.py +++ b/src/supermemory/types/document_list_processing_params.py @@ -20,8 +20,9 @@ class DocumentListProcessingParams(TypedDict, total=False): page: Union[str, float] """Page number to fetch. Used with `view=all`.""" - view: Literal["active", "all"] + view: Literal["active", "pending", "all"] """`active` returns in-flight documents updated in the last 4 hours. - `all` also includes failed and stuck documents. + `pending` returns every document that is not done or failed, with no time + cutoff. `all` also includes failed documents, paginated. """