If I have a DB structure similar to this:
class Parent(Base):
pass
class Child(Base):
parent = relation(Parent, backref='children')
and I have an instanced of Parent and want to figure out what the
class of instance.children is, how would I do that?
--
You received this message
On Sep 24, 2012, at 11:16 AM, John Anderson wrote:
If I have a DB structure similar to this:
class Parent(Base):
pass
class Child(Base):
parent = relation(Parent, backref='children')
and I have an instanced of Parent and want to figure out what the
class of instance.children