Michael Bayer wrote:
__repr__() really annoys me because no matter what i do with it, people
tell me im using it incorrectly. technically, __repr__() is supposed
to return a string that when eval'ed would return the object instance.
which is not realistic for an object like Table since its
I need to implement an indexu-style category tree of arbitrary depth:
News Media (64)
Arts and Humanities, Automotive, Business
Recreation Sports (234)
Amusement and Theme Parks, Automotive, Aviation
Reference (32)
Acronyms and Abbreviations, Almanacs, Arts and Humanities
I have a versioned repository of SQL DDL that I'd like to convert to
versioned sqlalchemy models, using the Table(...,autoload=True)
feature.
I suspect it may be a lossy operation to do so, but in the interest of
table documentation, is there a way to render the Table.__repr__() with
for example