Remove underscores in keys in description, to allow hunting underscores in values

This commit is contained in:
Vincent Jacques
2012-05-08 07:26:46 +01:00
parent 90ff8697b7
commit c01d36a64e
8 changed files with 1534 additions and 1534 deletions
@@ -1,13 +1,13 @@
{% if method.request.post_parameters %}
{% if method.variadic_parameter %}
post_parameters = {{ method.variadic_parameter.name }}s
{% if method.request.postParameters %}
{% if method.variadicParameter %}
post_parameters = {{ method.variadicParameter.name }}s
{% else %}
post_parameters = {
{% for parameter in method.mandatory_parameters %}
{% for parameter in method.mandatoryParameters %}
"{{ parameter.name }}": {{ parameter.name }},
{% endfor %}
}
{% for parameter in method.optional_parameters %}
{% for parameter in method.optionalParameters %}
if {{ parameter.name }} is not DefaultValueForOptionalParameters:
post_parameters[ "{{ parameter.name }}" ] = {{ parameter.name }}
{% endfor %}
@@ -30,7 +30,7 @@
{% else %}
None,
{% endif %}
{% if method.request.post_parameters %}
{% if method.request.postParameters %}
post_parameters
{% else %}
None