We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c712a5 commit a304b28Copy full SHA for a304b28
modules/swagger-codegen/src/main/resources/python/model.mustache
@@ -99,8 +99,10 @@ class {{classname}}(object):
99
:type: {{datatype}}
100
"""
101
{{#required}}
102
+{{^nullable}}
103
if self._configuration.client_side_validation and {{name}} is None:
104
raise ValueError("Invalid value for `{{name}}`, must not be `None`") # noqa: E501
105
+{{/nullable}}
106
{{/required}}
107
{{#isEnum}}
108
{{#isContainer}}
0 commit comments