Skip to content

Commit 59cd4b6

Browse files
feat(api): api update
1 parent eef4bdd commit 59cd4b6

File tree

6 files changed

+2
-20
lines changed

6 files changed

+2
-20
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: 15
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/supermemory--inc%2Fsupermemory-new-f259b18e66afb10f009640c303c9a2b829114ac52f968780c24a99655405d5f0.yml
3-
openapi_spec_hash: a65d5f45b4d666a1caf6a22525690c8c
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/supermemory--inc%2Fsupermemory-new-1a2a84a9cc99c25a9d726bc9300a72871f9469e3ceacebd5e71fd37e87891318.yml
3+
openapi_spec_hash: e71e86a645bc47a86664080c8697b8db
44
config_hash: 98555becb03f89d0fcf2e35a0fa6a41b

src/supermemory_new/resources/settings.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ def update(
4949
*,
5050
exclude_items: Union[str, float, bool, Dict[str, object], Iterable[object], None] | NotGiven = NOT_GIVEN,
5151
filter_prompt: Optional[str] | NotGiven = NOT_GIVEN,
52-
filter_tags: Union[str, float, bool, Dict[str, object], Iterable[object], None] | NotGiven = NOT_GIVEN,
5352
google_drive_client_id: Optional[str] | NotGiven = NOT_GIVEN,
5453
google_drive_client_secret: Optional[str] | NotGiven = NOT_GIVEN,
5554
google_drive_custom_key_enabled: Optional[bool] | NotGiven = NOT_GIVEN,
@@ -86,7 +85,6 @@ def update(
8685
{
8786
"exclude_items": exclude_items,
8887
"filter_prompt": filter_prompt,
89-
"filter_tags": filter_tags,
9088
"google_drive_client_id": google_drive_client_id,
9189
"google_drive_client_secret": google_drive_client_secret,
9290
"google_drive_custom_key_enabled": google_drive_custom_key_enabled,
@@ -152,7 +150,6 @@ async def update(
152150
*,
153151
exclude_items: Union[str, float, bool, Dict[str, object], Iterable[object], None] | NotGiven = NOT_GIVEN,
154152
filter_prompt: Optional[str] | NotGiven = NOT_GIVEN,
155-
filter_tags: Union[str, float, bool, Dict[str, object], Iterable[object], None] | NotGiven = NOT_GIVEN,
156153
google_drive_client_id: Optional[str] | NotGiven = NOT_GIVEN,
157154
google_drive_client_secret: Optional[str] | NotGiven = NOT_GIVEN,
158155
google_drive_custom_key_enabled: Optional[bool] | NotGiven = NOT_GIVEN,
@@ -189,7 +186,6 @@ async def update(
189186
{
190187
"exclude_items": exclude_items,
191188
"filter_prompt": filter_prompt,
192-
"filter_tags": filter_tags,
193189
"google_drive_client_id": google_drive_client_id,
194190
"google_drive_client_secret": google_drive_client_secret,
195191
"google_drive_custom_key_enabled": google_drive_custom_key_enabled,

src/supermemory_new/types/setting_get_response.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,6 @@ class SettingGetResponse(BaseModel):
1616

1717
filter_prompt: Optional[str] = FieldInfo(alias="filterPrompt", default=None)
1818

19-
filter_tags: Union[str, float, bool, Dict[str, object], List[object], None] = FieldInfo(
20-
alias="filterTags", default=None
21-
)
22-
2319
google_drive_client_id: Optional[str] = FieldInfo(alias="googleDriveClientId", default=None)
2420

2521
google_drive_client_secret: Optional[str] = FieldInfo(alias="googleDriveClientSecret", default=None)

src/supermemory_new/types/setting_update_params.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,6 @@ class SettingUpdateParams(TypedDict, total=False):
1717

1818
filter_prompt: Annotated[Optional[str], PropertyInfo(alias="filterPrompt")]
1919

20-
filter_tags: Annotated[
21-
Union[str, float, bool, Dict[str, object], Iterable[object], None], PropertyInfo(alias="filterTags")
22-
]
23-
2420
google_drive_client_id: Annotated[Optional[str], PropertyInfo(alias="googleDriveClientId")]
2521

2622
google_drive_client_secret: Annotated[Optional[str], PropertyInfo(alias="googleDriveClientSecret")]

src/supermemory_new/types/setting_update_response.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,6 @@ class Updated(BaseModel):
1616

1717
filter_prompt: Optional[str] = FieldInfo(alias="filterPrompt", default=None)
1818

19-
filter_tags: Union[str, float, bool, Dict[str, object], List[object], None] = FieldInfo(
20-
alias="filterTags", default=None
21-
)
22-
2319
google_drive_client_id: Optional[str] = FieldInfo(alias="googleDriveClientId", default=None)
2420

2521
google_drive_client_secret: Optional[str] = FieldInfo(alias="googleDriveClientSecret", default=None)

tests/api_resources/test_settings.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ def test_method_update_with_all_params(self, client: Supermemory) -> None:
2929
setting = client.settings.update(
3030
exclude_items="string",
3131
filter_prompt="filterPrompt",
32-
filter_tags="string",
3332
google_drive_client_id="googleDriveClientId",
3433
google_drive_client_secret="googleDriveClientSecret",
3534
google_drive_custom_key_enabled=True,
@@ -112,7 +111,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncSupermemor
112111
setting = await async_client.settings.update(
113112
exclude_items="string",
114113
filter_prompt="filterPrompt",
115-
filter_tags="string",
116114
google_drive_client_id="googleDriveClientId",
117115
google_drive_client_secret="googleDriveClientSecret",
118116
google_drive_custom_key_enabled=True,

0 commit comments

Comments
 (0)