1
0

- Update to 8.4.3:

- Client is compatible with Elasticsearch 8.4.3
  - Added the error_trace, filter_path, human and pretty
    parameters to the get_source API.
  - Added the ext parameter to the search API.
  - Added the ext parameter to the async_search.submit API.
  - Added the ext parameter to the fleet.search API.
  - Added the knn parameter to the search API.
  - Added the knn parameter to the async_search.submit API.
  - Added the cache_size parameter to the
    ml.start_trained_model_deployment API.
  - Added the security.update_api_key API.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-elasticsearch?expand=0&rev=29
This commit is contained in:
2022-10-17 21:17:30 +00:00
committed by Git OBS Bridge
parent 390e993b19
commit a0287c6372
5 changed files with 20 additions and 45 deletions

View File

@@ -1,39 +0,0 @@
Index: elasticsearch-py-8.3.3/test_elasticsearch/test_helpers.py
===================================================================
--- elasticsearch-py-8.3.3.orig/test_elasticsearch/test_helpers.py
+++ elasticsearch-py-8.3.3/test_elasticsearch/test_helpers.py
@@ -19,7 +19,7 @@
import threading
import time
-import mock
+from unittest import mock
import pytest
from elasticsearch import Elasticsearch, helpers
Index: elasticsearch-py-8.3.3/test_elasticsearch/test_server/test_helpers.py
===================================================================
--- elasticsearch-py-8.3.3.orig/test_elasticsearch/test_server/test_helpers.py
+++ elasticsearch-py-8.3.3/test_elasticsearch/test_server/test_helpers.py
@@ -21,7 +21,7 @@ from datetime import datetime, timedelta
import pytest
from dateutil import tz
from elastic_transport import ApiResponseMeta, ObjectApiResponse
-from mock import call, patch
+from unittest.mock import call, patch
from elasticsearch import ApiError, helpers
from elasticsearch.helpers import ScanError
Index: elasticsearch-py-8.3.3/test_elasticsearch/test_async/test_server/test_helpers.py
===================================================================
--- elasticsearch-py-8.3.3.orig/test_elasticsearch/test_async/test_server/test_helpers.py
+++ elasticsearch-py-8.3.3/test_elasticsearch/test_async/test_server/test_helpers.py
@@ -20,7 +20,7 @@ from datetime import datetime, timedelta
import pytest
from elastic_transport import ApiResponseMeta, ObjectApiResponse
-from mock import MagicMock, call, patch
+from unittest.mock import MagicMock, call, patch
from elasticsearch import helpers
from elasticsearch.exceptions import ApiError