Commit b111ab8
authored
[Python] Bugfix in model.mustache (#12630)
Before bugfix: a required and nullable attribute set to null/None causes a value error when received by the client.
After bugfix: This error is only caused for properties being required and not nullable
General info: The python client cannot distinguish between unset attributes (value=None) and attributes set to null (value=None)
Authored-by: MalteEbner <[email protected]>1 parent 596bd1a commit b111ab8
File tree
1 file changed
+2
-0
lines changed- modules/swagger-codegen/src/main/resources/python
1 file changed
+2
-0
lines changedLines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
| 102 | + | |
102 | 103 | | |
103 | 104 | | |
| 105 | + | |
104 | 106 | | |
105 | 107 | | |
106 | 108 | | |
| |||
0 commit comments