Files
opensearch-pyd/utils/templates/overrides/__init__/update
T
2020-05-26 08:23:21 -05:00

9 lines
342 B
Plaintext

{% extends "base" %}
{% block request %}
if doc_type in SKIP_IN_PATH:
path = _make_path(index, "_update", id)
else:
path = _make_path(index, doc_type, id, "_update")
return await self.transport.perform_request("{{ api.method }}", path, params=params, headers=headers, body=body)
{% endblock %}