Skip to content

Commit 0f16057

Browse files
committed
chore: add another space
1 parent 5aafbbe commit 0f16057

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

templates/python/package/services/service.py.twig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ class {{ service.name | caseUcfirst }}(Service):
3131
def {{ method.name | caseSnake }}(self{% if method.parameters.all|length > 0 %}, {% endif %}{% for parameter in method.parameters.all %}{{ parameter.name | escapeKeyword | caseSnake }}: {{ parameter | getPropertyType(method) | raw }}{% if not parameter.required %} = None{% endif %}{% if not loop.last %}, {% endif %}{% endfor %}{% if 'multipart/form-data' in method.consumes %}, on_progress = None{% endif %}) -> {% if method.type == 'webAuth' %}str{% else %}Dict[str, Any]{% endif %}:
3232
"""
3333
{% autoescape false %}{{ method.description | replace({"\n": "\n "}) }}{% endautoescape %}
34+
3435
{% if method.parameters.all|length > 0 or 'multipart/form-data' in method.consumes %}
3536

3637
Parameters

0 commit comments

Comments
 (0)