[sqlalchemy] Re: subclassing Table

2008-07-17 Thread Michael Bayer
On Jul 16, 2008, at 4:43 PM, Tamas wrote: Hi, I am not a professional coder; hobby-like thing. I would like to encapsulate my table definitions in a new class: class MyTable( Table): def __init__( self, metadata): Table.__init__( self, my_table_name, metadata, col1, col2...)

[sqlalchemy] Re: subclassing Table

2008-07-17 Thread Tamas Hegedus
Thanks a lot! I think your suggestion will be ok for me for now. Have a good day, tamas On Thu, Jul 17, 2008 at 9:55 AM, Michael Bayer [EMAIL PROTECTED] wrote: On Jul 16, 2008, at 4:43 PM, Tamas wrote: Hi, I am not a professional coder; hobby-like thing. I would like to encapsulate