From 4736c1b8ae95d02b75e93f9209fa7746032eac1a Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 3 Jun 2026 04:27:12 +0000 Subject: [PATCH 1/2] feat(api): api update --- .stats.yml | 4 ++-- src/supermemory/resources/connections.py | 20 +++++++++---------- .../types/document_get_response.py | 1 + .../document_list_processing_response.py | 1 + .../types/document_list_response.py | 1 + 5 files changed, 15 insertions(+), 12 deletions(-) diff --git a/.stats.yml b/.stats.yml index 6e937e0..b9c2801 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-a02634cf1b1c465ad3c8505ea2402e2a2bef732858a9f4d2337aeea5a99c14bc.yml -openapi_spec_hash: f859a6666196eea26ea9e6078d218129 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/supermemory--inc/supermemory-new-00a4c56b1ae197e7ddbeae4fe05ae0864d282829f1f9ee8601f39ea3859969d3.yml +openapi_spec_hash: 27f6e2fad48855513fa4d8b18b25e249 config_hash: cde97ef3188581c5f4924c633ec33ddb diff --git a/src/supermemory/resources/connections.py b/src/supermemory/resources/connections.py index 56e25c8..c3910fb 100644 --- a/src/supermemory/resources/connections.py +++ b/src/supermemory/resources/connections.py @@ -66,7 +66,7 @@ def with_streaming_response(self) -> ConnectionsResourceWithStreamingResponse: def create( self, - provider: Literal["notion", "google-drive", "onedrive", "gmail", "github", "web-crawler", "s3"], + provider: Literal["notion", "google-drive", "onedrive", "gmail", "github", "web-crawler", "s3", "granola"], *, container_tag: str | Omit = omit, container_tags: SequenceNotStr[str] | Omit = omit, @@ -225,7 +225,7 @@ def delete_by_id( def delete_by_provider( self, - provider: Literal["notion", "google-drive", "onedrive", "gmail", "github", "web-crawler", "s3"], + provider: Literal["notion", "google-drive", "onedrive", "gmail", "github", "web-crawler", "s3", "granola"], *, container_tags: SequenceNotStr[str], # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. @@ -298,7 +298,7 @@ def get_by_id( def get_by_tag( self, - provider: Literal["notion", "google-drive", "onedrive", "gmail", "github", "web-crawler", "s3"], + provider: Literal["notion", "google-drive", "onedrive", "gmail", "github", "web-crawler", "s3", "granola"], *, container_tags: SequenceNotStr[str], # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. @@ -337,7 +337,7 @@ def get_by_tag( def import_( self, - provider: Literal["notion", "google-drive", "onedrive", "gmail", "github", "web-crawler", "s3"], + provider: Literal["notion", "google-drive", "onedrive", "gmail", "github", "web-crawler", "s3", "granola"], *, container_tags: SequenceNotStr[str] | Omit = omit, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. @@ -375,7 +375,7 @@ def import_( def list_documents( self, - provider: Literal["notion", "google-drive", "onedrive", "gmail", "github", "web-crawler", "s3"], + provider: Literal["notion", "google-drive", "onedrive", "gmail", "github", "web-crawler", "s3", "granola"], *, container_tags: SequenceNotStr[str] | Omit = omit, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. @@ -484,7 +484,7 @@ def with_streaming_response(self) -> AsyncConnectionsResourceWithStreamingRespon async def create( self, - provider: Literal["notion", "google-drive", "onedrive", "gmail", "github", "web-crawler", "s3"], + provider: Literal["notion", "google-drive", "onedrive", "gmail", "github", "web-crawler", "s3", "granola"], *, container_tag: str | Omit = omit, container_tags: SequenceNotStr[str] | Omit = omit, @@ -647,7 +647,7 @@ async def delete_by_id( async def delete_by_provider( self, - provider: Literal["notion", "google-drive", "onedrive", "gmail", "github", "web-crawler", "s3"], + provider: Literal["notion", "google-drive", "onedrive", "gmail", "github", "web-crawler", "s3", "granola"], *, container_tags: SequenceNotStr[str], # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. @@ -720,7 +720,7 @@ async def get_by_id( async def get_by_tag( self, - provider: Literal["notion", "google-drive", "onedrive", "gmail", "github", "web-crawler", "s3"], + provider: Literal["notion", "google-drive", "onedrive", "gmail", "github", "web-crawler", "s3", "granola"], *, container_tags: SequenceNotStr[str], # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. @@ -759,7 +759,7 @@ async def get_by_tag( async def import_( self, - provider: Literal["notion", "google-drive", "onedrive", "gmail", "github", "web-crawler", "s3"], + provider: Literal["notion", "google-drive", "onedrive", "gmail", "github", "web-crawler", "s3", "granola"], *, container_tags: SequenceNotStr[str] | Omit = omit, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. @@ -799,7 +799,7 @@ async def import_( async def list_documents( self, - provider: Literal["notion", "google-drive", "onedrive", "gmail", "github", "web-crawler", "s3"], + provider: Literal["notion", "google-drive", "onedrive", "gmail", "github", "web-crawler", "s3", "granola"], *, container_tags: SequenceNotStr[str] | Omit = omit, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. diff --git a/src/supermemory/types/document_get_response.py b/src/supermemory/types/document_get_response.py index 309597a..d313ff3 100644 --- a/src/supermemory/types/document_get_response.py +++ b/src/supermemory/types/document_get_response.py @@ -94,6 +94,7 @@ class DocumentGetResponse(BaseModel): "webpage", "onedrive", "github_markdown", + "granola", ] """Type of the document""" diff --git a/src/supermemory/types/document_list_processing_response.py b/src/supermemory/types/document_list_processing_response.py index c29af8b..f505183 100644 --- a/src/supermemory/types/document_list_processing_response.py +++ b/src/supermemory/types/document_list_processing_response.py @@ -53,6 +53,7 @@ class Document(BaseModel): "webpage", "onedrive", "github_markdown", + "granola", ] """Type of the document""" diff --git a/src/supermemory/types/document_list_response.py b/src/supermemory/types/document_list_response.py index a032c19..3c9f780 100644 --- a/src/supermemory/types/document_list_response.py +++ b/src/supermemory/types/document_list_response.py @@ -64,6 +64,7 @@ class Memory(BaseModel): "webpage", "onedrive", "github_markdown", + "granola", ] """Type of the document""" From a0d0b3fceb271065f905fd507500e9a8c9db19fe Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 3 Jun 2026 04:27:35 +0000 Subject: [PATCH 2/2] release: 3.45.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 8 ++++++++ pyproject.toml | 2 +- src/supermemory/_version.py | 2 +- 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index e37fcbc..e37f9b0 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "3.44.0" + ".": "3.45.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 79d6482..28c9a74 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 3.45.0 (2026-06-03) + +Full Changelog: [v3.44.0...v3.45.0](https://github.com/supermemoryai/python-sdk/compare/v3.44.0...v3.45.0) + +### Features + +* **api:** api update ([4736c1b](https://github.com/supermemoryai/python-sdk/commit/4736c1b8ae95d02b75e93f9209fa7746032eac1a)) + ## 3.44.0 (2026-06-01) Full Changelog: [v3.43.0...v3.44.0](https://github.com/supermemoryai/python-sdk/compare/v3.43.0...v3.44.0) diff --git a/pyproject.toml b/pyproject.toml index 57c440e..a46a6b0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "supermemory" -version = "3.44.0" +version = "3.45.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 0a128c4..a71b091 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.44.0" # x-release-please-version +__version__ = "3.45.0" # x-release-please-version