supermemory 3.49.0__tar.gz → 3.52.0__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.
- supermemory-3.52.0/.release-please-manifest.json +3 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/CHANGELOG.md +24 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/PKG-INFO +1 -1
- {supermemory-3.49.0 → supermemory-3.52.0}/api.md +32 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/pyproject.toml +1 -1
- {supermemory-3.49.0 → supermemory-3.52.0}/src/supermemory/_client.py +44 -1
- {supermemory-3.49.0 → supermemory-3.52.0}/src/supermemory/_version.py +1 -1
- {supermemory-3.49.0 → supermemory-3.52.0}/src/supermemory/resources/__init__.py +14 -0
- supermemory-3.52.0/src/supermemory/resources/connections.py +1028 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/src/supermemory/types/__init__.py +21 -0
- supermemory-3.52.0/src/supermemory/types/connection_configure_params.py +12 -0
- supermemory-3.52.0/src/supermemory/types/connection_configure_response.py +17 -0
- supermemory-3.52.0/src/supermemory/types/connection_create_params.py +23 -0
- supermemory-3.52.0/src/supermemory/types/connection_create_response.py +19 -0
- supermemory-3.52.0/src/supermemory/types/connection_delete_by_id_params.py +14 -0
- supermemory-3.52.0/src/supermemory/types/connection_delete_by_id_response.py +11 -0
- supermemory-3.52.0/src/supermemory/types/connection_delete_by_provider_params.py +15 -0
- supermemory-3.52.0/src/supermemory/types/connection_delete_by_provider_response.py +11 -0
- supermemory-3.52.0/src/supermemory/types/connection_get_by_id_response.py +39 -0
- supermemory-3.52.0/src/supermemory/types/connection_get_by_tag_params.py +15 -0
- supermemory-3.52.0/src/supermemory/types/connection_get_by_tag_response.py +39 -0
- supermemory-3.52.0/src/supermemory/types/connection_import_params.py +15 -0
- supermemory-3.52.0/src/supermemory/types/connection_import_response.py +7 -0
- supermemory-3.52.0/src/supermemory/types/connection_list_documents_params.py +15 -0
- supermemory-3.52.0/src/supermemory/types/connection_list_documents_response.py +29 -0
- supermemory-3.52.0/src/supermemory/types/connection_list_params.py +15 -0
- supermemory-3.52.0/src/supermemory/types/connection_list_response.py +43 -0
- supermemory-3.52.0/src/supermemory/types/connection_resources_params.py +15 -0
- supermemory-3.52.0/src/supermemory/types/connection_resources_response.py +13 -0
- supermemory-3.52.0/tests/api_resources/test_connections.py +904 -0
- supermemory-3.49.0/.release-please-manifest.json +0 -3
- {supermemory-3.49.0 → supermemory-3.52.0}/.gitignore +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/CONTRIBUTING.md +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/LICENSE +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/README.md +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/SECURITY.md +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/bin/check-release-environment +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/bin/publish-pypi +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/examples/.keep +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/noxfile.py +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/release-please-config.json +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/requirements-dev.lock +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/requirements.lock +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/src/supermemory/__init__.py +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/src/supermemory/_base_client.py +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/src/supermemory/_compat.py +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/src/supermemory/_constants.py +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/src/supermemory/_exceptions.py +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/src/supermemory/_files.py +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/src/supermemory/_models.py +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/src/supermemory/_qs.py +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/src/supermemory/_resource.py +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/src/supermemory/_response.py +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/src/supermemory/_streaming.py +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/src/supermemory/_types.py +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/src/supermemory/_utils/__init__.py +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/src/supermemory/_utils/_compat.py +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/src/supermemory/_utils/_datetime_parse.py +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/src/supermemory/_utils/_json.py +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/src/supermemory/_utils/_logs.py +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/src/supermemory/_utils/_path.py +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/src/supermemory/_utils/_proxy.py +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/src/supermemory/_utils/_reflection.py +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/src/supermemory/_utils/_resources_proxy.py +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/src/supermemory/_utils/_streams.py +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/src/supermemory/_utils/_sync.py +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/src/supermemory/_utils/_transform.py +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/src/supermemory/_utils/_typing.py +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/src/supermemory/_utils/_utils.py +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/src/supermemory/lib/.keep +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/src/supermemory/py.typed +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/src/supermemory/resources/documents.py +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/src/supermemory/resources/memories.py +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/src/supermemory/resources/search.py +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/src/supermemory/resources/settings.py +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/src/supermemory/types/add_response.py +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/src/supermemory/types/client_add_params.py +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/src/supermemory/types/client_profile_params.py +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/src/supermemory/types/document_add_params.py +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/src/supermemory/types/document_add_response.py +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/src/supermemory/types/document_batch_add_params.py +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/src/supermemory/types/document_batch_add_response.py +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/src/supermemory/types/document_delete_bulk_params.py +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/src/supermemory/types/document_delete_bulk_response.py +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/src/supermemory/types/document_get_response.py +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/src/supermemory/types/document_list_params.py +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/src/supermemory/types/document_list_processing_response.py +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/src/supermemory/types/document_list_response.py +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/src/supermemory/types/document_update_params.py +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/src/supermemory/types/document_update_response.py +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/src/supermemory/types/document_upload_file_params.py +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/src/supermemory/types/document_upload_file_response.py +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/src/supermemory/types/memory_forget_params.py +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/src/supermemory/types/memory_forget_response.py +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/src/supermemory/types/memory_update_memory_params.py +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/src/supermemory/types/memory_update_memory_response.py +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/src/supermemory/types/profile_response.py +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/src/supermemory/types/search_documents_params.py +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/src/supermemory/types/search_documents_response.py +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/src/supermemory/types/search_execute_params.py +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/src/supermemory/types/search_execute_response.py +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/src/supermemory/types/search_memories_params.py +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/src/supermemory/types/search_memories_response.py +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/src/supermemory/types/setting_get_response.py +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/src/supermemory/types/setting_update_params.py +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/src/supermemory/types/setting_update_response.py +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/src/supermemory_new/lib/.keep +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/tests/__init__.py +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/tests/api_resources/__init__.py +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/tests/api_resources/test_client.py +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/tests/api_resources/test_documents.py +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/tests/api_resources/test_memories.py +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/tests/api_resources/test_search.py +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/tests/api_resources/test_settings.py +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/tests/conftest.py +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/tests/sample_file.txt +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/tests/test_client.py +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/tests/test_extract_files.py +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/tests/test_files.py +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/tests/test_models.py +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/tests/test_qs.py +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/tests/test_required_args.py +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/tests/test_response.py +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/tests/test_streaming.py +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/tests/test_transform.py +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/tests/test_utils/test_datetime_parse.py +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/tests/test_utils/test_json.py +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/tests/test_utils/test_path.py +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/tests/test_utils/test_proxy.py +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/tests/test_utils/test_typing.py +0 -0
- {supermemory-3.49.0 → supermemory-3.52.0}/tests/utils.py +0 -0
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 3.52.0 (2026-07-21)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v3.51.0...v3.52.0](https://github.com/supermemoryai/python-sdk/compare/v3.51.0...v3.52.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([999278e](https://github.com/supermemoryai/python-sdk/commit/999278ec4bd37a18234c1ffd2f276ac907bcc0bf))
|
|
10
|
+
|
|
11
|
+
## 3.51.0 (2026-07-18)
|
|
12
|
+
|
|
13
|
+
Full Changelog: [v3.50.0...v3.51.0](https://github.com/supermemoryai/python-sdk/compare/v3.50.0...v3.51.0)
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
* **stlc:** configurable CI runner and private-production-repo support in workflow templates ([2d80bfa](https://github.com/supermemoryai/python-sdk/commit/2d80bfaee6931d9a54f77d900c28d96623a4d80d))
|
|
18
|
+
|
|
19
|
+
## 3.50.0 (2026-06-24)
|
|
20
|
+
|
|
21
|
+
Full Changelog: [v3.49.0...v3.50.0](https://github.com/supermemoryai/python-sdk/compare/v3.49.0...v3.50.0)
|
|
22
|
+
|
|
23
|
+
### Features
|
|
24
|
+
|
|
25
|
+
* **api:** api update ([36a55ee](https://github.com/supermemoryai/python-sdk/commit/36a55ee2b26fb0ed076892d486e464c11eb4c2e4))
|
|
26
|
+
|
|
3
27
|
## 3.49.0 (2026-06-22)
|
|
4
28
|
|
|
5
29
|
Full Changelog: [v3.48.0...v3.49.0](https://github.com/supermemoryai/python-sdk/compare/v3.48.0...v3.49.0)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: supermemory
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.52.0
|
|
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
|
|
@@ -79,3 +79,35 @@ Methods:
|
|
|
79
79
|
|
|
80
80
|
- <code title="patch /v3/settings">client.settings.<a href="./src/supermemory/resources/settings.py">update</a>(\*\*<a href="src/supermemory/types/setting_update_params.py">params</a>) -> <a href="./src/supermemory/types/setting_update_response.py">SettingUpdateResponse</a></code>
|
|
81
81
|
- <code title="get /v3/settings">client.settings.<a href="./src/supermemory/resources/settings.py">get</a>() -> <a href="./src/supermemory/types/setting_get_response.py">SettingGetResponse</a></code>
|
|
82
|
+
|
|
83
|
+
# Connections
|
|
84
|
+
|
|
85
|
+
Types:
|
|
86
|
+
|
|
87
|
+
```python
|
|
88
|
+
from supermemory.types import (
|
|
89
|
+
ConnectionCreateResponse,
|
|
90
|
+
ConnectionListResponse,
|
|
91
|
+
ConnectionConfigureResponse,
|
|
92
|
+
ConnectionDeleteByIDResponse,
|
|
93
|
+
ConnectionDeleteByProviderResponse,
|
|
94
|
+
ConnectionGetByIDResponse,
|
|
95
|
+
ConnectionGetByTagResponse,
|
|
96
|
+
ConnectionImportResponse,
|
|
97
|
+
ConnectionListDocumentsResponse,
|
|
98
|
+
ConnectionResourcesResponse,
|
|
99
|
+
)
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
Methods:
|
|
103
|
+
|
|
104
|
+
- <code title="post /v3/connections/{provider}">client.connections.<a href="./src/supermemory/resources/connections.py">create</a>(provider, \*\*<a href="src/supermemory/types/connection_create_params.py">params</a>) -> <a href="./src/supermemory/types/connection_create_response.py">ConnectionCreateResponse</a></code>
|
|
105
|
+
- <code title="post /v3/connections/list">client.connections.<a href="./src/supermemory/resources/connections.py">list</a>(\*\*<a href="src/supermemory/types/connection_list_params.py">params</a>) -> <a href="./src/supermemory/types/connection_list_response.py">ConnectionListResponse</a></code>
|
|
106
|
+
- <code title="post /v3/connections/{connectionId}/configure">client.connections.<a href="./src/supermemory/resources/connections.py">configure</a>(connection_id, \*\*<a href="src/supermemory/types/connection_configure_params.py">params</a>) -> <a href="./src/supermemory/types/connection_configure_response.py">ConnectionConfigureResponse</a></code>
|
|
107
|
+
- <code title="delete /v3/connections/{connectionId}">client.connections.<a href="./src/supermemory/resources/connections.py">delete_by_id</a>(connection_id, \*\*<a href="src/supermemory/types/connection_delete_by_id_params.py">params</a>) -> <a href="./src/supermemory/types/connection_delete_by_id_response.py">ConnectionDeleteByIDResponse</a></code>
|
|
108
|
+
- <code title="delete /v3/connections/{provider}">client.connections.<a href="./src/supermemory/resources/connections.py">delete_by_provider</a>(provider, \*\*<a href="src/supermemory/types/connection_delete_by_provider_params.py">params</a>) -> <a href="./src/supermemory/types/connection_delete_by_provider_response.py">ConnectionDeleteByProviderResponse</a></code>
|
|
109
|
+
- <code title="get /v3/connections/{connectionId}">client.connections.<a href="./src/supermemory/resources/connections.py">get_by_id</a>(connection_id) -> <a href="./src/supermemory/types/connection_get_by_id_response.py">ConnectionGetByIDResponse</a></code>
|
|
110
|
+
- <code title="post /v3/connections/{provider}/connection">client.connections.<a href="./src/supermemory/resources/connections.py">get_by_tag</a>(provider, \*\*<a href="src/supermemory/types/connection_get_by_tag_params.py">params</a>) -> <a href="./src/supermemory/types/connection_get_by_tag_response.py">ConnectionGetByTagResponse</a></code>
|
|
111
|
+
- <code title="post /v3/connections/{provider}/import">client.connections.<a href="./src/supermemory/resources/connections.py">import\_</a>(provider, \*\*<a href="src/supermemory/types/connection_import_params.py">params</a>) -> str</code>
|
|
112
|
+
- <code title="post /v3/connections/{provider}/documents">client.connections.<a href="./src/supermemory/resources/connections.py">list_documents</a>(provider, \*\*<a href="src/supermemory/types/connection_list_documents_params.py">params</a>) -> <a href="./src/supermemory/types/connection_list_documents_response.py">ConnectionListDocumentsResponse</a></code>
|
|
113
|
+
- <code title="get /v3/connections/{connectionId}/resources">client.connections.<a href="./src/supermemory/resources/connections.py">resources</a>(connection_id, \*\*<a href="src/supermemory/types/connection_resources_params.py">params</a>) -> <a href="./src/supermemory/types/connection_resources_response.py">ConnectionResourcesResponse</a></code>
|
|
@@ -52,11 +52,12 @@ from .types.add_response import AddResponse
|
|
|
52
52
|
from .types.profile_response import ProfileResponse
|
|
53
53
|
|
|
54
54
|
if TYPE_CHECKING:
|
|
55
|
-
from .resources import search, memories, settings, documents
|
|
55
|
+
from .resources import search, memories, settings, documents, connections
|
|
56
56
|
from .resources.search import SearchResource, AsyncSearchResource
|
|
57
57
|
from .resources.memories import MemoriesResource, AsyncMemoriesResource
|
|
58
58
|
from .resources.settings import SettingsResource, AsyncSettingsResource
|
|
59
59
|
from .resources.documents import DocumentsResource, AsyncDocumentsResource
|
|
60
|
+
from .resources.connections import ConnectionsResource, AsyncConnectionsResource
|
|
60
61
|
|
|
61
62
|
__all__ = [
|
|
62
63
|
"Timeout",
|
|
@@ -160,6 +161,13 @@ class Supermemory(SyncAPIClient):
|
|
|
160
161
|
|
|
161
162
|
return SettingsResource(self)
|
|
162
163
|
|
|
164
|
+
@cached_property
|
|
165
|
+
def connections(self) -> ConnectionsResource:
|
|
166
|
+
"""External service integrations"""
|
|
167
|
+
from .resources.connections import ConnectionsResource
|
|
168
|
+
|
|
169
|
+
return ConnectionsResource(self)
|
|
170
|
+
|
|
163
171
|
@cached_property
|
|
164
172
|
def with_raw_response(self) -> SupermemoryWithRawResponse:
|
|
165
173
|
return SupermemoryWithRawResponse(self)
|
|
@@ -510,6 +518,13 @@ class AsyncSupermemory(AsyncAPIClient):
|
|
|
510
518
|
|
|
511
519
|
return AsyncSettingsResource(self)
|
|
512
520
|
|
|
521
|
+
@cached_property
|
|
522
|
+
def connections(self) -> AsyncConnectionsResource:
|
|
523
|
+
"""External service integrations"""
|
|
524
|
+
from .resources.connections import AsyncConnectionsResource
|
|
525
|
+
|
|
526
|
+
return AsyncConnectionsResource(self)
|
|
527
|
+
|
|
513
528
|
@cached_property
|
|
514
529
|
def with_raw_response(self) -> AsyncSupermemoryWithRawResponse:
|
|
515
530
|
return AsyncSupermemoryWithRawResponse(self)
|
|
@@ -809,6 +824,13 @@ class SupermemoryWithRawResponse:
|
|
|
809
824
|
|
|
810
825
|
return SettingsResourceWithRawResponse(self._client.settings)
|
|
811
826
|
|
|
827
|
+
@cached_property
|
|
828
|
+
def connections(self) -> connections.ConnectionsResourceWithRawResponse:
|
|
829
|
+
"""External service integrations"""
|
|
830
|
+
from .resources.connections import ConnectionsResourceWithRawResponse
|
|
831
|
+
|
|
832
|
+
return ConnectionsResourceWithRawResponse(self._client.connections)
|
|
833
|
+
|
|
812
834
|
|
|
813
835
|
class AsyncSupermemoryWithRawResponse:
|
|
814
836
|
_client: AsyncSupermemory
|
|
@@ -849,6 +871,13 @@ class AsyncSupermemoryWithRawResponse:
|
|
|
849
871
|
|
|
850
872
|
return AsyncSettingsResourceWithRawResponse(self._client.settings)
|
|
851
873
|
|
|
874
|
+
@cached_property
|
|
875
|
+
def connections(self) -> connections.AsyncConnectionsResourceWithRawResponse:
|
|
876
|
+
"""External service integrations"""
|
|
877
|
+
from .resources.connections import AsyncConnectionsResourceWithRawResponse
|
|
878
|
+
|
|
879
|
+
return AsyncConnectionsResourceWithRawResponse(self._client.connections)
|
|
880
|
+
|
|
852
881
|
|
|
853
882
|
class SupermemoryWithStreamedResponse:
|
|
854
883
|
_client: Supermemory
|
|
@@ -889,6 +918,13 @@ class SupermemoryWithStreamedResponse:
|
|
|
889
918
|
|
|
890
919
|
return SettingsResourceWithStreamingResponse(self._client.settings)
|
|
891
920
|
|
|
921
|
+
@cached_property
|
|
922
|
+
def connections(self) -> connections.ConnectionsResourceWithStreamingResponse:
|
|
923
|
+
"""External service integrations"""
|
|
924
|
+
from .resources.connections import ConnectionsResourceWithStreamingResponse
|
|
925
|
+
|
|
926
|
+
return ConnectionsResourceWithStreamingResponse(self._client.connections)
|
|
927
|
+
|
|
892
928
|
|
|
893
929
|
class AsyncSupermemoryWithStreamedResponse:
|
|
894
930
|
_client: AsyncSupermemory
|
|
@@ -929,6 +965,13 @@ class AsyncSupermemoryWithStreamedResponse:
|
|
|
929
965
|
|
|
930
966
|
return AsyncSettingsResourceWithStreamingResponse(self._client.settings)
|
|
931
967
|
|
|
968
|
+
@cached_property
|
|
969
|
+
def connections(self) -> connections.AsyncConnectionsResourceWithStreamingResponse:
|
|
970
|
+
"""External service integrations"""
|
|
971
|
+
from .resources.connections import AsyncConnectionsResourceWithStreamingResponse
|
|
972
|
+
|
|
973
|
+
return AsyncConnectionsResourceWithStreamingResponse(self._client.connections)
|
|
974
|
+
|
|
932
975
|
|
|
933
976
|
Client = Supermemory
|
|
934
977
|
|
|
@@ -32,6 +32,14 @@ from .documents import (
|
|
|
32
32
|
DocumentsResourceWithStreamingResponse,
|
|
33
33
|
AsyncDocumentsResourceWithStreamingResponse,
|
|
34
34
|
)
|
|
35
|
+
from .connections import (
|
|
36
|
+
ConnectionsResource,
|
|
37
|
+
AsyncConnectionsResource,
|
|
38
|
+
ConnectionsResourceWithRawResponse,
|
|
39
|
+
AsyncConnectionsResourceWithRawResponse,
|
|
40
|
+
ConnectionsResourceWithStreamingResponse,
|
|
41
|
+
AsyncConnectionsResourceWithStreamingResponse,
|
|
42
|
+
)
|
|
35
43
|
|
|
36
44
|
__all__ = [
|
|
37
45
|
"MemoriesResource",
|
|
@@ -58,4 +66,10 @@ __all__ = [
|
|
|
58
66
|
"AsyncSettingsResourceWithRawResponse",
|
|
59
67
|
"SettingsResourceWithStreamingResponse",
|
|
60
68
|
"AsyncSettingsResourceWithStreamingResponse",
|
|
69
|
+
"ConnectionsResource",
|
|
70
|
+
"AsyncConnectionsResource",
|
|
71
|
+
"ConnectionsResourceWithRawResponse",
|
|
72
|
+
"AsyncConnectionsResourceWithRawResponse",
|
|
73
|
+
"ConnectionsResourceWithStreamingResponse",
|
|
74
|
+
"AsyncConnectionsResourceWithStreamingResponse",
|
|
61
75
|
]
|