Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "3.1.0"
".": "3.2.0"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 18
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/supermemory--inc%2Fsupermemory-new-b7bf8402df5372a3fac3cb55e083d7c09867328639cb7e2ceb7826de125ccff7.yml
openapi_spec_hash: a91c06034ad9e8a7315927d6f2e18521
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/supermemory--inc%2Fsupermemory-new-f35c8c3182ef17698350347936848877f3ed8a8af8fcfdc3471506309ff0b9ce.yml
openapi_spec_hash: f58c1f9350390517a31e0f241245adc3
config_hash: 5deef1e3a49e3a7816348fbf7ba259bf
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 3.2.0 (2025-09-21)

Full Changelog: [v3.1.0...v3.2.0](https://github.com/supermemoryai/python-sdk/compare/v3.1.0...v3.2.0)

### Features

* **api:** api update ([82b35f0](https://github.com/supermemoryai/python-sdk/commit/82b35f0447a67d089304d57f41d1d1527f6da7fb))

## 3.1.0 (2025-09-20)

Full Changelog: [v3.0.0-alpha.30...v3.1.0](https://github.com/supermemoryai/python-sdk/compare/v3.0.0-alpha.30...v3.1.0)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "supermemory"
version = "3.1.0"
version = "3.2.0"
description = "The official Python library for the supermemory API"
dynamic = ["readme"]
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion src/supermemory/_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

__title__ = "supermemory"
__version__ = "3.1.0" # x-release-please-version
__version__ = "3.2.0" # x-release-please-version
4 changes: 4 additions & 0 deletions src/supermemory/resources/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ def with_streaming_response(self) -> SettingsResourceWithStreamingResponse:
def update(
self,
*,
chunk_size: Optional[int] | Omit = omit,
exclude_items: Union[str, float, bool, Dict[str, object], Iterable[object], None] | Omit = omit,
filter_prompt: Optional[str] | Omit = omit,
google_drive_client_id: Optional[str] | Omit = omit,
Expand Down Expand Up @@ -83,6 +84,7 @@ def update(
"/v3/settings",
body=maybe_transform(
{
"chunk_size": chunk_size,
"exclude_items": exclude_items,
"filter_prompt": filter_prompt,
"google_drive_client_id": google_drive_client_id,
Expand Down Expand Up @@ -148,6 +150,7 @@ def with_streaming_response(self) -> AsyncSettingsResourceWithStreamingResponse:
async def update(
self,
*,
chunk_size: Optional[int] | Omit = omit,
exclude_items: Union[str, float, bool, Dict[str, object], Iterable[object], None] | Omit = omit,
filter_prompt: Optional[str] | Omit = omit,
google_drive_client_id: Optional[str] | Omit = omit,
Expand Down Expand Up @@ -184,6 +187,7 @@ async def update(
"/v3/settings",
body=await async_maybe_transform(
{
"chunk_size": chunk_size,
"exclude_items": exclude_items,
"filter_prompt": filter_prompt,
"google_drive_client_id": google_drive_client_id,
Expand Down
2 changes: 2 additions & 0 deletions src/supermemory/types/setting_get_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@


class SettingGetResponse(BaseModel):
chunk_size: Optional[int] = FieldInfo(alias="chunkSize", default=None)

exclude_items: Union[str, float, bool, Dict[str, object], List[object], None] = FieldInfo(
alias="excludeItems", default=None
)
Expand Down
2 changes: 2 additions & 0 deletions src/supermemory/types/setting_update_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@


class SettingUpdateParams(TypedDict, total=False):
chunk_size: Annotated[Optional[int], PropertyInfo(alias="chunkSize")]

exclude_items: Annotated[
Union[str, float, bool, Dict[str, object], Iterable[object], None], PropertyInfo(alias="excludeItems")
]
Expand Down
2 changes: 2 additions & 0 deletions src/supermemory/types/setting_update_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@


class Updated(BaseModel):
chunk_size: Optional[int] = FieldInfo(alias="chunkSize", default=None)

exclude_items: Union[str, float, bool, Dict[str, object], List[object], None] = FieldInfo(
alias="excludeItems", default=None
)
Expand Down
2 changes: 2 additions & 0 deletions tests/api_resources/test_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ def test_method_update(self, client: Supermemory) -> None:
@parametrize
def test_method_update_with_all_params(self, client: Supermemory) -> None:
setting = client.settings.update(
chunk_size=-2147483648,
exclude_items="string",
filter_prompt="filterPrompt",
google_drive_client_id="googleDriveClientId",
Expand Down Expand Up @@ -109,6 +110,7 @@ async def test_method_update(self, async_client: AsyncSupermemory) -> None:
@parametrize
async def test_method_update_with_all_params(self, async_client: AsyncSupermemory) -> None:
setting = await async_client.settings.update(
chunk_size=-2147483648,
exclude_items="string",
filter_prompt="filterPrompt",
google_drive_client_id="googleDriveClientId",
Expand Down