Skip to content

Commit 3082481

Browse files
feat(api): api update
1 parent 8c480f7 commit 3082481

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 18
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/supermemory--inc%2Fsupermemory-new-f181eaeb22a42d197dbd9c45fa61bf9a9b78a91d3334fc0f841494dc73d1a203.yml
3-
openapi_spec_hash: bb8262ebcdea53979cf1cafbc2c68dc8
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/supermemory--inc%2Fsupermemory-new-5aeca69d1004a718af7a0d19bde90a4b8f2e8af4ac133e6a4caed202f57dce32.yml
3+
openapi_spec_hash: a590ba1fcf0a35c96ef800f933151c89
44
config_hash: 2737bce9823a13e0263c0fa2701821fa

src/supermemory/types/search_memories_params.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,13 @@ class FiltersUnionMember0(TypedDict, total=False):
6161
class Include(TypedDict, total=False):
6262
documents: bool
6363

64+
forgotten_memories: Annotated[bool, PropertyInfo(alias="forgottenMemories")]
65+
"""If true, include forgotten memories in search results.
66+
67+
Forgotten memories are memories that have been explicitly forgotten or have
68+
passed their expiration date.
69+
"""
70+
6471
related_memories: Annotated[bool, PropertyInfo(alias="relatedMemories")]
6572

6673
summaries: bool

tests/api_resources/test_search.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,7 @@ def test_method_memories_with_all_params(self, client: Supermemory) -> None:
194194
},
195195
include={
196196
"documents": True,
197+
"forgotten_memories": False,
197198
"related_memories": True,
198199
"summaries": True,
199200
},
@@ -409,6 +410,7 @@ async def test_method_memories_with_all_params(self, async_client: AsyncSupermem
409410
},
410411
include={
411412
"documents": True,
413+
"forgotten_memories": False,
412414
"related_memories": True,
413415
"summaries": True,
414416
},

0 commit comments

Comments
 (0)