We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
elasticsearch_dsl==7.4.0
The script param is assumed to be a string here:
elasticsearch-dsl-py/elasticsearch_dsl/document.py
Line 391 in c089a40
but there is no way to set the language of the script.
It would be more intuitive if it set body["script"] = script if the script param were a dict.
body["script"] = script