Re: [sqlalchemy] Problem with Joined Table inheritance

2010-07-13 Thread Jules Stevenson
Thankyou all, makes sense. foolishly I was looking at the 5.8.0 docs which don;t include the example classes, but should have worked it out regardless. Thanks again, Jules On Tue, Jul 13, 2010 at 3:18 PM, Stefano Bartaletti wrote: >> class ArkWebVideoWidget(object): > > should be > >> class ArkW

Re: [sqlalchemy] Problem with Joined Table inheritance

2010-07-13 Thread Stefano Bartaletti
> class ArkWebVideoWidget(object): should be > class ArkWebVideoWidget(ArkWebWidget): -- Beauty is a pair of shoes that makes you wanna die -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalch...@googlegr

RE: [sqlalchemy] Problem with Joined Table inheritance

2010-07-13 Thread King Simon-NFHD78
> -Original Message- > From: sqlalchemy@googlegroups.com > [mailto:sqlalch...@googlegroups.com] On Behalf Of Jules Stevenson > Sent: 13 July 2010 15:01 > To: sqlalchemy@googlegroups.com > Subject: [sqlalchemy] Problem with Joined Table inheritance > > Apologies fo

[sqlalchemy] Problem with Joined Table inheritance

2010-07-13 Thread Jules Stevenson
Apologies for any stupidity, but I'm struggling with some joined table inheritance, I have the following code: widgets_table = sa.Table('web_widgets', meta.metadata, sa.Column('widget_id', sa.types.Integer, primary_key=True), sa.Column('title',sa.types.String(length=255)), sa.Column('w