Closed nerdoc closed 3 months ago
Interesting. There is a word-wrap workaround implemented here, can you play around with that code and see if the issue resides there?
ok, give me some time, plenty of work ATM.
I'm assuming this is not a problem anymore. Certainly the current generated models don't have this kind of wrapping issue.
I just tried client-py on Arch linux (python 3.7 - I don't know what's the culprit...). The model output seems completely unreadable, because all the docstrings are "vertical" - the parser creates a wordwrap after each character, instead of after each 75 characters. This only breaks for the docstring, everything else seems to be ok.
I can only remove this behaviour if I remove the whole
|wordwrap(width=75)
part of the corresponding code lines here, line 18 and here, line 21 in the resource template.pip freeze:
I really don't know why this happens. Maybe it's a Jinja2 problem?