supermemory 3.0.0a24__tar.gz → 3.0.0a25__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.
- supermemory-3.0.0a25/.release-please-manifest.json +3 -0
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/CHANGELOG.md +13 -0
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/PKG-INFO +1 -1
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/pyproject.toml +1 -1
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/src/supermemory/_version.py +1 -1
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/src/supermemory/types/search_execute_response.py +3 -0
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/tests/api_resources/test_connections.py +60 -60
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/tests/api_resources/test_memories.py +42 -42
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/tests/api_resources/test_search.py +8 -8
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/tests/api_resources/test_settings.py +14 -14
- supermemory-3.0.0a24/.release-please-manifest.json +0 -3
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/.gitignore +0 -0
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/CONTRIBUTING.md +0 -0
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/LICENSE +0 -0
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/README.md +0 -0
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/SECURITY.md +0 -0
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/api.md +0 -0
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/bin/check-release-environment +0 -0
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/bin/publish-pypi +0 -0
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/examples/.keep +0 -0
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/mypy.ini +0 -0
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/noxfile.py +0 -0
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/release-please-config.json +0 -0
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/requirements-dev.lock +0 -0
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/requirements.lock +0 -0
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/src/supermemory/__init__.py +0 -0
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/src/supermemory/_base_client.py +0 -0
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/src/supermemory/_client.py +0 -0
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/src/supermemory/_compat.py +0 -0
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/src/supermemory/_constants.py +0 -0
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/src/supermemory/_exceptions.py +0 -0
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/src/supermemory/_files.py +0 -0
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/src/supermemory/_models.py +0 -0
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/src/supermemory/_qs.py +0 -0
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/src/supermemory/_resource.py +0 -0
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/src/supermemory/_response.py +0 -0
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/src/supermemory/_streaming.py +0 -0
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/src/supermemory/_types.py +0 -0
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/src/supermemory/_utils/__init__.py +0 -0
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/src/supermemory/_utils/_logs.py +0 -0
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/src/supermemory/_utils/_proxy.py +0 -0
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/src/supermemory/_utils/_reflection.py +0 -0
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/src/supermemory/_utils/_resources_proxy.py +0 -0
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/src/supermemory/_utils/_streams.py +0 -0
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/src/supermemory/_utils/_sync.py +0 -0
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/src/supermemory/_utils/_transform.py +0 -0
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/src/supermemory/_utils/_typing.py +0 -0
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/src/supermemory/_utils/_utils.py +0 -0
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/src/supermemory/lib/.keep +0 -0
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/src/supermemory/py.typed +0 -0
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/src/supermemory/resources/__init__.py +0 -0
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/src/supermemory/resources/connections.py +0 -0
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/src/supermemory/resources/memories.py +0 -0
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/src/supermemory/resources/search.py +0 -0
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/src/supermemory/resources/settings.py +0 -0
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/src/supermemory/types/__init__.py +0 -0
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/src/supermemory/types/connection_create_params.py +0 -0
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/src/supermemory/types/connection_create_response.py +0 -0
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/src/supermemory/types/connection_delete_by_id_response.py +0 -0
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/src/supermemory/types/connection_delete_by_provider_params.py +0 -0
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/src/supermemory/types/connection_delete_by_provider_response.py +0 -0
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/src/supermemory/types/connection_get_by_id_response.py +0 -0
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/src/supermemory/types/connection_get_by_tags_params.py +0 -0
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/src/supermemory/types/connection_get_by_tags_response.py +0 -0
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/src/supermemory/types/connection_import_params.py +0 -0
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/src/supermemory/types/connection_list_documents_params.py +0 -0
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/src/supermemory/types/connection_list_documents_response.py +0 -0
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/src/supermemory/types/connection_list_params.py +0 -0
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/src/supermemory/types/connection_list_response.py +0 -0
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/src/supermemory/types/memory_add_params.py +0 -0
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/src/supermemory/types/memory_add_response.py +0 -0
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/src/supermemory/types/memory_get_response.py +0 -0
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/src/supermemory/types/memory_list_params.py +0 -0
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/src/supermemory/types/memory_list_response.py +0 -0
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/src/supermemory/types/memory_update_params.py +0 -0
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/src/supermemory/types/memory_update_response.py +0 -0
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/src/supermemory/types/search_execute_params.py +0 -0
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/src/supermemory/types/setting_get_response.py +0 -0
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/src/supermemory/types/setting_update_params.py +0 -0
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/src/supermemory/types/setting_update_response.py +0 -0
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/src/supermemory_new/lib/.keep +0 -0
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/tests/__init__.py +0 -0
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/tests/api_resources/__init__.py +0 -0
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/tests/conftest.py +0 -0
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/tests/sample_file.txt +0 -0
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/tests/test_client.py +0 -0
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/tests/test_deepcopy.py +0 -0
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/tests/test_extract_files.py +0 -0
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/tests/test_files.py +0 -0
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/tests/test_models.py +0 -0
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/tests/test_qs.py +0 -0
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/tests/test_required_args.py +0 -0
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/tests/test_response.py +0 -0
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/tests/test_streaming.py +0 -0
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/tests/test_transform.py +0 -0
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/tests/test_utils/test_proxy.py +0 -0
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/tests/test_utils/test_typing.py +0 -0
- {supermemory-3.0.0a24 → supermemory-3.0.0a25}/tests/utils.py +0 -0
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 3.0.0-alpha.25 (2025-08-15)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v3.0.0-alpha.24...v3.0.0-alpha.25](https://github.com/supermemoryai/python-sdk/compare/v3.0.0-alpha.24...v3.0.0-alpha.25)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([9bfc023](https://github.com/supermemoryai/python-sdk/commit/9bfc023373df244fa4d45c12ad31fe5ca2bddc8b))
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Chores
|
|
13
|
+
|
|
14
|
+
* **internal:** codegen related update ([8df15a7](https://github.com/supermemoryai/python-sdk/commit/8df15a767ca5007ee34b4b7b1bc39e1961203c80))
|
|
15
|
+
|
|
3
16
|
## 3.0.0-alpha.24 (2025-08-10)
|
|
4
17
|
|
|
5
18
|
Full Changelog: [v3.0.0-alpha.23...v3.0.0-alpha.24](https://github.com/supermemoryai/python-sdk/compare/v3.0.0-alpha.23...v3.0.0-alpha.24)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: supermemory
|
|
3
|
-
Version: 3.0.
|
|
3
|
+
Version: 3.0.0a25
|
|
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
|
{supermemory-3.0.0a24 → supermemory-3.0.0a25}/src/supermemory/types/search_execute_response.py
RENAMED
|
@@ -46,6 +46,9 @@ class Result(BaseModel):
|
|
|
46
46
|
updated_at: datetime = FieldInfo(alias="updatedAt")
|
|
47
47
|
"""Document last update date"""
|
|
48
48
|
|
|
49
|
+
content: Optional[str] = None
|
|
50
|
+
"""Full document content (only included when includeFullDocs=true)"""
|
|
51
|
+
|
|
49
52
|
summary: Optional[str] = None
|
|
50
53
|
"""Document summary"""
|
|
51
54
|
|
|
@@ -25,7 +25,7 @@ base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")
|
|
|
25
25
|
class TestConnections:
|
|
26
26
|
parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"])
|
|
27
27
|
|
|
28
|
-
@pytest.mark.skip()
|
|
28
|
+
@pytest.mark.skip(reason="Prism tests are disabled")
|
|
29
29
|
@parametrize
|
|
30
30
|
def test_method_create(self, client: Supermemory) -> None:
|
|
31
31
|
connection = client.connections.create(
|
|
@@ -33,7 +33,7 @@ class TestConnections:
|
|
|
33
33
|
)
|
|
34
34
|
assert_matches_type(ConnectionCreateResponse, connection, path=["response"])
|
|
35
35
|
|
|
36
|
-
@pytest.mark.skip()
|
|
36
|
+
@pytest.mark.skip(reason="Prism tests are disabled")
|
|
37
37
|
@parametrize
|
|
38
38
|
def test_method_create_with_all_params(self, client: Supermemory) -> None:
|
|
39
39
|
connection = client.connections.create(
|
|
@@ -45,7 +45,7 @@ class TestConnections:
|
|
|
45
45
|
)
|
|
46
46
|
assert_matches_type(ConnectionCreateResponse, connection, path=["response"])
|
|
47
47
|
|
|
48
|
-
@pytest.mark.skip()
|
|
48
|
+
@pytest.mark.skip(reason="Prism tests are disabled")
|
|
49
49
|
@parametrize
|
|
50
50
|
def test_raw_response_create(self, client: Supermemory) -> None:
|
|
51
51
|
response = client.connections.with_raw_response.create(
|
|
@@ -57,7 +57,7 @@ class TestConnections:
|
|
|
57
57
|
connection = response.parse()
|
|
58
58
|
assert_matches_type(ConnectionCreateResponse, connection, path=["response"])
|
|
59
59
|
|
|
60
|
-
@pytest.mark.skip()
|
|
60
|
+
@pytest.mark.skip(reason="Prism tests are disabled")
|
|
61
61
|
@parametrize
|
|
62
62
|
def test_streaming_response_create(self, client: Supermemory) -> None:
|
|
63
63
|
with client.connections.with_streaming_response.create(
|
|
@@ -71,13 +71,13 @@ class TestConnections:
|
|
|
71
71
|
|
|
72
72
|
assert cast(Any, response.is_closed) is True
|
|
73
73
|
|
|
74
|
-
@pytest.mark.skip()
|
|
74
|
+
@pytest.mark.skip(reason="Prism tests are disabled")
|
|
75
75
|
@parametrize
|
|
76
76
|
def test_method_list(self, client: Supermemory) -> None:
|
|
77
77
|
connection = client.connections.list()
|
|
78
78
|
assert_matches_type(ConnectionListResponse, connection, path=["response"])
|
|
79
79
|
|
|
80
|
-
@pytest.mark.skip()
|
|
80
|
+
@pytest.mark.skip(reason="Prism tests are disabled")
|
|
81
81
|
@parametrize
|
|
82
82
|
def test_method_list_with_all_params(self, client: Supermemory) -> None:
|
|
83
83
|
connection = client.connections.list(
|
|
@@ -85,7 +85,7 @@ class TestConnections:
|
|
|
85
85
|
)
|
|
86
86
|
assert_matches_type(ConnectionListResponse, connection, path=["response"])
|
|
87
87
|
|
|
88
|
-
@pytest.mark.skip()
|
|
88
|
+
@pytest.mark.skip(reason="Prism tests are disabled")
|
|
89
89
|
@parametrize
|
|
90
90
|
def test_raw_response_list(self, client: Supermemory) -> None:
|
|
91
91
|
response = client.connections.with_raw_response.list()
|
|
@@ -95,7 +95,7 @@ class TestConnections:
|
|
|
95
95
|
connection = response.parse()
|
|
96
96
|
assert_matches_type(ConnectionListResponse, connection, path=["response"])
|
|
97
97
|
|
|
98
|
-
@pytest.mark.skip()
|
|
98
|
+
@pytest.mark.skip(reason="Prism tests are disabled")
|
|
99
99
|
@parametrize
|
|
100
100
|
def test_streaming_response_list(self, client: Supermemory) -> None:
|
|
101
101
|
with client.connections.with_streaming_response.list() as response:
|
|
@@ -107,7 +107,7 @@ class TestConnections:
|
|
|
107
107
|
|
|
108
108
|
assert cast(Any, response.is_closed) is True
|
|
109
109
|
|
|
110
|
-
@pytest.mark.skip()
|
|
110
|
+
@pytest.mark.skip(reason="Prism tests are disabled")
|
|
111
111
|
@parametrize
|
|
112
112
|
def test_method_delete_by_id(self, client: Supermemory) -> None:
|
|
113
113
|
connection = client.connections.delete_by_id(
|
|
@@ -115,7 +115,7 @@ class TestConnections:
|
|
|
115
115
|
)
|
|
116
116
|
assert_matches_type(ConnectionDeleteByIDResponse, connection, path=["response"])
|
|
117
117
|
|
|
118
|
-
@pytest.mark.skip()
|
|
118
|
+
@pytest.mark.skip(reason="Prism tests are disabled")
|
|
119
119
|
@parametrize
|
|
120
120
|
def test_raw_response_delete_by_id(self, client: Supermemory) -> None:
|
|
121
121
|
response = client.connections.with_raw_response.delete_by_id(
|
|
@@ -127,7 +127,7 @@ class TestConnections:
|
|
|
127
127
|
connection = response.parse()
|
|
128
128
|
assert_matches_type(ConnectionDeleteByIDResponse, connection, path=["response"])
|
|
129
129
|
|
|
130
|
-
@pytest.mark.skip()
|
|
130
|
+
@pytest.mark.skip(reason="Prism tests are disabled")
|
|
131
131
|
@parametrize
|
|
132
132
|
def test_streaming_response_delete_by_id(self, client: Supermemory) -> None:
|
|
133
133
|
with client.connections.with_streaming_response.delete_by_id(
|
|
@@ -141,7 +141,7 @@ class TestConnections:
|
|
|
141
141
|
|
|
142
142
|
assert cast(Any, response.is_closed) is True
|
|
143
143
|
|
|
144
|
-
@pytest.mark.skip()
|
|
144
|
+
@pytest.mark.skip(reason="Prism tests are disabled")
|
|
145
145
|
@parametrize
|
|
146
146
|
def test_path_params_delete_by_id(self, client: Supermemory) -> None:
|
|
147
147
|
with pytest.raises(ValueError, match=r"Expected a non-empty value for `connection_id` but received ''"):
|
|
@@ -149,7 +149,7 @@ class TestConnections:
|
|
|
149
149
|
"",
|
|
150
150
|
)
|
|
151
151
|
|
|
152
|
-
@pytest.mark.skip()
|
|
152
|
+
@pytest.mark.skip(reason="Prism tests are disabled")
|
|
153
153
|
@parametrize
|
|
154
154
|
def test_method_delete_by_provider(self, client: Supermemory) -> None:
|
|
155
155
|
connection = client.connections.delete_by_provider(
|
|
@@ -158,7 +158,7 @@ class TestConnections:
|
|
|
158
158
|
)
|
|
159
159
|
assert_matches_type(ConnectionDeleteByProviderResponse, connection, path=["response"])
|
|
160
160
|
|
|
161
|
-
@pytest.mark.skip()
|
|
161
|
+
@pytest.mark.skip(reason="Prism tests are disabled")
|
|
162
162
|
@parametrize
|
|
163
163
|
def test_raw_response_delete_by_provider(self, client: Supermemory) -> None:
|
|
164
164
|
response = client.connections.with_raw_response.delete_by_provider(
|
|
@@ -171,7 +171,7 @@ class TestConnections:
|
|
|
171
171
|
connection = response.parse()
|
|
172
172
|
assert_matches_type(ConnectionDeleteByProviderResponse, connection, path=["response"])
|
|
173
173
|
|
|
174
|
-
@pytest.mark.skip()
|
|
174
|
+
@pytest.mark.skip(reason="Prism tests are disabled")
|
|
175
175
|
@parametrize
|
|
176
176
|
def test_streaming_response_delete_by_provider(self, client: Supermemory) -> None:
|
|
177
177
|
with client.connections.with_streaming_response.delete_by_provider(
|
|
@@ -186,7 +186,7 @@ class TestConnections:
|
|
|
186
186
|
|
|
187
187
|
assert cast(Any, response.is_closed) is True
|
|
188
188
|
|
|
189
|
-
@pytest.mark.skip()
|
|
189
|
+
@pytest.mark.skip(reason="Prism tests are disabled")
|
|
190
190
|
@parametrize
|
|
191
191
|
def test_method_get_by_id(self, client: Supermemory) -> None:
|
|
192
192
|
connection = client.connections.get_by_id(
|
|
@@ -194,7 +194,7 @@ class TestConnections:
|
|
|
194
194
|
)
|
|
195
195
|
assert_matches_type(ConnectionGetByIDResponse, connection, path=["response"])
|
|
196
196
|
|
|
197
|
-
@pytest.mark.skip()
|
|
197
|
+
@pytest.mark.skip(reason="Prism tests are disabled")
|
|
198
198
|
@parametrize
|
|
199
199
|
def test_raw_response_get_by_id(self, client: Supermemory) -> None:
|
|
200
200
|
response = client.connections.with_raw_response.get_by_id(
|
|
@@ -206,7 +206,7 @@ class TestConnections:
|
|
|
206
206
|
connection = response.parse()
|
|
207
207
|
assert_matches_type(ConnectionGetByIDResponse, connection, path=["response"])
|
|
208
208
|
|
|
209
|
-
@pytest.mark.skip()
|
|
209
|
+
@pytest.mark.skip(reason="Prism tests are disabled")
|
|
210
210
|
@parametrize
|
|
211
211
|
def test_streaming_response_get_by_id(self, client: Supermemory) -> None:
|
|
212
212
|
with client.connections.with_streaming_response.get_by_id(
|
|
@@ -220,7 +220,7 @@ class TestConnections:
|
|
|
220
220
|
|
|
221
221
|
assert cast(Any, response.is_closed) is True
|
|
222
222
|
|
|
223
|
-
@pytest.mark.skip()
|
|
223
|
+
@pytest.mark.skip(reason="Prism tests are disabled")
|
|
224
224
|
@parametrize
|
|
225
225
|
def test_path_params_get_by_id(self, client: Supermemory) -> None:
|
|
226
226
|
with pytest.raises(ValueError, match=r"Expected a non-empty value for `connection_id` but received ''"):
|
|
@@ -228,7 +228,7 @@ class TestConnections:
|
|
|
228
228
|
"",
|
|
229
229
|
)
|
|
230
230
|
|
|
231
|
-
@pytest.mark.skip()
|
|
231
|
+
@pytest.mark.skip(reason="Prism tests are disabled")
|
|
232
232
|
@parametrize
|
|
233
233
|
def test_method_get_by_tags(self, client: Supermemory) -> None:
|
|
234
234
|
connection = client.connections.get_by_tags(
|
|
@@ -237,7 +237,7 @@ class TestConnections:
|
|
|
237
237
|
)
|
|
238
238
|
assert_matches_type(ConnectionGetByTagsResponse, connection, path=["response"])
|
|
239
239
|
|
|
240
|
-
@pytest.mark.skip()
|
|
240
|
+
@pytest.mark.skip(reason="Prism tests are disabled")
|
|
241
241
|
@parametrize
|
|
242
242
|
def test_raw_response_get_by_tags(self, client: Supermemory) -> None:
|
|
243
243
|
response = client.connections.with_raw_response.get_by_tags(
|
|
@@ -250,7 +250,7 @@ class TestConnections:
|
|
|
250
250
|
connection = response.parse()
|
|
251
251
|
assert_matches_type(ConnectionGetByTagsResponse, connection, path=["response"])
|
|
252
252
|
|
|
253
|
-
@pytest.mark.skip()
|
|
253
|
+
@pytest.mark.skip(reason="Prism tests are disabled")
|
|
254
254
|
@parametrize
|
|
255
255
|
def test_streaming_response_get_by_tags(self, client: Supermemory) -> None:
|
|
256
256
|
with client.connections.with_streaming_response.get_by_tags(
|
|
@@ -265,7 +265,7 @@ class TestConnections:
|
|
|
265
265
|
|
|
266
266
|
assert cast(Any, response.is_closed) is True
|
|
267
267
|
|
|
268
|
-
@pytest.mark.skip()
|
|
268
|
+
@pytest.mark.skip(reason="Prism tests are disabled")
|
|
269
269
|
@parametrize
|
|
270
270
|
def test_method_import(self, client: Supermemory) -> None:
|
|
271
271
|
connection = client.connections.import_(
|
|
@@ -273,7 +273,7 @@ class TestConnections:
|
|
|
273
273
|
)
|
|
274
274
|
assert connection is None
|
|
275
275
|
|
|
276
|
-
@pytest.mark.skip()
|
|
276
|
+
@pytest.mark.skip(reason="Prism tests are disabled")
|
|
277
277
|
@parametrize
|
|
278
278
|
def test_method_import_with_all_params(self, client: Supermemory) -> None:
|
|
279
279
|
connection = client.connections.import_(
|
|
@@ -282,7 +282,7 @@ class TestConnections:
|
|
|
282
282
|
)
|
|
283
283
|
assert connection is None
|
|
284
284
|
|
|
285
|
-
@pytest.mark.skip()
|
|
285
|
+
@pytest.mark.skip(reason="Prism tests are disabled")
|
|
286
286
|
@parametrize
|
|
287
287
|
def test_raw_response_import(self, client: Supermemory) -> None:
|
|
288
288
|
response = client.connections.with_raw_response.import_(
|
|
@@ -294,7 +294,7 @@ class TestConnections:
|
|
|
294
294
|
connection = response.parse()
|
|
295
295
|
assert connection is None
|
|
296
296
|
|
|
297
|
-
@pytest.mark.skip()
|
|
297
|
+
@pytest.mark.skip(reason="Prism tests are disabled")
|
|
298
298
|
@parametrize
|
|
299
299
|
def test_streaming_response_import(self, client: Supermemory) -> None:
|
|
300
300
|
with client.connections.with_streaming_response.import_(
|
|
@@ -308,7 +308,7 @@ class TestConnections:
|
|
|
308
308
|
|
|
309
309
|
assert cast(Any, response.is_closed) is True
|
|
310
310
|
|
|
311
|
-
@pytest.mark.skip()
|
|
311
|
+
@pytest.mark.skip(reason="Prism tests are disabled")
|
|
312
312
|
@parametrize
|
|
313
313
|
def test_method_list_documents(self, client: Supermemory) -> None:
|
|
314
314
|
connection = client.connections.list_documents(
|
|
@@ -316,7 +316,7 @@ class TestConnections:
|
|
|
316
316
|
)
|
|
317
317
|
assert_matches_type(ConnectionListDocumentsResponse, connection, path=["response"])
|
|
318
318
|
|
|
319
|
-
@pytest.mark.skip()
|
|
319
|
+
@pytest.mark.skip(reason="Prism tests are disabled")
|
|
320
320
|
@parametrize
|
|
321
321
|
def test_method_list_documents_with_all_params(self, client: Supermemory) -> None:
|
|
322
322
|
connection = client.connections.list_documents(
|
|
@@ -325,7 +325,7 @@ class TestConnections:
|
|
|
325
325
|
)
|
|
326
326
|
assert_matches_type(ConnectionListDocumentsResponse, connection, path=["response"])
|
|
327
327
|
|
|
328
|
-
@pytest.mark.skip()
|
|
328
|
+
@pytest.mark.skip(reason="Prism tests are disabled")
|
|
329
329
|
@parametrize
|
|
330
330
|
def test_raw_response_list_documents(self, client: Supermemory) -> None:
|
|
331
331
|
response = client.connections.with_raw_response.list_documents(
|
|
@@ -337,7 +337,7 @@ class TestConnections:
|
|
|
337
337
|
connection = response.parse()
|
|
338
338
|
assert_matches_type(ConnectionListDocumentsResponse, connection, path=["response"])
|
|
339
339
|
|
|
340
|
-
@pytest.mark.skip()
|
|
340
|
+
@pytest.mark.skip(reason="Prism tests are disabled")
|
|
341
341
|
@parametrize
|
|
342
342
|
def test_streaming_response_list_documents(self, client: Supermemory) -> None:
|
|
343
343
|
with client.connections.with_streaming_response.list_documents(
|
|
@@ -357,7 +357,7 @@ class TestAsyncConnections:
|
|
|
357
357
|
"async_client", [False, True, {"http_client": "aiohttp"}], indirect=True, ids=["loose", "strict", "aiohttp"]
|
|
358
358
|
)
|
|
359
359
|
|
|
360
|
-
@pytest.mark.skip()
|
|
360
|
+
@pytest.mark.skip(reason="Prism tests are disabled")
|
|
361
361
|
@parametrize
|
|
362
362
|
async def test_method_create(self, async_client: AsyncSupermemory) -> None:
|
|
363
363
|
connection = await async_client.connections.create(
|
|
@@ -365,7 +365,7 @@ class TestAsyncConnections:
|
|
|
365
365
|
)
|
|
366
366
|
assert_matches_type(ConnectionCreateResponse, connection, path=["response"])
|
|
367
367
|
|
|
368
|
-
@pytest.mark.skip()
|
|
368
|
+
@pytest.mark.skip(reason="Prism tests are disabled")
|
|
369
369
|
@parametrize
|
|
370
370
|
async def test_method_create_with_all_params(self, async_client: AsyncSupermemory) -> None:
|
|
371
371
|
connection = await async_client.connections.create(
|
|
@@ -377,7 +377,7 @@ class TestAsyncConnections:
|
|
|
377
377
|
)
|
|
378
378
|
assert_matches_type(ConnectionCreateResponse, connection, path=["response"])
|
|
379
379
|
|
|
380
|
-
@pytest.mark.skip()
|
|
380
|
+
@pytest.mark.skip(reason="Prism tests are disabled")
|
|
381
381
|
@parametrize
|
|
382
382
|
async def test_raw_response_create(self, async_client: AsyncSupermemory) -> None:
|
|
383
383
|
response = await async_client.connections.with_raw_response.create(
|
|
@@ -389,7 +389,7 @@ class TestAsyncConnections:
|
|
|
389
389
|
connection = await response.parse()
|
|
390
390
|
assert_matches_type(ConnectionCreateResponse, connection, path=["response"])
|
|
391
391
|
|
|
392
|
-
@pytest.mark.skip()
|
|
392
|
+
@pytest.mark.skip(reason="Prism tests are disabled")
|
|
393
393
|
@parametrize
|
|
394
394
|
async def test_streaming_response_create(self, async_client: AsyncSupermemory) -> None:
|
|
395
395
|
async with async_client.connections.with_streaming_response.create(
|
|
@@ -403,13 +403,13 @@ class TestAsyncConnections:
|
|
|
403
403
|
|
|
404
404
|
assert cast(Any, response.is_closed) is True
|
|
405
405
|
|
|
406
|
-
@pytest.mark.skip()
|
|
406
|
+
@pytest.mark.skip(reason="Prism tests are disabled")
|
|
407
407
|
@parametrize
|
|
408
408
|
async def test_method_list(self, async_client: AsyncSupermemory) -> None:
|
|
409
409
|
connection = await async_client.connections.list()
|
|
410
410
|
assert_matches_type(ConnectionListResponse, connection, path=["response"])
|
|
411
411
|
|
|
412
|
-
@pytest.mark.skip()
|
|
412
|
+
@pytest.mark.skip(reason="Prism tests are disabled")
|
|
413
413
|
@parametrize
|
|
414
414
|
async def test_method_list_with_all_params(self, async_client: AsyncSupermemory) -> None:
|
|
415
415
|
connection = await async_client.connections.list(
|
|
@@ -417,7 +417,7 @@ class TestAsyncConnections:
|
|
|
417
417
|
)
|
|
418
418
|
assert_matches_type(ConnectionListResponse, connection, path=["response"])
|
|
419
419
|
|
|
420
|
-
@pytest.mark.skip()
|
|
420
|
+
@pytest.mark.skip(reason="Prism tests are disabled")
|
|
421
421
|
@parametrize
|
|
422
422
|
async def test_raw_response_list(self, async_client: AsyncSupermemory) -> None:
|
|
423
423
|
response = await async_client.connections.with_raw_response.list()
|
|
@@ -427,7 +427,7 @@ class TestAsyncConnections:
|
|
|
427
427
|
connection = await response.parse()
|
|
428
428
|
assert_matches_type(ConnectionListResponse, connection, path=["response"])
|
|
429
429
|
|
|
430
|
-
@pytest.mark.skip()
|
|
430
|
+
@pytest.mark.skip(reason="Prism tests are disabled")
|
|
431
431
|
@parametrize
|
|
432
432
|
async def test_streaming_response_list(self, async_client: AsyncSupermemory) -> None:
|
|
433
433
|
async with async_client.connections.with_streaming_response.list() as response:
|
|
@@ -439,7 +439,7 @@ class TestAsyncConnections:
|
|
|
439
439
|
|
|
440
440
|
assert cast(Any, response.is_closed) is True
|
|
441
441
|
|
|
442
|
-
@pytest.mark.skip()
|
|
442
|
+
@pytest.mark.skip(reason="Prism tests are disabled")
|
|
443
443
|
@parametrize
|
|
444
444
|
async def test_method_delete_by_id(self, async_client: AsyncSupermemory) -> None:
|
|
445
445
|
connection = await async_client.connections.delete_by_id(
|
|
@@ -447,7 +447,7 @@ class TestAsyncConnections:
|
|
|
447
447
|
)
|
|
448
448
|
assert_matches_type(ConnectionDeleteByIDResponse, connection, path=["response"])
|
|
449
449
|
|
|
450
|
-
@pytest.mark.skip()
|
|
450
|
+
@pytest.mark.skip(reason="Prism tests are disabled")
|
|
451
451
|
@parametrize
|
|
452
452
|
async def test_raw_response_delete_by_id(self, async_client: AsyncSupermemory) -> None:
|
|
453
453
|
response = await async_client.connections.with_raw_response.delete_by_id(
|
|
@@ -459,7 +459,7 @@ class TestAsyncConnections:
|
|
|
459
459
|
connection = await response.parse()
|
|
460
460
|
assert_matches_type(ConnectionDeleteByIDResponse, connection, path=["response"])
|
|
461
461
|
|
|
462
|
-
@pytest.mark.skip()
|
|
462
|
+
@pytest.mark.skip(reason="Prism tests are disabled")
|
|
463
463
|
@parametrize
|
|
464
464
|
async def test_streaming_response_delete_by_id(self, async_client: AsyncSupermemory) -> None:
|
|
465
465
|
async with async_client.connections.with_streaming_response.delete_by_id(
|
|
@@ -473,7 +473,7 @@ class TestAsyncConnections:
|
|
|
473
473
|
|
|
474
474
|
assert cast(Any, response.is_closed) is True
|
|
475
475
|
|
|
476
|
-
@pytest.mark.skip()
|
|
476
|
+
@pytest.mark.skip(reason="Prism tests are disabled")
|
|
477
477
|
@parametrize
|
|
478
478
|
async def test_path_params_delete_by_id(self, async_client: AsyncSupermemory) -> None:
|
|
479
479
|
with pytest.raises(ValueError, match=r"Expected a non-empty value for `connection_id` but received ''"):
|
|
@@ -481,7 +481,7 @@ class TestAsyncConnections:
|
|
|
481
481
|
"",
|
|
482
482
|
)
|
|
483
483
|
|
|
484
|
-
@pytest.mark.skip()
|
|
484
|
+
@pytest.mark.skip(reason="Prism tests are disabled")
|
|
485
485
|
@parametrize
|
|
486
486
|
async def test_method_delete_by_provider(self, async_client: AsyncSupermemory) -> None:
|
|
487
487
|
connection = await async_client.connections.delete_by_provider(
|
|
@@ -490,7 +490,7 @@ class TestAsyncConnections:
|
|
|
490
490
|
)
|
|
491
491
|
assert_matches_type(ConnectionDeleteByProviderResponse, connection, path=["response"])
|
|
492
492
|
|
|
493
|
-
@pytest.mark.skip()
|
|
493
|
+
@pytest.mark.skip(reason="Prism tests are disabled")
|
|
494
494
|
@parametrize
|
|
495
495
|
async def test_raw_response_delete_by_provider(self, async_client: AsyncSupermemory) -> None:
|
|
496
496
|
response = await async_client.connections.with_raw_response.delete_by_provider(
|
|
@@ -503,7 +503,7 @@ class TestAsyncConnections:
|
|
|
503
503
|
connection = await response.parse()
|
|
504
504
|
assert_matches_type(ConnectionDeleteByProviderResponse, connection, path=["response"])
|
|
505
505
|
|
|
506
|
-
@pytest.mark.skip()
|
|
506
|
+
@pytest.mark.skip(reason="Prism tests are disabled")
|
|
507
507
|
@parametrize
|
|
508
508
|
async def test_streaming_response_delete_by_provider(self, async_client: AsyncSupermemory) -> None:
|
|
509
509
|
async with async_client.connections.with_streaming_response.delete_by_provider(
|
|
@@ -518,7 +518,7 @@ class TestAsyncConnections:
|
|
|
518
518
|
|
|
519
519
|
assert cast(Any, response.is_closed) is True
|
|
520
520
|
|
|
521
|
-
@pytest.mark.skip()
|
|
521
|
+
@pytest.mark.skip(reason="Prism tests are disabled")
|
|
522
522
|
@parametrize
|
|
523
523
|
async def test_method_get_by_id(self, async_client: AsyncSupermemory) -> None:
|
|
524
524
|
connection = await async_client.connections.get_by_id(
|
|
@@ -526,7 +526,7 @@ class TestAsyncConnections:
|
|
|
526
526
|
)
|
|
527
527
|
assert_matches_type(ConnectionGetByIDResponse, connection, path=["response"])
|
|
528
528
|
|
|
529
|
-
@pytest.mark.skip()
|
|
529
|
+
@pytest.mark.skip(reason="Prism tests are disabled")
|
|
530
530
|
@parametrize
|
|
531
531
|
async def test_raw_response_get_by_id(self, async_client: AsyncSupermemory) -> None:
|
|
532
532
|
response = await async_client.connections.with_raw_response.get_by_id(
|
|
@@ -538,7 +538,7 @@ class TestAsyncConnections:
|
|
|
538
538
|
connection = await response.parse()
|
|
539
539
|
assert_matches_type(ConnectionGetByIDResponse, connection, path=["response"])
|
|
540
540
|
|
|
541
|
-
@pytest.mark.skip()
|
|
541
|
+
@pytest.mark.skip(reason="Prism tests are disabled")
|
|
542
542
|
@parametrize
|
|
543
543
|
async def test_streaming_response_get_by_id(self, async_client: AsyncSupermemory) -> None:
|
|
544
544
|
async with async_client.connections.with_streaming_response.get_by_id(
|
|
@@ -552,7 +552,7 @@ class TestAsyncConnections:
|
|
|
552
552
|
|
|
553
553
|
assert cast(Any, response.is_closed) is True
|
|
554
554
|
|
|
555
|
-
@pytest.mark.skip()
|
|
555
|
+
@pytest.mark.skip(reason="Prism tests are disabled")
|
|
556
556
|
@parametrize
|
|
557
557
|
async def test_path_params_get_by_id(self, async_client: AsyncSupermemory) -> None:
|
|
558
558
|
with pytest.raises(ValueError, match=r"Expected a non-empty value for `connection_id` but received ''"):
|
|
@@ -560,7 +560,7 @@ class TestAsyncConnections:
|
|
|
560
560
|
"",
|
|
561
561
|
)
|
|
562
562
|
|
|
563
|
-
@pytest.mark.skip()
|
|
563
|
+
@pytest.mark.skip(reason="Prism tests are disabled")
|
|
564
564
|
@parametrize
|
|
565
565
|
async def test_method_get_by_tags(self, async_client: AsyncSupermemory) -> None:
|
|
566
566
|
connection = await async_client.connections.get_by_tags(
|
|
@@ -569,7 +569,7 @@ class TestAsyncConnections:
|
|
|
569
569
|
)
|
|
570
570
|
assert_matches_type(ConnectionGetByTagsResponse, connection, path=["response"])
|
|
571
571
|
|
|
572
|
-
@pytest.mark.skip()
|
|
572
|
+
@pytest.mark.skip(reason="Prism tests are disabled")
|
|
573
573
|
@parametrize
|
|
574
574
|
async def test_raw_response_get_by_tags(self, async_client: AsyncSupermemory) -> None:
|
|
575
575
|
response = await async_client.connections.with_raw_response.get_by_tags(
|
|
@@ -582,7 +582,7 @@ class TestAsyncConnections:
|
|
|
582
582
|
connection = await response.parse()
|
|
583
583
|
assert_matches_type(ConnectionGetByTagsResponse, connection, path=["response"])
|
|
584
584
|
|
|
585
|
-
@pytest.mark.skip()
|
|
585
|
+
@pytest.mark.skip(reason="Prism tests are disabled")
|
|
586
586
|
@parametrize
|
|
587
587
|
async def test_streaming_response_get_by_tags(self, async_client: AsyncSupermemory) -> None:
|
|
588
588
|
async with async_client.connections.with_streaming_response.get_by_tags(
|
|
@@ -597,7 +597,7 @@ class TestAsyncConnections:
|
|
|
597
597
|
|
|
598
598
|
assert cast(Any, response.is_closed) is True
|
|
599
599
|
|
|
600
|
-
@pytest.mark.skip()
|
|
600
|
+
@pytest.mark.skip(reason="Prism tests are disabled")
|
|
601
601
|
@parametrize
|
|
602
602
|
async def test_method_import(self, async_client: AsyncSupermemory) -> None:
|
|
603
603
|
connection = await async_client.connections.import_(
|
|
@@ -605,7 +605,7 @@ class TestAsyncConnections:
|
|
|
605
605
|
)
|
|
606
606
|
assert connection is None
|
|
607
607
|
|
|
608
|
-
@pytest.mark.skip()
|
|
608
|
+
@pytest.mark.skip(reason="Prism tests are disabled")
|
|
609
609
|
@parametrize
|
|
610
610
|
async def test_method_import_with_all_params(self, async_client: AsyncSupermemory) -> None:
|
|
611
611
|
connection = await async_client.connections.import_(
|
|
@@ -614,7 +614,7 @@ class TestAsyncConnections:
|
|
|
614
614
|
)
|
|
615
615
|
assert connection is None
|
|
616
616
|
|
|
617
|
-
@pytest.mark.skip()
|
|
617
|
+
@pytest.mark.skip(reason="Prism tests are disabled")
|
|
618
618
|
@parametrize
|
|
619
619
|
async def test_raw_response_import(self, async_client: AsyncSupermemory) -> None:
|
|
620
620
|
response = await async_client.connections.with_raw_response.import_(
|
|
@@ -626,7 +626,7 @@ class TestAsyncConnections:
|
|
|
626
626
|
connection = await response.parse()
|
|
627
627
|
assert connection is None
|
|
628
628
|
|
|
629
|
-
@pytest.mark.skip()
|
|
629
|
+
@pytest.mark.skip(reason="Prism tests are disabled")
|
|
630
630
|
@parametrize
|
|
631
631
|
async def test_streaming_response_import(self, async_client: AsyncSupermemory) -> None:
|
|
632
632
|
async with async_client.connections.with_streaming_response.import_(
|
|
@@ -640,7 +640,7 @@ class TestAsyncConnections:
|
|
|
640
640
|
|
|
641
641
|
assert cast(Any, response.is_closed) is True
|
|
642
642
|
|
|
643
|
-
@pytest.mark.skip()
|
|
643
|
+
@pytest.mark.skip(reason="Prism tests are disabled")
|
|
644
644
|
@parametrize
|
|
645
645
|
async def test_method_list_documents(self, async_client: AsyncSupermemory) -> None:
|
|
646
646
|
connection = await async_client.connections.list_documents(
|
|
@@ -648,7 +648,7 @@ class TestAsyncConnections:
|
|
|
648
648
|
)
|
|
649
649
|
assert_matches_type(ConnectionListDocumentsResponse, connection, path=["response"])
|
|
650
650
|
|
|
651
|
-
@pytest.mark.skip()
|
|
651
|
+
@pytest.mark.skip(reason="Prism tests are disabled")
|
|
652
652
|
@parametrize
|
|
653
653
|
async def test_method_list_documents_with_all_params(self, async_client: AsyncSupermemory) -> None:
|
|
654
654
|
connection = await async_client.connections.list_documents(
|
|
@@ -657,7 +657,7 @@ class TestAsyncConnections:
|
|
|
657
657
|
)
|
|
658
658
|
assert_matches_type(ConnectionListDocumentsResponse, connection, path=["response"])
|
|
659
659
|
|
|
660
|
-
@pytest.mark.skip()
|
|
660
|
+
@pytest.mark.skip(reason="Prism tests are disabled")
|
|
661
661
|
@parametrize
|
|
662
662
|
async def test_raw_response_list_documents(self, async_client: AsyncSupermemory) -> None:
|
|
663
663
|
response = await async_client.connections.with_raw_response.list_documents(
|
|
@@ -669,7 +669,7 @@ class TestAsyncConnections:
|
|
|
669
669
|
connection = await response.parse()
|
|
670
670
|
assert_matches_type(ConnectionListDocumentsResponse, connection, path=["response"])
|
|
671
671
|
|
|
672
|
-
@pytest.mark.skip()
|
|
672
|
+
@pytest.mark.skip(reason="Prism tests are disabled")
|
|
673
673
|
@parametrize
|
|
674
674
|
async def test_streaming_response_list_documents(self, async_client: AsyncSupermemory) -> None:
|
|
675
675
|
async with async_client.connections.with_streaming_response.list_documents(
|