[sqlalchemy] Re: problem with relationships with a postgres schema using declarative mapping

2010-08-26 Thread Nigel
added to it without necessarily having the relational objects for the entity table around. Its relationship with the Entity object is simply to ask what the upstream and downstream dependencies are. Maybe the association object pattern is the way to go with it. thanks, nigel On Aug 25, 6:12 pm

[sqlalchemy] problem with relationships with a postgres schema using declarative mapping

2010-08-25 Thread Nigel
Hi all, I'm having some trouble with using a schema with a many-to-many declarative mapping. The error i'm getting is as follows: sqlalchemy.exc.InvalidRequestError: One or more mappers failed to compile. Exception was probably suppressed within a hasattr() call. Message was: One or more

[sqlalchemy] Re: problem with relationships with a postgres schema using declarative mapping

2010-08-25 Thread Nigel
the declarative method? Would it be normal to create the mapping for that table after it has been created in order to get a relational object? Thanks again, nigel On Aug 25, 4:20 pm, Michael Bayer mike...@zzzcomputing.com wrote: On Aug 25, 2010, at 4:57 PM, Nigel wrote: Hi all, I'm