Skip to content

Commit

Permalink
Release 8.11.0
Browse files Browse the repository at this point in the history
  • Loading branch information
pquentin committed Nov 13, 2023
1 parent 2a4030c commit 5bb3bc7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
10 changes: 10 additions & 0 deletions docs/guide/release-notes.asciidoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[[release-notes]]
== Release notes

* <<rn-8-11-0>>
* <<rn-8-10-1>>
* <<rn-8-10-0>>
* <<rn-8-9-0>>
Expand Down Expand Up @@ -31,6 +32,15 @@
* <<rn-8-1-0>>
* <<rn-8-0-0>>

[discrete]
[[rn-8-11-0]]
=== 8.11.0 (2023-11-13)

- Support Python 3.12
- Removed deprecation warnings when using `body` parameter
- Added missing `scores` parameter to create trained model vocabulary API
- Added missing `delete_dest_index` parameter to delete transform API

[discrete]
[[rn-8-10-1]]
=== 8.10.1 (2023-10-13)
Expand Down
4 changes: 2 additions & 2 deletions elasticsearch/helpers/actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ def _process_bulk_chunk_success(
if not ok and raise_on_error and status_code not in ignore_status:
# include original document source
if len(data) > 1:
item["data"] = data[1] # type: ignore[misc]
item["data"] = data[1]
errors.append({op_type: item})

if ok or not errors:
Expand Down Expand Up @@ -299,7 +299,7 @@ def _process_bulk_chunk_error(
op_type, action = data[0].copy().popitem()
info = {"error": err_message, "status": error.status_code, "exception": error}
if op_type != "delete" and len(data) > 1:
info["data"] = data[1] # type: ignore[misc]
info["data"] = data[1]
info.update(action)
exc_errors.append({op_type: info})

Expand Down

0 comments on commit 5bb3bc7

Please sign in to comment.