Skip to content

Commit c5455b6

Browse files
Auto-generated API code
1 parent 4a02249 commit c5455b6

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

Diff for: elasticsearch/_async/client/synonyms.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,9 @@ async def put_synonym(
262262
self,
263263
*,
264264
id: str,
265-
synonyms_set: t.Optional[t.Sequence[t.Mapping[str, t.Any]]] = None,
265+
synonyms_set: t.Optional[
266+
t.Union[t.Mapping[str, t.Any], t.Sequence[t.Mapping[str, t.Any]]]
267+
] = None,
266268
error_trace: t.Optional[bool] = None,
267269
filter_path: t.Optional[t.Union[str, t.Sequence[str]]] = None,
268270
human: t.Optional[bool] = None,

Diff for: elasticsearch/_sync/client/synonyms.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,9 @@ def put_synonym(
262262
self,
263263
*,
264264
id: str,
265-
synonyms_set: t.Optional[t.Sequence[t.Mapping[str, t.Any]]] = None,
265+
synonyms_set: t.Optional[
266+
t.Union[t.Mapping[str, t.Any], t.Sequence[t.Mapping[str, t.Any]]]
267+
] = None,
266268
error_trace: t.Optional[bool] = None,
267269
filter_path: t.Optional[t.Union[str, t.Sequence[str]]] = None,
268270
human: t.Optional[bool] = None,

0 commit comments

Comments
 (0)