2019-12-22 15:22:19 +01:00
|
|
|
{% for p, info in api.all_parts.items() %}
|
|
|
|
|
{% if info.required %}{{ p }}, {% endif %}
|
|
|
|
|
{% endfor %}
|
|
|
|
|
|
2019-12-22 15:35:00 +01:00
|
|
|
{% if api.body %}
|
|
|
|
|
body{% if not api.body.required %}=None{% endif %},
|
2019-12-22 15:22:19 +01:00
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
|
|
{% for p, info in api.all_parts.items() %}
|
|
|
|
|
{% if not info.required %}{{ p }}=None, {% endif %}
|
|
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
|
|
params=None
|