From 0950bae08a126b09a2844839db673e99cfc13f75 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 16 Apr 2026 17:25:21 +0000 Subject: [PATCH 1/4] feat(api): api update --- .stats.yml | 4 +- src/supermemory/_client.py | 12 +++++- src/supermemory/resources/documents.py | 40 +++++++++++++++++++ src/supermemory/types/client_add_params.py | 8 +++- src/supermemory/types/document_add_params.py | 8 +++- .../types/document_batch_add_params.py | 14 ++++++- .../types/document_get_response.py | 6 +++ .../types/document_update_params.py | 8 +++- .../types/document_upload_file_params.py | 8 +++- tests/api_resources/test_client.py | 2 + tests/api_resources/test_documents.py | 10 +++++ 11 files changed, 112 insertions(+), 8 deletions(-) diff --git a/.stats.yml b/.stats.yml index b9789754..8e813d4e 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%2Fsupermemory-new-3d1ed08ae874eafef0c275748f38e21c1e6a245ecad05db24dee27f4166f18db.yml -openapi_spec_hash: fa7ccfe7d4574c280f3189d020401032 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/supermemory--inc%2Fsupermemory-new-10c98134d24013fd174c40fd595c7986b984cffa71cad4d3ef9fe199e7f565ab.yml +openapi_spec_hash: b5ee093b1cbbf9c32277d92c0222ff62 config_hash: f3eb5ca71172780678106f6d46f15dda diff --git a/src/supermemory/_client.py b/src/supermemory/_client.py index 67a574cb..4effcb84 100644 --- a/src/supermemory/_client.py +++ b/src/supermemory/_client.py @@ -4,7 +4,7 @@ import os from typing import TYPE_CHECKING, Any, Dict, Union, Mapping -from typing_extensions import Self, override +from typing_extensions import Self, Literal, override import httpx @@ -246,6 +246,7 @@ def add( custom_id: str | Omit = omit, entity_context: str | Omit = omit, metadata: Dict[str, Union[str, float, bool, SequenceNotStr[str]]] | Omit = omit, + task_type: Literal["memory", "superrag"] | 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, @@ -271,6 +272,9 @@ def add( metadata: Optional metadata for the document. + task_type: Task type: "memory" (default) for full context layer with SuperRAG built in, + "superrag" for managed RAG as a service. + extra_headers: Send extra headers extra_query: Add additional query parameters to the request @@ -289,6 +293,7 @@ def add( "custom_id": custom_id, "entity_context": entity_context, "metadata": metadata, + "task_type": task_type, }, client_add_params.ClientAddParams, ), @@ -562,6 +567,7 @@ async def add( custom_id: str | Omit = omit, entity_context: str | Omit = omit, metadata: Dict[str, Union[str, float, bool, SequenceNotStr[str]]] | Omit = omit, + task_type: Literal["memory", "superrag"] | 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, @@ -587,6 +593,9 @@ async def add( metadata: Optional metadata for the document. + task_type: Task type: "memory" (default) for full context layer with SuperRAG built in, + "superrag" for managed RAG as a service. + extra_headers: Send extra headers extra_query: Add additional query parameters to the request @@ -605,6 +614,7 @@ async def add( "custom_id": custom_id, "entity_context": entity_context, "metadata": metadata, + "task_type": task_type, }, client_add_params.ClientAddParams, ), diff --git a/src/supermemory/resources/documents.py b/src/supermemory/resources/documents.py index 44688ff9..22a23cf1 100644 --- a/src/supermemory/resources/documents.py +++ b/src/supermemory/resources/documents.py @@ -67,6 +67,7 @@ def update( content: str | Omit = omit, custom_id: str | Omit = omit, metadata: Dict[str, Union[str, float, bool, SequenceNotStr[str]]] | Omit = omit, + task_type: Literal["memory", "superrag"] | 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, @@ -104,6 +105,9 @@ def update( and are case sensitive. Values can be strings, numbers, or booleans. You cannot nest objects. + task_type: Task type: "memory" (default) for full context layer with SuperRAG built in, + "superrag" for managed RAG as a service. + extra_headers: Send extra headers extra_query: Add additional query parameters to the request @@ -123,6 +127,7 @@ def update( "content": content, "custom_id": custom_id, "metadata": metadata, + "task_type": task_type, }, document_update_params.DocumentUpdateParams, ), @@ -241,6 +246,7 @@ def add( custom_id: str | Omit = omit, entity_context: str | Omit = omit, metadata: Dict[str, Union[str, float, bool, SequenceNotStr[str]]] | Omit = omit, + task_type: Literal["memory", "superrag"] | 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, @@ -266,6 +272,9 @@ def add( metadata: Optional metadata for the document. + task_type: Task type: "memory" (default) for full context layer with SuperRAG built in, + "superrag" for managed RAG as a service. + extra_headers: Send extra headers extra_query: Add additional query parameters to the request @@ -284,6 +293,7 @@ def add( "custom_id": custom_id, "entity_context": entity_context, "metadata": metadata, + "task_type": task_type, }, document_add_params.DocumentAddParams, ), @@ -301,6 +311,7 @@ def batch_add( container_tags: SequenceNotStr[str] | Omit = omit, content: None | Omit = omit, metadata: Dict[str, Union[str, float, bool, SequenceNotStr[str]]] | Omit = omit, + task_type: Literal["memory", "superrag"] | 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, @@ -328,6 +339,9 @@ def batch_add( and are case sensitive. Values can be strings, numbers, or booleans. You cannot nest objects. + task_type: Task type: "memory" (default) for full context layer with SuperRAG built in, + "superrag" for managed RAG as a service. + extra_headers: Send extra headers extra_query: Add additional query parameters to the request @@ -345,6 +359,7 @@ def batch_add( "container_tags": container_tags, "content": content, "metadata": metadata, + "task_type": task_type, }, document_batch_add_params.DocumentBatchAddParams, ), @@ -458,6 +473,7 @@ def upload_file( file_type: str | Omit = omit, metadata: str | Omit = omit, mime_type: str | Omit = omit, + task_type: Literal["memory", "superrag"] | Omit = omit, use_advanced_processing: str | 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. @@ -490,6 +506,9 @@ def upload_file( mime_type: Required when fileType is 'image' or 'video'. Specifies the exact MIME type to use (e.g., 'image/png', 'image/jpeg', 'video/mp4', 'video/webm') + task_type: Task type: "memory" (default) for full context layer with SuperRAG built in, + "superrag" for managed RAG as a service. + use_advanced_processing: DEPRECATED: This field is no longer used. Advanced PDF processing is now automatic with our hybrid Mistral OCR + Gemini pipeline. This parameter will be accepted but ignored for backwards compatibility. @@ -510,6 +529,7 @@ def upload_file( "file_type": file_type, "metadata": metadata, "mime_type": mime_type, + "task_type": task_type, "use_advanced_processing": use_advanced_processing, } ) @@ -558,6 +578,7 @@ async def update( content: str | Omit = omit, custom_id: str | Omit = omit, metadata: Dict[str, Union[str, float, bool, SequenceNotStr[str]]] | Omit = omit, + task_type: Literal["memory", "superrag"] | 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, @@ -595,6 +616,9 @@ async def update( and are case sensitive. Values can be strings, numbers, or booleans. You cannot nest objects. + task_type: Task type: "memory" (default) for full context layer with SuperRAG built in, + "superrag" for managed RAG as a service. + extra_headers: Send extra headers extra_query: Add additional query parameters to the request @@ -614,6 +638,7 @@ async def update( "content": content, "custom_id": custom_id, "metadata": metadata, + "task_type": task_type, }, document_update_params.DocumentUpdateParams, ), @@ -732,6 +757,7 @@ async def add( custom_id: str | Omit = omit, entity_context: str | Omit = omit, metadata: Dict[str, Union[str, float, bool, SequenceNotStr[str]]] | Omit = omit, + task_type: Literal["memory", "superrag"] | 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, @@ -757,6 +783,9 @@ async def add( metadata: Optional metadata for the document. + task_type: Task type: "memory" (default) for full context layer with SuperRAG built in, + "superrag" for managed RAG as a service. + extra_headers: Send extra headers extra_query: Add additional query parameters to the request @@ -775,6 +804,7 @@ async def add( "custom_id": custom_id, "entity_context": entity_context, "metadata": metadata, + "task_type": task_type, }, document_add_params.DocumentAddParams, ), @@ -792,6 +822,7 @@ async def batch_add( container_tags: SequenceNotStr[str] | Omit = omit, content: None | Omit = omit, metadata: Dict[str, Union[str, float, bool, SequenceNotStr[str]]] | Omit = omit, + task_type: Literal["memory", "superrag"] | 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, @@ -819,6 +850,9 @@ async def batch_add( and are case sensitive. Values can be strings, numbers, or booleans. You cannot nest objects. + task_type: Task type: "memory" (default) for full context layer with SuperRAG built in, + "superrag" for managed RAG as a service. + extra_headers: Send extra headers extra_query: Add additional query parameters to the request @@ -836,6 +870,7 @@ async def batch_add( "container_tags": container_tags, "content": content, "metadata": metadata, + "task_type": task_type, }, document_batch_add_params.DocumentBatchAddParams, ), @@ -949,6 +984,7 @@ async def upload_file( file_type: str | Omit = omit, metadata: str | Omit = omit, mime_type: str | Omit = omit, + task_type: Literal["memory", "superrag"] | Omit = omit, use_advanced_processing: str | 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. @@ -981,6 +1017,9 @@ async def upload_file( mime_type: Required when fileType is 'image' or 'video'. Specifies the exact MIME type to use (e.g., 'image/png', 'image/jpeg', 'video/mp4', 'video/webm') + task_type: Task type: "memory" (default) for full context layer with SuperRAG built in, + "superrag" for managed RAG as a service. + use_advanced_processing: DEPRECATED: This field is no longer used. Advanced PDF processing is now automatic with our hybrid Mistral OCR + Gemini pipeline. This parameter will be accepted but ignored for backwards compatibility. @@ -1001,6 +1040,7 @@ async def upload_file( "file_type": file_type, "metadata": metadata, "mime_type": mime_type, + "task_type": task_type, "use_advanced_processing": use_advanced_processing, } ) diff --git a/src/supermemory/types/client_add_params.py b/src/supermemory/types/client_add_params.py index 77b21d6d..ff764f17 100644 --- a/src/supermemory/types/client_add_params.py +++ b/src/supermemory/types/client_add_params.py @@ -3,7 +3,7 @@ from __future__ import annotations from typing import Dict, Union -from typing_extensions import Required, Annotated, TypedDict +from typing_extensions import Literal, Required, Annotated, TypedDict from .._types import SequenceNotStr from .._utils import PropertyInfo @@ -40,3 +40,9 @@ class ClientAddParams(TypedDict, total=False): metadata: Dict[str, Union[str, float, bool, SequenceNotStr[str]]] """Optional metadata for the document.""" + + task_type: Annotated[Literal["memory", "superrag"], PropertyInfo(alias="taskType")] + """ + Task type: "memory" (default) for full context layer with SuperRAG built in, + "superrag" for managed RAG as a service. + """ diff --git a/src/supermemory/types/document_add_params.py b/src/supermemory/types/document_add_params.py index 71d9fbdb..fa12f338 100644 --- a/src/supermemory/types/document_add_params.py +++ b/src/supermemory/types/document_add_params.py @@ -3,7 +3,7 @@ from __future__ import annotations from typing import Dict, Union -from typing_extensions import Required, Annotated, TypedDict +from typing_extensions import Literal, Required, Annotated, TypedDict from .._types import SequenceNotStr from .._utils import PropertyInfo @@ -40,3 +40,9 @@ class DocumentAddParams(TypedDict, total=False): metadata: Dict[str, Union[str, float, bool, SequenceNotStr[str]]] """Optional metadata for the document.""" + + task_type: Annotated[Literal["memory", "superrag"], PropertyInfo(alias="taskType")] + """ + Task type: "memory" (default) for full context layer with SuperRAG built in, + "superrag" for managed RAG as a service. + """ diff --git a/src/supermemory/types/document_batch_add_params.py b/src/supermemory/types/document_batch_add_params.py index 4a35fe85..cc132e46 100644 --- a/src/supermemory/types/document_batch_add_params.py +++ b/src/supermemory/types/document_batch_add_params.py @@ -3,7 +3,7 @@ from __future__ import annotations from typing import Dict, Union, Iterable -from typing_extensions import Required, Annotated, TypedDict +from typing_extensions import Literal, Required, Annotated, TypedDict from .._types import SequenceNotStr from .._utils import PropertyInfo @@ -39,6 +39,12 @@ class DocumentBatchAddParams(TypedDict, total=False): be strings, numbers, or booleans. You cannot nest objects. """ + task_type: Annotated[Literal["memory", "superrag"], PropertyInfo(alias="taskType")] + """ + Task type: "memory" (default) for full context layer with SuperRAG built in, + "superrag" for managed RAG as a service. + """ + class DocumentsUnionMember0(TypedDict, total=False): content: Required[str] @@ -82,3 +88,9 @@ class DocumentsUnionMember0(TypedDict, total=False): can be filtered through. Keys must be strings and are case sensitive. Values can be strings, numbers, or booleans. You cannot nest objects. """ + + task_type: Annotated[Literal["memory", "superrag"], PropertyInfo(alias="taskType")] + """ + Task type: "memory" (default) for full context layer with SuperRAG built in, + "superrag" for managed RAG as a service. + """ diff --git a/src/supermemory/types/document_get_response.py b/src/supermemory/types/document_get_response.py index 5bba5490..4f07afc1 100644 --- a/src/supermemory/types/document_get_response.py +++ b/src/supermemory/types/document_get_response.py @@ -69,6 +69,12 @@ class DocumentGetResponse(BaseModel): summary: Optional[str] = None """Summary of the document content""" + task_type: Literal["memory", "superrag"] = FieldInfo(alias="taskType") + """ + Task type: "memory" (default) for full context layer with SuperRAG built in, + "superrag" for managed RAG as a service. + """ + title: Optional[str] = None """Title of the document""" diff --git a/src/supermemory/types/document_update_params.py b/src/supermemory/types/document_update_params.py index 1727666c..ade57db4 100644 --- a/src/supermemory/types/document_update_params.py +++ b/src/supermemory/types/document_update_params.py @@ -3,7 +3,7 @@ from __future__ import annotations from typing import Dict, Union -from typing_extensions import Annotated, TypedDict +from typing_extensions import Literal, Annotated, TypedDict from .._types import SequenceNotStr from .._utils import PropertyInfo @@ -53,3 +53,9 @@ class DocumentUpdateParams(TypedDict, total=False): can be filtered through. Keys must be strings and are case sensitive. Values can be strings, numbers, or booleans. You cannot nest objects. """ + + task_type: Annotated[Literal["memory", "superrag"], PropertyInfo(alias="taskType")] + """ + Task type: "memory" (default) for full context layer with SuperRAG built in, + "superrag" for managed RAG as a service. + """ diff --git a/src/supermemory/types/document_upload_file_params.py b/src/supermemory/types/document_upload_file_params.py index f7c9526a..3c11e02e 100644 --- a/src/supermemory/types/document_upload_file_params.py +++ b/src/supermemory/types/document_upload_file_params.py @@ -2,7 +2,7 @@ from __future__ import annotations -from typing_extensions import Required, Annotated, TypedDict +from typing_extensions import Literal, Required, Annotated, TypedDict from .._types import FileTypes from .._utils import PropertyInfo @@ -46,6 +46,12 @@ class DocumentUploadFileParams(TypedDict, total=False): 'video/mp4', 'video/webm') """ + task_type: Annotated[Literal["memory", "superrag"], PropertyInfo(alias="taskType")] + """ + Task type: "memory" (default) for full context layer with SuperRAG built in, + "superrag" for managed RAG as a service. + """ + use_advanced_processing: Annotated[str, PropertyInfo(alias="useAdvancedProcessing")] """DEPRECATED: This field is no longer used. diff --git a/tests/api_resources/test_client.py b/tests/api_resources/test_client.py index 9d5c3a63..79ae807b 100644 --- a/tests/api_resources/test_client.py +++ b/tests/api_resources/test_client.py @@ -35,6 +35,7 @@ def test_method_add_with_all_params(self, client: Supermemory) -> None: custom_id="customId", entity_context="entityContext", metadata={"foo": "string"}, + task_type="memory", ) assert_matches_type(AddResponse, client_, path=["response"]) @@ -144,6 +145,7 @@ async def test_method_add_with_all_params(self, async_client: AsyncSupermemory) custom_id="customId", entity_context="entityContext", metadata={"foo": "string"}, + task_type="memory", ) assert_matches_type(AddResponse, client, path=["response"]) diff --git a/tests/api_resources/test_documents.py b/tests/api_resources/test_documents.py index 75b82b80..7a86ae7e 100644 --- a/tests/api_resources/test_documents.py +++ b/tests/api_resources/test_documents.py @@ -51,6 +51,7 @@ def test_method_update_with_all_params(self, client: Supermemory) -> None: "tag_1": "ai", "tag_2": "machine-learning", }, + task_type="memory", ) assert_matches_type(DocumentUpdateResponse, document, path=["response"]) @@ -209,6 +210,7 @@ def test_method_add_with_all_params(self, client: Supermemory) -> None: custom_id="customId", entity_context="entityContext", metadata={"foo": "string"}, + task_type="memory", ) assert_matches_type(DocumentAddResponse, document, path=["response"]) @@ -264,6 +266,7 @@ def test_method_batch_add_with_all_params(self, client: Supermemory) -> None: "tag_1": "ai", "tag_2": "machine-learning", }, + "task_type": "memory", } ], container_tag="user_123", @@ -277,6 +280,7 @@ def test_method_batch_add_with_all_params(self, client: Supermemory) -> None: "tag_1": "ai", "tag_2": "machine-learning", }, + task_type="memory", ) assert_matches_type(DocumentBatchAddResponse, document, path=["response"]) @@ -431,6 +435,7 @@ def test_method_upload_file_with_all_params(self, client: Supermemory) -> None: file_type="image", metadata='{"category": "technology", "isPublic": true, "readingTime": 5}', mime_type="mimeType", + task_type="memory", use_advanced_processing="true", ) assert_matches_type(DocumentUploadFileResponse, document, path=["response"]) @@ -492,6 +497,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncSupermemor "tag_1": "ai", "tag_2": "machine-learning", }, + task_type="memory", ) assert_matches_type(DocumentUpdateResponse, document, path=["response"]) @@ -650,6 +656,7 @@ async def test_method_add_with_all_params(self, async_client: AsyncSupermemory) custom_id="customId", entity_context="entityContext", metadata={"foo": "string"}, + task_type="memory", ) assert_matches_type(DocumentAddResponse, document, path=["response"]) @@ -705,6 +712,7 @@ async def test_method_batch_add_with_all_params(self, async_client: AsyncSuperme "tag_1": "ai", "tag_2": "machine-learning", }, + "task_type": "memory", } ], container_tag="user_123", @@ -718,6 +726,7 @@ async def test_method_batch_add_with_all_params(self, async_client: AsyncSuperme "tag_1": "ai", "tag_2": "machine-learning", }, + task_type="memory", ) assert_matches_type(DocumentBatchAddResponse, document, path=["response"]) @@ -872,6 +881,7 @@ async def test_method_upload_file_with_all_params(self, async_client: AsyncSuper file_type="image", metadata='{"category": "technology", "isPublic": true, "readingTime": 5}', mime_type="mimeType", + task_type="memory", use_advanced_processing="true", ) assert_matches_type(DocumentUploadFileResponse, document, path=["response"]) From ab60a7657699fc974c8648adcb74a0dba9a4fe5b Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 16 Apr 2026 19:25:21 +0000 Subject: [PATCH 2/4] feat(api): api update --- .stats.yml | 4 ++-- src/supermemory/resources/connections.py | 4 ++++ src/supermemory/types/connection_resources_params.py | 2 ++ tests/api_resources/test_connections.py | 2 ++ 4 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 8e813d4e..06c3a5ec 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%2Fsupermemory-new-10c98134d24013fd174c40fd595c7986b984cffa71cad4d3ef9fe199e7f565ab.yml -openapi_spec_hash: b5ee093b1cbbf9c32277d92c0222ff62 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/supermemory--inc%2Fsupermemory-new-5d883c307659b317ca9a27ffd4e98855210c7030167bc79f4727412266c8e53b.yml +openapi_spec_hash: 4e5b35c97838082939b19a24d9472ffd config_hash: f3eb5ca71172780678106f6d46f15dda diff --git a/src/supermemory/resources/connections.py b/src/supermemory/resources/connections.py index 6ebc71a2..56e25c88 100644 --- a/src/supermemory/resources/connections.py +++ b/src/supermemory/resources/connections.py @@ -417,6 +417,7 @@ def resources( connection_id: str, *, page: float | Omit = omit, + parent_id: str | Omit = omit, per_page: float | 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. @@ -449,6 +450,7 @@ def resources( query=maybe_transform( { "page": page, + "parent_id": parent_id, "per_page": per_page, }, connection_resources_params.ConnectionResourcesParams, @@ -839,6 +841,7 @@ async def resources( connection_id: str, *, page: float | Omit = omit, + parent_id: str | Omit = omit, per_page: float | 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. @@ -871,6 +874,7 @@ async def resources( query=await async_maybe_transform( { "page": page, + "parent_id": parent_id, "per_page": per_page, }, connection_resources_params.ConnectionResourcesParams, diff --git a/src/supermemory/types/connection_resources_params.py b/src/supermemory/types/connection_resources_params.py index 97ba168a..ff39796d 100644 --- a/src/supermemory/types/connection_resources_params.py +++ b/src/supermemory/types/connection_resources_params.py @@ -10,4 +10,6 @@ class ConnectionResourcesParams(TypedDict, total=False): page: float + parent_id: str + per_page: float diff --git a/tests/api_resources/test_connections.py b/tests/api_resources/test_connections.py index 8a1ba03a..3eb33fcb 100644 --- a/tests/api_resources/test_connections.py +++ b/tests/api_resources/test_connections.py @@ -423,6 +423,7 @@ def test_method_resources_with_all_params(self, client: Supermemory) -> None: connection = client.connections.resources( connection_id="connectionId", page=0, + parent_id="parent_id", per_page=0, ) assert_matches_type(ConnectionResourcesResponse, connection, path=["response"]) @@ -863,6 +864,7 @@ async def test_method_resources_with_all_params(self, async_client: AsyncSuperme connection = await async_client.connections.resources( connection_id="connectionId", page=0, + parent_id="parent_id", per_page=0, ) assert_matches_type(ConnectionResourcesResponse, connection, path=["response"]) From aa83e3b17bf8d1508647e7d8b798e03624a6daaa Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 17 Apr 2026 01:15:35 +0000 Subject: [PATCH 3/4] codegen metadata --- .stats.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.stats.yml b/.stats.yml index 06c3a5ec..96d8c061 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%2Fsupermemory-new-5d883c307659b317ca9a27ffd4e98855210c7030167bc79f4727412266c8e53b.yml openapi_spec_hash: 4e5b35c97838082939b19a24d9472ffd -config_hash: f3eb5ca71172780678106f6d46f15dda +config_hash: cde97ef3188581c5f4924c633ec33ddb From 453011549257f016d54b1601b9f7c2ef3894530b Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 17 Apr 2026 01:15:52 +0000 Subject: [PATCH 4/4] release: 3.34.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 9 +++++++++ pyproject.toml | 2 +- src/supermemory/_version.py | 2 +- 4 files changed, 12 insertions(+), 3 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index b7ab6b59..3b93d2a9 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "3.33.1" + ".": "3.34.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index e64a56d2..65a87963 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,14 @@ # Changelog +## 3.34.0 (2026-04-17) + +Full Changelog: [v3.33.1...v3.34.0](https://github.com/supermemoryai/python-sdk/compare/v3.33.1...v3.34.0) + +### Features + +* **api:** api update ([ab60a76](https://github.com/supermemoryai/python-sdk/commit/ab60a7657699fc974c8648adcb74a0dba9a4fe5b)) +* **api:** api update ([0950bae](https://github.com/supermemoryai/python-sdk/commit/0950bae08a126b09a2844839db673e99cfc13f75)) + ## 3.33.1 (2026-04-11) Full Changelog: [v3.33.0...v3.33.1](https://github.com/supermemoryai/python-sdk/compare/v3.33.0...v3.33.1) diff --git a/pyproject.toml b/pyproject.toml index 5959589b..8e5b0064 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "supermemory" -version = "3.33.1" +version = "3.34.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 d3646482..b36d0d79 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.33.1" # x-release-please-version +__version__ = "3.34.0" # x-release-please-version