[sqlalchemy] Re: Surfacing table and column-level comments to Python classes as docstrings

2009-03-07 Thread Michael Bayer
On Mar 6, 2009, at 10:37 PM, phrrn...@googlemail.com wrote: I have some metadata on table and some of the columns and would like to surface these as docstrings on the mapped class and columns. If table foo has columns i, j, k with comments 'apple', 'banana', 'pear', respectively, and the

[sqlalchemy] Re: Surfacing table and column-level comments to Python classes as docstrings

2009-03-07 Thread phrrn...@googlemail.com
This is beautiful and exactly what I want. Thanks very much. pjjH On Mar 7, 12:08 pm, Michael Bayer mike...@zzzcomputing.com wrote: On Mar 6, 2009, at 10:37 PM, phrrn...@googlemail.com wrote: I have some metadata on table and some of the columns and would like to surface these as