10 lines
252 B
Plaintext
10 lines
252 B
Plaintext
{% extends "base" %}
|
|
{% block request %}
|
|
if doc_type is None:
|
|
doc_type = "_doc"
|
|
|
|
|
|
return self.transport.perform_request("POST" if id in SKIP_IN_PATH else "PUT", {% include "url" %}, params=params, body=body)
|
|
{% endblock %}
|
|
|