Re: [sqlalchemy] how to tell which columns are deferred in orm ?

2013-08-15 Thread Michael Bayer
you'd poke through column_attrs and look at the deferred flag. a good way to figure these things out is to pdb in and use dir(obj) to see what attributes it has, it's how i do it anyway when figuring out a lib... On Aug 14, 2013, at 10:51 PM, Jonathan Vanasco jvana...@gmail.com wrote: i'm

[sqlalchemy] how to tell which columns are deferred in orm ?

2013-08-14 Thread Jonathan Vanasco
i'm trying to generate a list of non-deffered columns from an object referencing this example: class Book(Base): __tablename__ = 'book' book_id = Column(Integer, primary_key=True) title = Column(String(200), nullable=False) summary = Column(String(2000))