Skip to content

Commit 15b2c5d

Browse files
committed
fix: jinja comment breaking whitespace
1 parent d40491e commit 15b2c5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openapi_python_client/templates/endpoint_module.py.jinja

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def _get_kwargs(
5757
{% set body = endpoint.bodies[0] %}
5858
{{ body_to_kwarg(body, "_body") | indent(4) }}
5959
_kwargs["{{ body.body_type.value }}"] = _body
60-
{% if body.content_type != "multipart/form-data" %} {# Need httpx to set the boundary automatically #}
60+
{% if body.content_type != "multipart/form-data" %}{# Need httpx to set the boundary automatically #}
6161
headers["Content-Type"] = "{{ body.content_type }}"
6262
{% endif %}
6363
{% endif %}

0 commit comments

Comments
 (0)