[sqlalchemy] Re: Determining types of joined attributes

2007-12-09 Thread Brendan Arnold
Ah I see, sorry, what I meant to ask was if there was a way to tell the difference with _instances_ of orm objects brendan On Dec 8, 2007 7:32 PM, Michael Bayer [EMAIL PROTECTED] wrote: On Dec 8, 2007, at 2:09 PM, Brendan Arnold wrote: hmm strange, i tried this out with sqlalchemy

[sqlalchemy] Re: Determining types of joined attributes

2007-12-09 Thread Michael Bayer
On Dec 9, 2007, at 10:10 AM, Brendan Arnold wrote: Ah I see, sorry, what I meant to ask was if there was a way to tell the difference with _instances_ of orm objects youd call object_mapper(instance) and then do the same thing using mapper.get_property().

[sqlalchemy] Re: Determining types of joined attributes

2007-12-08 Thread Brendan Arnold
hmm strange, i tried this out with sqlalchemy version 0.4.1 but it does not seem to work... s.name u'HALN01100601' isinstance(s.name, sqlalchemy.orm.PropertyLoader) False s.targets [tcd_sample_database.model.samples.Target object at 0xb608dcac] isinstance(s.targets,

[sqlalchemy] Re: Determining types of joined attributes

2007-12-08 Thread Michael Bayer
On Dec 8, 2007, at 2:09 PM, Brendan Arnold wrote: hmm strange, i tried this out with sqlalchemy version 0.4.1 but it does not seem to work... s.name u'HALN01100601' isinstance(s.name, sqlalchemy.orm.PropertyLoader) False s.targets [tcd_sample_database.model.samples.Target object at