vectoramp 0.3.0__tar.gz → 0.3.1__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.
- {vectoramp-0.3.0 → vectoramp-0.3.1}/PKG-INFO +1 -1
- {vectoramp-0.3.0 → vectoramp-0.3.1}/pyproject.toml +1 -1
- {vectoramp-0.3.0 → vectoramp-0.3.1}/src/vectoramp/resources.py +1 -1
- {vectoramp-0.3.0 → vectoramp-0.3.1}/src/vectoramp/transport.py +1 -1
- {vectoramp-0.3.0 → vectoramp-0.3.1}/tests/test_client.py +2 -2
- {vectoramp-0.3.0 → vectoramp-0.3.1}/.github/images/logo-full-dark.svg +0 -0
- {vectoramp-0.3.0 → vectoramp-0.3.1}/.github/images/logo-full-light.svg +0 -0
- {vectoramp-0.3.0 → vectoramp-0.3.1}/.github/workflows/ci.yml +0 -0
- {vectoramp-0.3.0 → vectoramp-0.3.1}/.github/workflows/publish.yml +0 -0
- {vectoramp-0.3.0 → vectoramp-0.3.1}/.gitignore +0 -0
- {vectoramp-0.3.0 → vectoramp-0.3.1}/CHANGELOG.md +0 -0
- {vectoramp-0.3.0 → vectoramp-0.3.1}/CONTRIBUTING.md +0 -0
- {vectoramp-0.3.0 → vectoramp-0.3.1}/LICENSE +0 -0
- {vectoramp-0.3.0 → vectoramp-0.3.1}/NOTICE +0 -0
- {vectoramp-0.3.0 → vectoramp-0.3.1}/README.md +0 -0
- {vectoramp-0.3.0 → vectoramp-0.3.1}/SECURITY.md +0 -0
- {vectoramp-0.3.0 → vectoramp-0.3.1}/src/vectoramp/__init__.py +0 -0
- {vectoramp-0.3.0 → vectoramp-0.3.1}/src/vectoramp/client.py +0 -0
- {vectoramp-0.3.0 → vectoramp-0.3.1}/src/vectoramp/connections.py +0 -0
- {vectoramp-0.3.0 → vectoramp-0.3.1}/src/vectoramp/embeddings.py +0 -0
- {vectoramp-0.3.0 → vectoramp-0.3.1}/src/vectoramp/exceptions.py +0 -0
- {vectoramp-0.3.0 → vectoramp-0.3.1}/src/vectoramp/py.typed +0 -0
- {vectoramp-0.3.0 → vectoramp-0.3.1}/src/vectoramp/sources.py +0 -0
- {vectoramp-0.3.0 → vectoramp-0.3.1}/src/vectoramp/types.py +0 -0
- {vectoramp-0.3.0 → vectoramp-0.3.1}/tests/test_connections_and_sources.py +0 -0
|
@@ -710,7 +710,7 @@ class DatasetsResource:
|
|
|
710
710
|
if write_concern is not None:
|
|
711
711
|
body["write_concern"] = dict(write_concern)
|
|
712
712
|
return self._transport.request(
|
|
713
|
-
"DELETE", f"/
|
|
713
|
+
"DELETE", f"/datasets/{dataset_id}/vectors", json_body=body
|
|
714
714
|
)
|
|
715
715
|
|
|
716
716
|
def embed(
|
|
@@ -157,7 +157,7 @@ class RestTransport(BaseTransport):
|
|
|
157
157
|
return urljoin(self.base_url, path.lstrip("/"))
|
|
158
158
|
|
|
159
159
|
def _headers(self, headers: Optional[Mapping[str, str]] = None) -> Dict[str, str]:
|
|
160
|
-
merged = {"X-API-Key": self.api_key, "User-Agent": "vectoramp-python/0.3.
|
|
160
|
+
merged = {"X-API-Key": self.api_key, "User-Agent": "vectoramp-python/0.3.1"}
|
|
161
161
|
if headers:
|
|
162
162
|
merged.update(headers)
|
|
163
163
|
return merged
|
|
@@ -251,10 +251,10 @@ def test_delete_vectors_payload_and_dataset_helper() -> None:
|
|
|
251
251
|
assert calls == [
|
|
252
252
|
(
|
|
253
253
|
"DELETE",
|
|
254
|
-
"/
|
|
254
|
+
"/datasets/ds_1/vectors",
|
|
255
255
|
{"ids": ["vec-a", 42], "write_concern": {"wait": True}},
|
|
256
256
|
),
|
|
257
|
-
("DELETE", "/
|
|
257
|
+
("DELETE", "/datasets/ds_1/vectors", {"ids": ["vec-c"]}),
|
|
258
258
|
]
|
|
259
259
|
|
|
260
260
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|