Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 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,14 @@
* <<rn-8-1-0>>
* <<rn-8-0-0>>

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

- Support Python 3.12
- 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