Skip to content

Commit

Permalink
Revert "Fix Python class member comment placement (#2443)"
Browse files Browse the repository at this point in the history
This reverts commit 958d199.
  • Loading branch information
dvdsgl committed Feb 13, 2024
1 parent 8935d6e commit c56b717
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/quicktype-core/src/language/Python.ts
Original file line number Diff line number Diff line change
Expand Up @@ -461,8 +461,8 @@ export class PythonRenderer extends ConvenienceRenderer {
this.emitLine("pass");
} else {
this.forEachClassProperty(t, "none", (name, jsonName, cp) => {
this.emitLine(name, this.typeHint(": ", this.pythonType(cp.type, true)));
this.emitDescription(this.descriptionForClassProperty(t, jsonName));
this.emitLine(name, this.typeHint(": ", this.pythonType(cp.type, true)));
});
}
this.ensureBlankLine();
Expand Down

0 comments on commit c56b717

Please sign in to comment.