From 6eeb2f9d3b3a6df2c86bb52c7b634ee35ec898f6 Mon Sep 17 00:00:00 2001 From: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com> Date: Tue, 21 Feb 2023 11:45:06 -0500 Subject: [PATCH] Add deprecation warning to high-level python client (#3007) Signed-off-by: Fanit Kolchina (cherry picked from commit 921979064f0344c80d6e889fc45b5ad359089363) --- _clients/python-high-level.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/_clients/python-high-level.md b/_clients/python-high-level.md index 81dce96f26..ff529eb0cd 100644 --- a/_clients/python-high-level.md +++ b/_clients/python-high-level.md @@ -4,6 +4,9 @@ title: High-level Python client nav_order: 5 --- +The OpenSearch high-level Python client (`opensearch-dsl-py`) will be deprecated after version 2.1.0. We recommend switching to the [Python client (`opensearch-py`)]({{site.url}}{{site.baseurl}}/clients/python-low-level/), which now includes the functionality of `opensearch-dsl-py`. +{: .warning} + # High-level Python client The OpenSearch high-level Python client (`opensearch-dsl-py`) provides wrapper classes for common OpenSearch entities, like documents, so you can work with them as Python objects. Additionally, the high-level client simplifies writing queries and supplies convenient Python methods for common OpenSearch operations. The high-level Python client supports creating and indexing documents, searching with and without filters, and updating documents using queries.