Skip to content

Commit

Permalink
Explain how to disable warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
pquentin committed Nov 13, 2024
1 parent 61c1bb5 commit ed393b9
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions docs/guide/release-notes.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,15 @@
* Add `include_remotes` and remove `flat_settings` from Cluster stats API
* Add `remote_indices` to Create or update application privileges and Create or update roles APIs

Note that the new Python warnings can be disabled as follows:

[source,python]
----
import warnings
from elasticsearch.exceptions import GeneralAvailabilityWarning

warnings.filterwarnings("ignore", category=GeneralAvailabilityWarning)
----

[discrete]
[[rn-8-15-1]]
Expand All @@ -77,8 +83,6 @@
- Add `q` parameter to Update by Query API
- Add `allow_no_indices` and `ignore_unavailable` parameters to Resolve index API



[discrete]
[[rn-8-15-0]]
=== 8.15.0 (2024-08-09)
Expand Down

0 comments on commit ed393b9

Please sign in to comment.