simpler arg parsing

This commit is contained in:
Honza Král
2019-12-22 16:32:49 +01:00
committed by Honza Král
parent b6cb75f46a
commit b4e6effc9c
3 changed files with 10 additions and 9 deletions
+2 -2
View File
@@ -2,8 +2,8 @@
{% if info.required %}{{ p }}, {% endif %}
{% endfor %}
{% if api.body.body %}
body{% if not api.body.body.required %}=None{% endif %},
{% if api.body %}
body{% if not api.body.required %}=None{% endif %},
{% endif %}
{% for p, info in api.all_parts.items() %}