supermemory 3.0.0a20__tar.gz → 3.0.0a21__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of supermemory might be problematic. Click here for more details.

Files changed (98) hide show
  1. supermemory-3.0.0a21/.release-please-manifest.json +3 -0
  2. supermemory-3.0.0a21/CHANGELOG.md +43 -0
  3. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/PKG-INFO +1 -1
  4. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/api.md +2 -0
  5. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/pyproject.toml +1 -1
  6. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/src/supermemory_new/_version.py +1 -1
  7. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/src/supermemory_new/resources/connections.py +79 -0
  8. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/src/supermemory_new/resources/settings.py +0 -4
  9. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/src/supermemory_new/types/__init__.py +1 -0
  10. supermemory-3.0.0a21/src/supermemory_new/types/connection_delete_by_id_response.py +11 -0
  11. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/src/supermemory_new/types/setting_get_response.py +0 -4
  12. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/src/supermemory_new/types/setting_update_params.py +0 -4
  13. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/src/supermemory_new/types/setting_update_response.py +0 -4
  14. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/tests/api_resources/test_connections.py +85 -0
  15. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/tests/api_resources/test_settings.py +0 -2
  16. supermemory-3.0.0a20/.release-please-manifest.json +0 -3
  17. supermemory-3.0.0a20/CHANGELOG.md +0 -21
  18. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/.gitignore +0 -0
  19. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/CONTRIBUTING.md +0 -0
  20. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/LICENSE +0 -0
  21. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/README.md +0 -0
  22. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/SECURITY.md +0 -0
  23. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/bin/check-release-environment +0 -0
  24. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/bin/publish-pypi +0 -0
  25. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/examples/.keep +0 -0
  26. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/mypy.ini +0 -0
  27. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/noxfile.py +0 -0
  28. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/release-please-config.json +0 -0
  29. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/requirements-dev.lock +0 -0
  30. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/requirements.lock +0 -0
  31. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/src/supermemory_new/__init__.py +0 -0
  32. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/src/supermemory_new/_base_client.py +0 -0
  33. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/src/supermemory_new/_client.py +0 -0
  34. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/src/supermemory_new/_compat.py +0 -0
  35. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/src/supermemory_new/_constants.py +0 -0
  36. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/src/supermemory_new/_exceptions.py +0 -0
  37. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/src/supermemory_new/_files.py +0 -0
  38. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/src/supermemory_new/_models.py +0 -0
  39. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/src/supermemory_new/_qs.py +0 -0
  40. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/src/supermemory_new/_resource.py +0 -0
  41. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/src/supermemory_new/_response.py +0 -0
  42. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/src/supermemory_new/_streaming.py +0 -0
  43. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/src/supermemory_new/_types.py +0 -0
  44. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/src/supermemory_new/_utils/__init__.py +0 -0
  45. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/src/supermemory_new/_utils/_logs.py +0 -0
  46. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/src/supermemory_new/_utils/_proxy.py +0 -0
  47. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/src/supermemory_new/_utils/_reflection.py +0 -0
  48. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/src/supermemory_new/_utils/_resources_proxy.py +0 -0
  49. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/src/supermemory_new/_utils/_streams.py +0 -0
  50. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/src/supermemory_new/_utils/_sync.py +0 -0
  51. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/src/supermemory_new/_utils/_transform.py +0 -0
  52. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/src/supermemory_new/_utils/_typing.py +0 -0
  53. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/src/supermemory_new/_utils/_utils.py +0 -0
  54. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/src/supermemory_new/lib/.keep +0 -0
  55. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/src/supermemory_new/py.typed +0 -0
  56. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/src/supermemory_new/resources/__init__.py +0 -0
  57. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/src/supermemory_new/resources/memories.py +0 -0
  58. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/src/supermemory_new/resources/search.py +0 -0
  59. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/src/supermemory_new/types/connection_create_params.py +0 -0
  60. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/src/supermemory_new/types/connection_create_response.py +0 -0
  61. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/src/supermemory_new/types/connection_delete_by_provider_params.py +0 -0
  62. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/src/supermemory_new/types/connection_delete_by_provider_response.py +0 -0
  63. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/src/supermemory_new/types/connection_get_by_id_response.py +0 -0
  64. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/src/supermemory_new/types/connection_get_by_tags_params.py +0 -0
  65. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/src/supermemory_new/types/connection_get_by_tags_response.py +0 -0
  66. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/src/supermemory_new/types/connection_import_params.py +0 -0
  67. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/src/supermemory_new/types/connection_list_documents_params.py +0 -0
  68. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/src/supermemory_new/types/connection_list_documents_response.py +0 -0
  69. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/src/supermemory_new/types/connection_list_params.py +0 -0
  70. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/src/supermemory_new/types/connection_list_response.py +0 -0
  71. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/src/supermemory_new/types/memory_add_params.py +0 -0
  72. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/src/supermemory_new/types/memory_add_response.py +0 -0
  73. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/src/supermemory_new/types/memory_get_response.py +0 -0
  74. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/src/supermemory_new/types/memory_list_params.py +0 -0
  75. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/src/supermemory_new/types/memory_list_response.py +0 -0
  76. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/src/supermemory_new/types/memory_update_params.py +0 -0
  77. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/src/supermemory_new/types/memory_update_response.py +0 -0
  78. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/src/supermemory_new/types/search_execute_params.py +0 -0
  79. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/src/supermemory_new/types/search_execute_response.py +0 -0
  80. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/tests/__init__.py +0 -0
  81. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/tests/api_resources/__init__.py +0 -0
  82. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/tests/api_resources/test_memories.py +0 -0
  83. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/tests/api_resources/test_search.py +0 -0
  84. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/tests/conftest.py +0 -0
  85. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/tests/sample_file.txt +0 -0
  86. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/tests/test_client.py +0 -0
  87. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/tests/test_deepcopy.py +0 -0
  88. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/tests/test_extract_files.py +0 -0
  89. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/tests/test_files.py +0 -0
  90. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/tests/test_models.py +0 -0
  91. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/tests/test_qs.py +0 -0
  92. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/tests/test_required_args.py +0 -0
  93. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/tests/test_response.py +0 -0
  94. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/tests/test_streaming.py +0 -0
  95. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/tests/test_transform.py +0 -0
  96. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/tests/test_utils/test_proxy.py +0 -0
  97. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/tests/test_utils/test_typing.py +0 -0
  98. {supermemory-3.0.0a20 → supermemory-3.0.0a21}/tests/utils.py +0 -0
