hermes-client-python 1.8.149__tar.gz → 1.9.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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: hermes-client-python
3
- Version: 1.8.149
3
+ Version: 1.9.1
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
@@ -145,10 +145,12 @@ See [query types](src/hermes_client_python/types.py) and the
145
145
  ```python
146
146
  results = await client.search(
147
147
  "articles",
148
- query={"boolean": {
149
- "must": [{"match": {"field": "title", "text": "search"}}],
150
- "must_not": [{"term": {"field": "title", "term": "draft"}}],
151
- }},
148
+ query={
149
+ "boolean": {
150
+ "must": [{"match": {"field": "title", "text": "search"}}],
151
+ "must_not": [{"term": {"field": "title", "term": "draft"}}],
152
+ }
153
+ },
152
154
  fields_to_load=["title"],
153
155
  )
154
156
  ```
@@ -121,10 +121,12 @@ See [query types](src/hermes_client_python/types.py) and the
121
121
  ```python
122
122
  results = await client.search(
123
123
  "articles",
124
- query={"boolean": {
125
- "must": [{"match": {"field": "title", "text": "search"}}],
126
- "must_not": [{"term": {"field": "title", "term": "draft"}}],
127
- }},
124
+ query={
125
+ "boolean": {
126
+ "must": [{"match": {"field": "title", "text": "search"}}],
127
+ "must_not": [{"term": {"field": "title", "term": "draft"}}],
128
+ }
129
+ },
128
130
  fields_to_load=["title"],
129
131
  )
130
132
  ```
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "hermes-client-python"
7
- version = "1.8.149"
7
+ version = "1.9.1"
8
8
  description = "Async Python client for Hermes search server"
9
9
  readme = "README.md"
10
10
  license = "MIT"