quicktype-core 23.0.69 → 23.0.70

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -335,7 +335,7 @@ class PythonRenderer extends ConvenienceRenderer_1.ConvenienceRenderer {
335
335
  sortClassProperties(properties, propertyNames) {
336
336
  if (this.pyOptions.features.dataClasses) {
337
337
  return (0, collection_utils_1.mapSortBy)(properties, (p) => {
338
- return ((p.type instanceof Type_1.UnionType && (0, TypeUtils_1.nullableFromUnion)(p.type) != null) || p.isOptional) ? 1 : 0;
338
+ return (p.type instanceof Type_1.UnionType && (0, TypeUtils_1.nullableFromUnion)(p.type) != null) || p.isOptional ? 1 : 0;
339
339
  });
340
340
  }
341
341
  else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "quicktype-core",
3
- "version": "23.0.69",
3
+ "version": "23.0.70",
4
4
  "description": "The quicktype engine as a library",
5
5
  "license": "Apache-2.0",
6
6
  "main": "dist/index.js",