[sqlalchemy] column_property and relationship

2012-01-18 Thread Ronan Dunklau
Hello. I'm having trouble mapping a relationship on a column_property. A similar problem has been reported in an old post on this mailing list, but with no answers: http://groups.google.com/group/sqlalchemy/browse_thread/thread/f7a13d9ca1494060/6fe890bb49c8dfa8#6fe890bb49c8dfa8 I have a column

Re: [sqlalchemy] column_property and relationship

2012-01-18 Thread Michael Bayer
On Jan 18, 2012, at 8:44 AM, Ronan Dunklau wrote: Hello. I'm having trouble mapping a relationship on a column_property. A similar problem has been reported in an old post on this mailing list, but with no answers:

[sqlalchemy] column_property or relationship

2011-05-19 Thread boothead
Hi, I have a declarative class that I'd like to be able to add an attribute to: (please ignore the eye burning capitals - it's an existing schema :-) ) class Schedule(Base): __tablename__ = SomeSchedule __table_args__ = ( dict(schema=Schedule, useexisting=True) ) def

Re: [sqlalchemy] column_property or relationship

2011-05-19 Thread Michael Bayer
this is a bug ticket http://www.sqlalchemy.org/trac/ticket/2169, ill have a fix committed in a few minutes. On May 19, 2011, at 5:20 AM, boothead wrote: Hi, I have a declarative class that I'd like to be able to add an attribute to: (please ignore the eye burning capitals - it's an

Re: [sqlalchemy] column_property or relationship

2011-05-19 Thread Michael Bayer
this issue is fixed, you can download the tip of 0.6 or 0.7 in the development versions section at: http://www.sqlalchemy.org/download.html On May 19, 2011, at 11:49 AM, Michael Bayer wrote: this is a bug ticket http://www.sqlalchemy.org/trac/ticket/2169, ill have a fix committed in a few

[sqlalchemy] column_property and relationship

2010-12-03 Thread Nagy Viktor
Hi, is it possible to define a relationship over a column property? the column property returns an id, and it would be nice to get the related object via a relationship easily. I've tried a couple of things, but the didn't work out, like: production_request_id = column_property(