@@ -0,0 +1,3 @@
1
+ {
2
+ ".": "3.0.0-alpha.21"
3
+ }
@@ -0,0 +1,43 @@
1
+ # Changelog
2
+
3
+ ## 3.0.0-alpha.21 (2025-07-03)
4
+
5
+ Full Changelog: [v3.0.0-alpha.20...v3.0.0-alpha.21](https://github.com/supermemoryai/python-sdk/compare/v3.0.0-alpha.20...v3.0.0-alpha.21)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([8b94b9e](https://github.com/supermemoryai/python-sdk/commit/8b94b9e043564f8daf605289683270dba97ca323))
10
+ * **api:** api update ([7b7eda7](https://github.com/supermemoryai/python-sdk/commit/7b7eda703a9d3dcf9b235a5045829c69147240c6))
11
+ * **api:** manual updates ([e7bfa6e](https://github.com/supermemoryai/python-sdk/commit/e7bfa6ef5804b758d3da98206ee643f9ae44ce0a))
12
+
13
+
14
+ ### Bug Fixes
15
+
16
+ * **ci:** correct conditional ([0b20719](https://github.com/supermemoryai/python-sdk/commit/0b20719ce022a872dd7334587317235b7a5562c3))
17
+
18
+
19
+ ### Chores
20
+
21
+ * **ci:** change upload type ([38f5701](https://github.com/supermemoryai/python-sdk/commit/38f5701dff0cc09b4a42d1c86e6250ed4695783d))
22
+ * **ci:** only run for pushes and fork pull requests ([901a43c](https://github.com/supermemoryai/python-sdk/commit/901a43c0c06fb8ed2ee2cfc3c56d44002b108a06))
23
+ * **internal:** codegen related update ([9c82bc7](https://github.com/supermemoryai/python-sdk/commit/9c82bc7c2fff3e85ec8a8d3278b04741bedaf7d3))
24
+
25
+ ## 3.0.0-alpha.20 (2025-06-27)
26
+
27
+ Full Changelog: [v3.0.0-alpha.19...v3.0.0-alpha.20](https://github.com/supermemoryai/python-sdk/compare/v3.0.0-alpha.19...v3.0.0-alpha.20)
28
+
29
+ ### Features
30
+
31
+ * **api:** api update ([3c35763](https://github.com/supermemoryai/python-sdk/commit/3c357637aab2e68e3a80e33b9f721c3a8182483a))
32
+ * **api:** api update ([08ffef9](https://github.com/supermemoryai/python-sdk/commit/08ffef95b8f7be8ce8a57ba2fe2761653cd42e5d))
33
+
34
+
35
+ ### Bug Fixes
36
+
37
+ * **ci:** release-doctor — report correct token name ([dadfa9f](https://github.com/supermemoryai/python-sdk/commit/dadfa9f74851fc81e5af92e47c41115bee87aad7))
38
+
39
+
40
+ ### Chores
41
+
42
+ * sync repo ([380252a](https://github.com/supermemoryai/python-sdk/commit/380252a9cb2d9c723b5c6b36a33573c462e48049))
43
+ * update SDK settings ([8c6f297](https://github.com/supermemoryai/python-sdk/commit/8c6f297fc2b8f7a6b600205a5c313767a99612cb))
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: supermemory
3
- Version: 3.0.0a20
3
+ Version: 3.0.0a21
4
4
  Summary: The official Python library for the supermemory API
5
5
  Project-URL: Homepage, https://github.com/supermemoryai/python-sdk
6
6
  Project-URL: Repository, https://github.com/supermemoryai/python-sdk
@@ -52,6 +52,7 @@ Types:
52
52
  from supermemory_new.types import (
53
53
  ConnectionCreateResponse,
54
54
  ConnectionListResponse,
55
+ ConnectionDeleteByIDResponse,
55
56
  ConnectionDeleteByProviderResponse,
56
57
  ConnectionGetByIDResponse,
57
58
  ConnectionGetByTagsResponse,
@@ -63,6 +64,7 @@ Methods:
63
64
 
64
65
  - <code title="post /v3/connections/{provider}">client.connections.<a href="./src/supermemory_new/resources/connections.py">create</a>(provider, \*\*<a href="src/supermemory_new/types/connection_create_params.py">params</a>) -> <a href="./src/supermemory_new/types/connection_create_response.py">ConnectionCreateResponse</a></code>
65
66
  - <code title="post /v3/connections/list">client.connections.<a href="./src/supermemory_new/resources/connections.py">list</a>(\*\*<a href="src/supermemory_new/types/connection_list_params.py">params</a>) -> <a href="./src/supermemory_new/types/connection_list_response.py">ConnectionListResponse</a></code>
67
+ - <code title="delete /v3/connections/{connectionId}">client.connections.<a href="./src/supermemory_new/resources/connections.py">delete_by_id</a>(connection_id) -> <a href="./src/supermemory_new/types/connection_delete_by_id_response.py">ConnectionDeleteByIDResponse</a></code>
66
68
  - <code title="delete /v3/connections/{provider}">client.connections.<a href="./src/supermemory_new/resources/connections.py">delete_by_provider</a>(provider, \*\*<a href="src/supermemory_new/types/connection_delete_by_provider_params.py">params</a>) -> <a href="./src/supermemory_new/types/connection_delete_by_provider_response.py">ConnectionDeleteByProviderResponse</a></code>
67
69
  - <code title="get /v3/connections/{connectionId}">client.connections.<a href="./src/supermemory_new/resources/connections.py">get_by_id</a>(connection_id) -> <a href="./src/supermemory_new/types/connection_get_by_id_response.py">ConnectionGetByIDResponse</a></code>
68
70
  - <code title="post /v3/connections/{provider}/connection">client.connections.<a href="./src/supermemory_new/resources/connections.py">get_by_tags</a>(provider, \*\*<a href="src/supermemory_new/types/connection_get_by_tags_params.py">params</a>) -> <a href="./src/supermemory_new/types/connection_get_by_tags_response.py">ConnectionGetByTagsResponse</a></code>
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "supermemory"
3
- version = "3.0.0-alpha.20"
3
+ version = "3.0.0-alpha.21"
4
4
  description = "The official Python library for the supermemory API"
5
5
  dynamic = ["readme"]
6
6
  license = "Apache-2.0"
@@ -1,4 +1,4 @@
1
1
  # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
3
  __title__ = "supermemory_new"
4
- __version__ = "3.0.0-alpha.20" # x-release-please-version
4
+ __version__ = "3.0.0-alpha.21" # x-release-please-version
@@ -30,6 +30,7 @@ from ..types.connection_list_response import ConnectionListResponse
30
30
  from ..types.connection_create_response import ConnectionCreateResponse
31
31
  from ..types.connection_get_by_id_response import ConnectionGetByIDResponse
32
32
  from ..types.connection_get_by_tags_response import ConnectionGetByTagsResponse
33
+ from ..types.connection_delete_by_id_response import ConnectionDeleteByIDResponse
33
34
  from ..types.connection_list_documents_response import ConnectionListDocumentsResponse
34
35
  from ..types.connection_delete_by_provider_response import ConnectionDeleteByProviderResponse
35
36
 
@@ -136,6 +137,39 @@ class ConnectionsResource(SyncAPIResource):
136
137
  cast_to=ConnectionListResponse,
137
138
  )
138
139
 
140
+ def delete_by_id(
141
+ self,
142
+ connection_id: str,
143
+ *,
144
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
145
+ # The extra values given here take precedence over values defined on the client or passed to this method.
146
+ extra_headers: Headers | None = None,
147
+ extra_query: Query | None = None,
148
+ extra_body: Body | None = None,
149
+ timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
150
+ ) -> ConnectionDeleteByIDResponse:
151
+ """
152
+ Delete a specific connection by ID
153
+
154
+ Args:
155
+ extra_headers: Send extra headers
156
+
157
+ extra_query: Add additional query parameters to the request
158
+
159
+ extra_body: Add additional JSON properties to the request
160
+
161
+ timeout: Override the client-level default timeout for this request, in seconds
162
+ """
163
+ if not connection_id:
164
+ raise ValueError(f"Expected a non-empty value for `connection_id` but received {connection_id!r}")
165
+ return self._delete(
166
+ f"/v3/connections/{connection_id}",
167
+ options=make_request_options(
168
+ extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
169
+ ),
170
+ cast_to=ConnectionDeleteByIDResponse,
171
+ )
172
+
139
173
  def delete_by_provider(
140
174
  self,
141
175
  provider: Literal["notion", "google-drive", "onedrive"],
@@ -428,6 +462,39 @@ class AsyncConnectionsResource(AsyncAPIResource):
428
462
  cast_to=ConnectionListResponse,
429
463
  )
430
464
 
465
+ async def delete_by_id(
466
+ self,
467
+ connection_id: str,
468
+ *,
469
+ # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
470
+ # The extra values given here take precedence over values defined on the client or passed to this method.
471
+ extra_headers: Headers | None = None,
472
+ extra_query: Query | None = None,
473
+ extra_body: Body | None = None,
474
+ timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
475
+ ) -> ConnectionDeleteByIDResponse:
476
+ """
477
+ Delete a specific connection by ID
478
+
479
+ Args:
480
+ extra_headers: Send extra headers
481
+
482
+ extra_query: Add additional query parameters to the request
483
+
484
+ extra_body: Add additional JSON properties to the request
485
+
486
+ timeout: Override the client-level default timeout for this request, in seconds
487
+ """
488
+ if not connection_id:
489
+ raise ValueError(f"Expected a non-empty value for `connection_id` but received {connection_id!r}")
490
+ return await self._delete(
491
+ f"/v3/connections/{connection_id}",
492
+ options=make_request_options(
493
+ extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
494
+ ),
495
+ cast_to=ConnectionDeleteByIDResponse,
496
+ )
497
+
431
498
  async def delete_by_provider(
432
499
  self,
433
500
  provider: Literal["notion", "google-drive", "onedrive"],
@@ -630,6 +697,9 @@ class ConnectionsResourceWithRawResponse:
630
697
  self.list = to_raw_response_wrapper(
631
698
  connections.list,
632
699
  )
700
+ self.delete_by_id = to_raw_response_wrapper(
701
+ connections.delete_by_id,
702
+ )
633
703
  self.delete_by_provider = to_raw_response_wrapper(
634
704
  connections.delete_by_provider,
635
705
  )
@@ -657,6 +727,9 @@ class AsyncConnectionsResourceWithRawResponse:
657
727
  self.list = async_to_raw_response_wrapper(
658
728
  connections.list,
659
729
  )
730
+ self.delete_by_id = async_to_raw_response_wrapper(
731
+ connections.delete_by_id,
732
+ )
660
733
  self.delete_by_provider = async_to_raw_response_wrapper(
661
734
  connections.delete_by_provider,
662
735
  )
@@ -684,6 +757,9 @@ class ConnectionsResourceWithStreamingResponse:
684
757
  self.list = to_streamed_response_wrapper(
685
758
  connections.list,
686
759
  )
760
+ self.delete_by_id = to_streamed_response_wrapper(
761
+ connections.delete_by_id,
762
+ )
687
763
  self.delete_by_provider = to_streamed_response_wrapper(
688
764
  connections.delete_by_provider,
689
765
  )
@@ -711,6 +787,9 @@ class AsyncConnectionsResourceWithStreamingResponse:
711
787
  self.list = async_to_streamed_response_wrapper(
712
788
  connections.list,
713
789
  )
790
+ self.delete_by_id = async_to_streamed_response_wrapper(
791
+ connections.delete_by_id,
792
+ )
714
793
  self.delete_by_provider = async_to_streamed_response_wrapper(
715
794
  connections.delete_by_provider,
716
795
  )
@@ -49,7 +49,6 @@ class SettingsResource(SyncAPIResource):
49
49
  *,
50
50
  exclude_items: Union[str, float, bool, Dict[str, object], Iterable[object], None] | NotGiven = NOT_GIVEN,
51
51
  filter_prompt: Optional[str] | NotGiven = NOT_GIVEN,
52
- filter_tags: Union[str, float, bool, Dict[str, object], Iterable[object], None] | NotGiven = NOT_GIVEN,
53
52
  google_drive_client_id: Optional[str] | NotGiven = NOT_GIVEN,
54
53
  google_drive_client_secret: Optional[str] | NotGiven = NOT_GIVEN,
55
54
  google_drive_custom_key_enabled: Optional[bool] | NotGiven = NOT_GIVEN,
@@ -86,7 +85,6 @@ class SettingsResource(SyncAPIResource):
86
85
  {
87
86
  "exclude_items": exclude_items,
88
87
  "filter_prompt": filter_prompt,
89
- "filter_tags": filter_tags,
90
88
  "google_drive_client_id": google_drive_client_id,
91
89
  "google_drive_client_secret": google_drive_client_secret,
92
90
  "google_drive_custom_key_enabled": google_drive_custom_key_enabled,
@@ -152,7 +150,6 @@ class AsyncSettingsResource(AsyncAPIResource):
152
150
  *,
153
151
  exclude_items: Union[str, float, bool, Dict[str, object], Iterable[object], None] | NotGiven = NOT_GIVEN,
154
152
  filter_prompt: Optional[str] | NotGiven = NOT_GIVEN,
155
- filter_tags: Union[str, float, bool, Dict[str, object], Iterable[object], None] | NotGiven = NOT_GIVEN,
156
153
  google_drive_client_id: Optional[str] | NotGiven = NOT_GIVEN,
157
154
  google_drive_client_secret: Optional[str] | NotGiven = NOT_GIVEN,
158
155
  google_drive_custom_key_enabled: Optional[bool] | NotGiven = NOT_GIVEN,
@@ -189,7 +186,6 @@ class AsyncSettingsResource(AsyncAPIResource):
189
186
  {
190
187
  "exclude_items": exclude_items,
191
188
  "filter_prompt": filter_prompt,
192
- "filter_tags": filter_tags,
193
189
  "google_drive_client_id": google_drive_client_id,
194
190
  "google_drive_client_secret": google_drive_client_secret,
195
191
  "google_drive_custom_key_enabled": google_drive_custom_key_enabled,
@@ -22,6 +22,7 @@ from .connection_create_response import ConnectionCreateResponse as ConnectionCr
22
22
  from .connection_get_by_id_response import ConnectionGetByIDResponse as ConnectionGetByIDResponse
23
23
  from .connection_get_by_tags_params import ConnectionGetByTagsParams as ConnectionGetByTagsParams
24
24
  from .connection_get_by_tags_response import ConnectionGetByTagsResponse as ConnectionGetByTagsResponse
25
+ from .connection_delete_by_id_response import ConnectionDeleteByIDResponse as ConnectionDeleteByIDResponse
25
26
  from .connection_list_documents_params import ConnectionListDocumentsParams as ConnectionListDocumentsParams
26
27
  from .connection_list_documents_response import ConnectionListDocumentsResponse as ConnectionListDocumentsResponse
27
28
  from .connection_delete_by_provider_params import ConnectionDeleteByProviderParams as ConnectionDeleteByProviderParams
@@ -0,0 +1,11 @@
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from .._models import BaseModel
4
+
5
+ __all__ = ["ConnectionDeleteByIDResponse"]
6
+
7
+
8
+ class ConnectionDeleteByIDResponse(BaseModel):
9
+ id: str
10
+
11
+ provider: str
@@ -16,10 +16,6 @@ class SettingGetResponse(BaseModel):
16
16
 
17
17
  filter_prompt: Optional[str] = FieldInfo(alias="filterPrompt", default=None)
18
18
 
19
- filter_tags: Union[str, float, bool, Dict[str, object], List[object], None] = FieldInfo(
20
- alias="filterTags", default=None
21
- )
22
-
23
19
  google_drive_client_id: Optional[str] = FieldInfo(alias="googleDriveClientId", default=None)
24
20
 
25
21
  google_drive_client_secret: Optional[str] = FieldInfo(alias="googleDriveClientSecret", default=None)
@@ -17,10 +17,6 @@ class SettingUpdateParams(TypedDict, total=False):
17
17
 
18
18
  filter_prompt: Annotated[Optional[str], PropertyInfo(alias="filterPrompt")]
19
19
 
20
- filter_tags: Annotated[
21
- Union[str, float, bool, Dict[str, object], Iterable[object], None], PropertyInfo(alias="filterTags")
22
- ]
23
-
24
20
  google_drive_client_id: Annotated[Optional[str], PropertyInfo(alias="googleDriveClientId")]
25
21
 
26
22
  google_drive_client_secret: Annotated[Optional[str], PropertyInfo(alias="googleDriveClientSecret")]
@@ -16,10 +16,6 @@ class Updated(BaseModel):
16
16
 
17
17
  filter_prompt: Optional[str] = FieldInfo(alias="filterPrompt", default=None)
18
18
 
19
- filter_tags: Union[str, float, bool, Dict[str, object], List[object], None] = FieldInfo(
20
- alias="filterTags", default=None
21
- )
22
-
23
19
  google_drive_client_id: Optional[str] = FieldInfo(alias="googleDriveClientId", default=None)
24
20
 
25
21
  google_drive_client_secret: Optional[str] = FieldInfo(alias="googleDriveClientSecret", default=None)
@@ -14,6 +14,7 @@ from supermemory_new.types import (
14
14
  ConnectionCreateResponse,
15
15
  ConnectionGetByIDResponse,
16
16
  ConnectionGetByTagsResponse,
17
+ ConnectionDeleteByIDResponse,
17
18
  ConnectionListDocumentsResponse,
18
19
  ConnectionDeleteByProviderResponse,
19
20
  )
@@ -106,6 +107,48 @@ class TestConnections:
106
107
 
107
108
  assert cast(Any, response.is_closed) is True
108
109
 
110
+ @pytest.mark.skip()
111
+ @parametrize
112
+ def test_method_delete_by_id(self, client: Supermemory) -> None:
113
+ connection = client.connections.delete_by_id(
114
+ "connectionId",
115
+ )
116
+ assert_matches_type(ConnectionDeleteByIDResponse, connection, path=["response"])
117
+
118
+ @pytest.mark.skip()
119
+ @parametrize
120
+ def test_raw_response_delete_by_id(self, client: Supermemory) -> None:
121
+ response = client.connections.with_raw_response.delete_by_id(
122
+ "connectionId",
123
+ )
124
+
125
+ assert response.is_closed is True
126
+ assert response.http_request.headers.get("X-Stainless-Lang") == "python"
127
+ connection = response.parse()
128
+ assert_matches_type(ConnectionDeleteByIDResponse, connection, path=["response"])
129
+
130
+ @pytest.mark.skip()
131
+ @parametrize
132
+ def test_streaming_response_delete_by_id(self, client: Supermemory) -> None:
133
+ with client.connections.with_streaming_response.delete_by_id(
134
+ "connectionId",
135
+ ) as response:
136
+ assert not response.is_closed
137
+ assert response.http_request.headers.get("X-Stainless-Lang") == "python"
138
+
139
+ connection = response.parse()
140
+ assert_matches_type(ConnectionDeleteByIDResponse, connection, path=["response"])
141
+
142
+ assert cast(Any, response.is_closed) is True
143
+
144
+ @pytest.mark.skip()
145
+ @parametrize
146
+ def test_path_params_delete_by_id(self, client: Supermemory) -> None:
147
+ with pytest.raises(ValueError, match=r"Expected a non-empty value for `connection_id` but received ''"):
148
+ client.connections.with_raw_response.delete_by_id(
149
+ "",
150
+ )
151
+
109
152
  @pytest.mark.skip()
110
153
  @parametrize
111
154
  def test_method_delete_by_provider(self, client: Supermemory) -> None:
@@ -396,6 +439,48 @@ class TestAsyncConnections:
396
439
 
397
440
  assert cast(Any, response.is_closed) is True
398
441
 
442
+ @pytest.mark.skip()
443
+ @parametrize
444
+ async def test_method_delete_by_id(self, async_client: AsyncSupermemory) -> None:
445
+ connection = await async_client.connections.delete_by_id(
446
+ "connectionId",
447
+ )
448
+ assert_matches_type(ConnectionDeleteByIDResponse, connection, path=["response"])
449
+
450
+ @pytest.mark.skip()
451
+ @parametrize
452
+ async def test_raw_response_delete_by_id(self, async_client: AsyncSupermemory) -> None:
453
+ response = await async_client.connections.with_raw_response.delete_by_id(
454
+ "connectionId",
455
+ )
456
+
457
+ assert response.is_closed is True
458
+ assert response.http_request.headers.get("X-Stainless-Lang") == "python"
459
+ connection = await response.parse()
460
+ assert_matches_type(ConnectionDeleteByIDResponse, connection, path=["response"])
461
+
462
+ @pytest.mark.skip()
463
+ @parametrize
464
+ async def test_streaming_response_delete_by_id(self, async_client: AsyncSupermemory) -> None:
465
+ async with async_client.connections.with_streaming_response.delete_by_id(
466
+ "connectionId",
467
+ ) as response:
468
+ assert not response.is_closed
469
+ assert response.http_request.headers.get("X-Stainless-Lang") == "python"
470
+
471
+ connection = await response.parse()
472
+ assert_matches_type(ConnectionDeleteByIDResponse, connection, path=["response"])
473
+
474
+ assert cast(Any, response.is_closed) is True
475
+
476
+ @pytest.mark.skip()
477
+ @parametrize
478
+ async def test_path_params_delete_by_id(self, async_client: AsyncSupermemory) -> None:
479
+ with pytest.raises(ValueError, match=r"Expected a non-empty value for `connection_id` but received ''"):
480
+ await async_client.connections.with_raw_response.delete_by_id(
481
+ "",
482
+ )
483
+
399
484
  @pytest.mark.skip()
400
485
  @parametrize
401
486
  async def test_method_delete_by_provider(self, async_client: AsyncSupermemory) -> None:
@@ -29,7 +29,6 @@ class TestSettings:
29
29
  setting = client.settings.update(
30
30
  exclude_items="string",
31
31
  filter_prompt="filterPrompt",
32
- filter_tags="string",
33
32
  google_drive_client_id="googleDriveClientId",
34
33
  google_drive_client_secret="googleDriveClientSecret",
35
34
  google_drive_custom_key_enabled=True,
@@ -112,7 +111,6 @@ class TestAsyncSettings:
112
111
  setting = await async_client.settings.update(
113
112
  exclude_items="string",
114
113
  filter_prompt="filterPrompt",
115
- filter_tags="string",
116
114
  google_drive_client_id="googleDriveClientId",
117
115
  google_drive_client_secret="googleDriveClientSecret",
118
116
  google_drive_custom_key_enabled=True,
@@ -1,3 +0,0 @@
1
- {
2
- ".": "3.0.0-alpha.20"
3
- }
@@ -1,21 +0,0 @@
1
- # Changelog
2
-
3
- ## 3.0.0-alpha.20 (2025-06-27)
4
-
5
- Full Changelog: [v3.0.0-alpha.19...v3.0.0-alpha.20](https://github.com/supermemoryai/python-sdk/compare/v3.0.0-alpha.19...v3.0.0-alpha.20)
6
-
7
- ### Features
8
-
9
- * **api:** api update ([3c35763](https://github.com/supermemoryai/python-sdk/commit/3c357637aab2e68e3a80e33b9f721c3a8182483a))
10
- * **api:** api update ([08ffef9](https://github.com/supermemoryai/python-sdk/commit/08ffef95b8f7be8ce8a57ba2fe2761653cd42e5d))
11
-
12
-
13
- ### Bug Fixes
14
-
15
- * **ci:** release-doctor — report correct token name ([dadfa9f](https://github.com/supermemoryai/python-sdk/commit/dadfa9f74851fc81e5af92e47c41115bee87aad7))
16
-
17
-
18
- ### Chores
19
-
20
- * sync repo ([380252a](https://github.com/supermemoryai/python-sdk/commit/380252a9cb2d9c723b5c6b36a33573c462e48049))
21
- * update SDK settings ([8c6f297](https://github.com/supermemoryai/python-sdk/commit/8c6f297fc2b8f7a6b600205a5c313767a99612cb))
File without changes
File without changes
File without changes