Skip to content

Commit

Permalink
Add documentation for script as a dict in update
Browse files Browse the repository at this point in the history
  • Loading branch information
haynesgt committed May 4, 2022
1 parent 4cc3871 commit 5fab077
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions elasticsearch_dsl/document.py
Original file line number Diff line number Diff line change
Expand Up @@ -373,8 +373,11 @@ def update(
:arg doc_as_upsert: Instead of sending a partial doc plus an upsert
doc, setting doc_as_upsert to true will use the contents of doc as
the upsert value
:arg script: Either the source code of the script or the actual dict
assigned to the ``script`` field in the update
:arg return_doc_meta: set to ``True`` to return all metadata from the
index API call instead of only the operation result
:arg fields: params for the script
:return operation result noop/updated
"""
Expand Down

0 comments on commit 5fab077

Please sign in to comment.