mirror of
https://github.com/status-im/PyGithub.git
synced 2026-09-01 19:31:10 +00:00
Allow None as a valid value for an optional parameter (fix testEditOrganization)
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
{% endfor %}
|
||||
}
|
||||
{% for parameter in method.optional_parameters %}
|
||||
if {{ parameter.name }} is not None:
|
||||
if {{ parameter.name }} is not DefaultValueForOptionalParameters:
|
||||
post_parameters[ "{{ parameter.name }}" ] = {{ parameter.name }}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user