Re: [sqlalchemy] Docstring recommendations for SQLalchemy models?

2021-01-25 Thread Samuel Marks
Thanks for your insights, will take them aboard, and I'll update here when an alpha is ready SAMUEL MARKS Sydney Medical School | Westmead Institute for Medical Research | https://linkedin.com/in/samuelmarks Director | Offscale.io | Sydney Scientific Pty Ltd THE UNIVERSITY OF SYDNEY On Tue, 26

Re: [sqlalchemy] Docstring recommendations for SQLalchemy models?

2021-01-24 Thread Samuel Marks
of VARCHAR(20). With the exception of this however, everything else should be standard, and it should be easy for any developer to jump in and develop following best-practices in their chosen language(s) and framework(s). Any further tips here would be appreciated. Samuel Marks Charity <ht

Re: [sqlalchemy] Docstring recommendations for SQLalchemy models?

2021-01-24 Thread Samuel Marks
. The idea with the generated code is that it needs to be human maintainable, as well as machine maintainable. (all my code generators go both ways, so you can edit the generated [cli] code and generate [class] code from it, and edit the [class] code and generate [cli] code from it) Samuel Marks

Re: [sqlalchemy] Docstring recommendations for SQLalchemy models?

2021-01-24 Thread Samuel Marks
these SQLalchemy models, then I'll need a clean, consistent way of documenting each model. What is that way? Samuel Marks Charity <https://sydneyscientific.org> | consultancy <https://offscale.io> | open-source <https://github.com/offscale> | LinkedIn <https://linkedin.com/in/samuelma

Re: [sqlalchemy] Docstring recommendations for SQLalchemy models?

2021-01-23 Thread Samuel Marks
Would be great to have some insight here. If I'm going to start generating to/fro SQLalchemy models, then I need to get the column descriptions right Samuel Marks Charity <https://sydneyscientific.org> | consultancy <https://offscale.io> | open-source <https://github.com/offsc

[sqlalchemy] Docstring recommendations for SQLalchemy models?

2020-07-28 Thread Samuel Marks
I have created a little tool—at the AST level—to translate between docstrings, methods, classes, and argparse. https://github.com/SamuelMarks/doctrans Now looking at adding SQLalchemy support. Using the mock I've