Re: [sqlalchemy] Find whether a synonym points to a foreign key or a relationship (Looking for your blessing)

2011-02-28 Thread Hector Blanco
Thank you... Of course using all those descriptors for every attribute is a pretty java-esque Yeah... but you know... It's not easy getting rid of the past... And I'm pretty O.C.D, so I lve getters/setters... I'm opened to new experiences, though :-) Any hint, suggestion... whatever! you

Re: [sqlalchemy] Find whether a synonym points to a foreign key or a relationship (Looking for your blessing)

2011-02-27 Thread Hector Blanco
A few days ago I asked what appears in the body of the message, a few lines below. To summarize: Let's say I have a class User (yeah, to define users in my application) and each user can belong to one UserGroup (another class of my application). The User class would be something like: class

Re: [sqlalchemy] Find whether a synonym points to a foreign key or a relationship (Looking for your blessing)

2011-02-27 Thread Michael Bayer
On Feb 27, 2011, at 6:45 PM, Hector Blanco wrote: A few days ago I asked what appears in the body of the message, a few lines below. To summarize: Let's say I have a class User (yeah, to define users in my application) and each user can belong to one UserGroup (another class of my