Skip to content

Commit df8e556

Browse files
committed
Add _bulk_body() to base template, standardize docs spacing
1 parent 43b8759 commit df8e556

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

utils/templates/base

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
{% for p, info in api.params %}
1414
{% filter wordwrap(72, wrapstring="\n ") %}
15-
:arg {{ p }}: {{ info.description }} {% if info.options %}Valid choices: {{ info.options|join(", ") }}{% endif %} {% if info.default %}Default: {{ info.default }}{% endif %}
15+
:arg {{ p }}: {{ info.description }} {% if info.options %} Valid choices: {{ info.options|join(", ") }}{% endif %} {% if info.default %} Default: {{ info.default }}{% endif %}
1616
{% endfilter %}
1717

1818
{% endfor %}
@@ -21,7 +21,7 @@
2121
{% include "substitutions" %}
2222
{% include "required" %}
2323
{% if api.body.serialize == "bulk" %}
24-
body = self._bulk_body(body)
24+
body = _bulk_body(self.transport.serializer, body)
2525
{% endif %}
2626
{% block request %}
2727
return self.transport.perform_request("{{ api.method }}", {% include "url" %}, params=params{% if api.body %}, body=body{% endif %})

0 commit comments

Comments
 (0)