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