Skip to content

Commit db4844a

Browse files
authored
Release 8.11.0
1 parent 2a4030c commit db4844a

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

docs/guide/release-notes.asciidoc

+10
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[[release-notes]]
22
== Release notes
33

4+
* <<rn-8-11-0>>
45
* <<rn-8-10-1>>
56
* <<rn-8-10-0>>
67
* <<rn-8-9-0>>
@@ -31,6 +32,15 @@
3132
* <<rn-8-1-0>>
3233
* <<rn-8-0-0>>
3334

35+
[discrete]
36+
[[rn-8-11-0]]
37+
=== 8.11.0 (2023-11-13)
38+
39+
- Support Python 3.12
40+
- Removed deprecation warnings when using `body` parameter
41+
- Added missing `scores` parameter to create trained model vocabulary API
42+
- Added missing `delete_dest_index` parameter to delete transform API
43+
3444
[discrete]
3545
[[rn-8-10-1]]
3646
=== 8.10.1 (2023-10-13)

elasticsearch/helpers/actions.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ def _process_bulk_chunk_success(
262262
if not ok and raise_on_error and status_code not in ignore_status:
263263
# include original document source
264264
if len(data) > 1:
265-
item["data"] = data[1] # type: ignore[misc]
265+
item["data"] = data[1]
266266
errors.append({op_type: item})
267267

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

0 commit comments

Comments
 (0)