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
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().
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,
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