meilisearch-python-sdk 4.7.0__py3-none-any.whl → 4.7.2__py3-none-any.whl

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 meilisearch-python-sdk might be problematic. Click here for more details.

@@ -1 +1 @@
1
- VERSION = "4.7.0"
1
+ VERSION = "4.7.2"
@@ -3785,7 +3785,7 @@ class AsyncIndex(_BaseIndex):
3785
3785
  """
3786
3786
  response = await self._http_requests.patch(
3787
3787
  f"{self._settings_url}/typo-tolerance",
3788
- typo_tolerance.model_dump(by_alias=True),
3788
+ typo_tolerance.model_dump(by_alias=True, exclude_unset=True),
3789
3789
  compress=compress,
3790
3790
  )
3791
3791
 
@@ -7401,7 +7401,7 @@ class Index(_BaseIndex):
7401
7401
  """
7402
7402
  response = self._http_requests.patch(
7403
7403
  f"{self._settings_url}/typo-tolerance",
7404
- typo_tolerance.model_dump(by_alias=True),
7404
+ typo_tolerance.model_dump(by_alias=True, exclude_unset=True),
7405
7405
  compress=compress,
7406
7406
  )
7407
7407
 
@@ -8261,7 +8261,7 @@ async def _async_load_documents_from_file(
8261
8261
  and not csv_delimiter.isascii()
8262
8262
  ):
8263
8263
  raise ValueError("csv_delimiter must be a single ascii character")
8264
- with open(file_path) as f: # noqa: ASYNC101 ASYNC230
8264
+ with open(file_path) as f: # noqa: ASYNC230
8265
8265
  if csv_delimiter:
8266
8266
  documents = await loop.run_in_executor(
8267
8267
  None, partial(DictReader, f, delimiter=csv_delimiter)
@@ -8271,7 +8271,7 @@ async def _async_load_documents_from_file(
8271
8271
  return list(documents)
8272
8272
 
8273
8273
  if file_path.suffix == ".ndjson":
8274
- with open(file_path) as f: # noqa: ASYNC101 ASYNC230
8274
+ with open(file_path) as f: # noqa: ASYNC230
8275
8275
  return [await loop.run_in_executor(None, partial(json_handler.loads, x)) for x in f]
8276
8276
 
8277
8277
  async with aiofiles.open(file_path) as f: # type: ignore
@@ -52,7 +52,7 @@ class TaskStatus(CamelBase):
52
52
  results: list[TaskResult]
53
53
  total: int
54
54
  limit: int
55
- from_: int = Field(..., alias="from")
55
+ from_: int | None = Field(None, alias="from")
56
56
  next: int | None = None
57
57
 
58
58
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: meilisearch-python-sdk
3
- Version: 4.7.0
3
+ Version: 4.7.2
4
4
  Summary: A Python client providing both async and sync support for the Meilisearch API
5
5
  Project-URL: repository, https://github.com/sanders41/meilisearch-python-sdk
6
6
  Project-URL: homepage, https://github.com/sanders41/meilisearch-python-sdk
@@ -4,10 +4,10 @@ meilisearch_python_sdk/_client.py,sha256=KsQkSoZEAnXK2H0QWc-tOOczOAE8kuLUssxmd5j
4
4
  meilisearch_python_sdk/_http_requests.py,sha256=O3M3n-t1jAKwccWowPbk-HPD3ExtHq8a3XhnZT5facs,6746
5
5
  meilisearch_python_sdk/_task.py,sha256=QgVcqMlZdURRS_oYpB_bTBa5dvT3Sp_-O0-s6TqAxHk,12485
6
6
  meilisearch_python_sdk/_utils.py,sha256=NoCDxJPhjABeuSxFTNCih585UDWdXEUBD_FvdgtScQw,1539
7
- meilisearch_python_sdk/_version.py,sha256=9ZO0Op9iPJQczfyZhY_ZoIzaKpwbMIYQQKQZCdA3NCg,18
7
+ meilisearch_python_sdk/_version.py,sha256=Zt3blf3grzBfdS51dr-gmLIruUhL0rGHx7IXjJqi54o,18
8
8
  meilisearch_python_sdk/decorators.py,sha256=njMn40P-qOzKGGQLCDpsBKWyj2ai10s4XG4IUBSHoD4,8674
9
9
  meilisearch_python_sdk/errors.py,sha256=RNNHXtXLBiCVZaLM2MeKKs9RbRuE-SLRttiPeVAEXgA,2133
10
- meilisearch_python_sdk/index.py,sha256=Yhk85aA8ArBB48P8e3iEOYqei7CONEEJtQEXuW_hKHc,347474
10
+ meilisearch_python_sdk/index.py,sha256=7yZV7wuGpY0h3n6670cedH4nTIRNzU124aVT-YyPlLY,347496
11
11
  meilisearch_python_sdk/json_handler.py,sha256=c1rGKzYlE0dGfLygQjPqVUNfQkN1JvafBGmIx31JW8g,2044
12
12
  meilisearch_python_sdk/plugins.py,sha256=YySzTuVr4IrogTgrP8q-gZPsew8TwedopjWnTj5eV48,3607
13
13
  meilisearch_python_sdk/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -20,9 +20,9 @@ meilisearch_python_sdk/models/health.py,sha256=hvruti7ylsk7bAh8RPOhTPcRrjx6MPgdk
20
20
  meilisearch_python_sdk/models/index.py,sha256=WLQOi3_HChko134FkRU1H3_cJjhHJCFclcx4oDBlqHU,1228
21
21
  meilisearch_python_sdk/models/search.py,sha256=ZySZyA18QuJavz82gK7Kkqfp0fIxWVervCw24W6bToA,3487
22
22
  meilisearch_python_sdk/models/settings.py,sha256=inmP9PbjrgLVq0_9z3750Enhri3PX0lLj2HTLytWAt4,5323
23
- meilisearch_python_sdk/models/task.py,sha256=_PyuH5tSlHCKMwFsx1nMKjFgc8bDBZxscKYZOdf-4pg,2166
23
+ meilisearch_python_sdk/models/task.py,sha256=JVYF46ylD-XwqVVNq2offhLOkljaGxPyRVuF6PwLOBU,2174
24
24
  meilisearch_python_sdk/models/version.py,sha256=YDu-aj5H-d6nSaWRTXzlwWghmZAoiknaw250UyEd48I,215
25
- meilisearch_python_sdk-4.7.0.dist-info/METADATA,sha256=2zkfBlx-1V1zXDRIURXr--QAcbei3RUF_XgC-ydlbBo,9763
26
- meilisearch_python_sdk-4.7.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
27
- meilisearch_python_sdk-4.7.0.dist-info/licenses/LICENSE,sha256=xVzevI1TrlKfM0plmJ7vfK1Muu0V9n-dGE8RnDrOFlM,1069
28
- meilisearch_python_sdk-4.7.0.dist-info/RECORD,,
25
+ meilisearch_python_sdk-4.7.2.dist-info/METADATA,sha256=N_ZlULj05-wdmIV9GvxoS8Z5jvZp94HFOs0m3-s8jiA,9763
26
+ meilisearch_python_sdk-4.7.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
27
+ meilisearch_python_sdk-4.7.2.dist-info/licenses/LICENSE,sha256=xVzevI1TrlKfM0plmJ7vfK1Muu0V9n-dGE8RnDrOFlM,1069
28
+ meilisearch_python_sdk-4.7.2.dist-info/RECORD,,