Add _bulk_body() to base template, standardize docs spacing

This commit is contained in:
Seth Michael Larson
2020-02-21 16:49:15 -06:00
committed by Seth Michael Larson
parent 43b87598fd
commit df8e556a1c
+1 -1
View File
@@ -21,7 +21,7 @@
{% include "substitutions" %}
{% include "required" %}
{% if api.body.serialize == "bulk" %}
body = self._bulk_body(body)
body = _bulk_body(self.transport.serializer, body)
{% endif %}
{% block request %}
return self.transport.perform_request("{{ api.method }}", {% include "url" %}, params=params{% if api.body %}, body=body{% endif %})