hermes-client-python 1.8.121__tar.gz → 1.8.123__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.
@@ -2,6 +2,9 @@
2
2
  target/
3
3
  /dist/
4
4
 
5
+ # Local agent scratch and reproducible review/benchmark evidence
6
+ /.context/
7
+
5
8
  # Data files (generated indexes, processed data)
6
9
  /data/
7
10
  *.zst
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: hermes-client-python
3
- Version: 1.8.121
3
+ Version: 1.8.123
4
4
  Summary: Async Python client for Hermes search server
5
5
  Project-URL: Homepage, https://github.com/SpaceFrontiers/hermes
6
6
  Project-URL: Repository, https://github.com/SpaceFrontiers/hermes
@@ -215,7 +215,7 @@ await client.search(
215
215
  )
216
216
  ```
217
217
 
218
- Other supported variants are `binary_dense_vector`, `boost`, `range`,
218
+ Other supported variants are `phrase`, `binary_dense_vector`, `boost`, `range`,
219
219
  `prefix`, and `all`. Search results expose the full `DocAddress` needed by
220
220
  `get_document()`:
221
221
 
@@ -230,13 +230,13 @@ Every RPC accepts an optional `timeout` in seconds. A per-call value overrides
230
230
  the client default:
231
231
 
232
232
  ```python
233
- client = HermesClient("localhost:50051", default_timeout=5.0)
234
- results = await client.search(
235
- "articles",
236
- query={"all": {}},
237
- timeout=0.5,
238
- )
239
- await client.force_merge("articles", timeout=3600)
233
+ async with HermesClient("localhost:50051", default_timeout=5.0) as client:
234
+ results = await client.search(
235
+ "articles",
236
+ query={"all": {}},
237
+ timeout=0.5,
238
+ )
239
+ await client.force_merge("articles", timeout=3600)
240
240
  ```
241
241
 
242
242
  gRPC failures raise `grpc.RpcError` (normally
@@ -191,7 +191,7 @@ await client.search(
191
191
  )
192
192
  ```
193
193
 
194
- Other supported variants are `binary_dense_vector`, `boost`, `range`,
194
+ Other supported variants are `phrase`, `binary_dense_vector`, `boost`, `range`,
195
195
  `prefix`, and `all`. Search results expose the full `DocAddress` needed by
196
196
  `get_document()`:
197
197
 
@@ -206,13 +206,13 @@ Every RPC accepts an optional `timeout` in seconds. A per-call value overrides
206
206
  the client default:
207
207
 
208
208
  ```python
209
- client = HermesClient("localhost:50051", default_timeout=5.0)
210
- results = await client.search(
211
- "articles",
212
- query={"all": {}},
213
- timeout=0.5,
214
- )
215
- await client.force_merge("articles", timeout=3600)
209
+ async with HermesClient("localhost:50051", default_timeout=5.0) as client:
210
+ results = await client.search(
211
+ "articles",
212
+ query={"all": {}},
213
+ timeout=0.5,
214
+ )
215
+ await client.force_merge("articles", timeout=3600)
216
216
  ```
217
217
 
218
218
  gRPC failures raise `grpc.RpcError` (normally
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "hermes-client-python"
7
- version = "1.8.121"
7
+ version = "1.8.123"
8
8
  description = "Async Python client for Hermes search server"
9
9
  readme = "README.md"
10
10
  license = "MIT"