Skip to content

Commit 8412e4d

Browse files
feat(api): api update
1 parent d2b96ed commit 8412e4d

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
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-de994787885a5ec28fb19f069715a257ea4e4f1bcff2b25c4b33e928779c6454.yml
3-
openapi_spec_hash: 7b831b4614b8d9b8caddcaa096bf3817
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/supermemory--inc%2Fsupermemory-new-a75aed7778611ef91eff34326795cda9db48400c6be805428b81aa0fcb9ab0dc.yml
3+
openapi_spec_hash: 5d82339bc5339752f83f6155ec39e7c8
44
config_hash: 9b9291a6c872b063900a46386729ba3c

src/supermemory/resources/memories.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def update(
5656
container_tags: List[str] | NotGiven = NOT_GIVEN,
5757
content: str | NotGiven = NOT_GIVEN,
5858
custom_id: str | NotGiven = NOT_GIVEN,
59-
metadata: Dict[str, Union[str, float, bool]] | NotGiven = NOT_GIVEN,
59+
metadata: Dict[str, Union[str, float, bool, List[str]]] | NotGiven = NOT_GIVEN,
6060
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
6161
# The extra values given here take precedence over values defined on the client or passed to this method.
6262
extra_headers: Headers | None = None,
@@ -227,7 +227,7 @@ def add(
227227
container_tags: List[str] | NotGiven = NOT_GIVEN,
228228
content: str | NotGiven = NOT_GIVEN,
229229
custom_id: str | NotGiven = NOT_GIVEN,
230-
metadata: Dict[str, Union[str, float, bool]] | NotGiven = NOT_GIVEN,
230+
metadata: Dict[str, Union[str, float, bool, List[str]]] | NotGiven = NOT_GIVEN,
231231
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
232232
# The extra values given here take precedence over values defined on the client or passed to this method.
233233
extra_headers: Headers | None = None,
@@ -397,7 +397,7 @@ async def update(
397397
container_tags: List[str] | NotGiven = NOT_GIVEN,
398398
content: str | NotGiven = NOT_GIVEN,
399399
custom_id: str | NotGiven = NOT_GIVEN,
400-
metadata: Dict[str, Union[str, float, bool]] | NotGiven = NOT_GIVEN,
400+
metadata: Dict[str, Union[str, float, bool, List[str]]] | NotGiven = NOT_GIVEN,
401401
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
402402
# The extra values given here take precedence over values defined on the client or passed to this method.
403403
extra_headers: Headers | None = None,
@@ -568,7 +568,7 @@ async def add(
568568
container_tags: List[str] | NotGiven = NOT_GIVEN,
569569
content: str | NotGiven = NOT_GIVEN,
570570
custom_id: str | NotGiven = NOT_GIVEN,
571-
metadata: Dict[str, Union[str, float, bool]] | NotGiven = NOT_GIVEN,
571+
metadata: Dict[str, Union[str, float, bool, List[str]]] | NotGiven = NOT_GIVEN,
572572
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
573573
# The extra values given here take precedence over values defined on the client or passed to this method.
574574
extra_headers: Headers | None = None,

src/supermemory/types/memory_add_params.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class MemoryAddParams(TypedDict, total=False):
4343
This could be an ID from your database that will uniquely identify this memory.
4444
"""
4545

46-
metadata: Dict[str, Union[str, float, bool]]
46+
metadata: Dict[str, Union[str, float, bool, List[str]]]
4747
"""Optional metadata for the memory.
4848
4949
This is used to store additional information about the memory. You can use this

src/supermemory/types/memory_update_params.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class MemoryUpdateParams(TypedDict, total=False):
4343
This could be an ID from your database that will uniquely identify this memory.
4444
"""
4545

46-
metadata: Dict[str, Union[str, float, bool]]
46+
metadata: Dict[str, Union[str, float, bool, List[str]]]
4747
"""Optional metadata for the memory.
4848
4949
This is used to store additional information about the memory. You can use this

0 commit comments

Comments
 (0)