Re: [sqlalchemy] Association proxy info property (or lack thereof)

2014-02-24 Thread Josh Kuhn
Thanks for the reply! I'll add the info property. Glad to see I wasn't going about this completely the wrong way On Sun, Feb 23, 2014 at 1:16 PM, Michael Bayer mike...@zzzcomputing.comwrote: On Feb 23, 2014, at 12:59 AM, Josh Kuhn deontologic...@gmail.com wrote: I'm writing some code to

Re: [sqlalchemy] Association proxy info property (or lack thereof)

2014-02-23 Thread Michael Bayer
On Feb 23, 2014, at 12:59 AM, Josh Kuhn deontologic...@gmail.com wrote: I'm writing some code to serialize some SA models to JSON, and for columns and relationships, it's convenient to tag which fields should be serialized with the info dictionary like so: class Thing(Base): id =

[sqlalchemy] Association proxy info property (or lack thereof)

2014-02-22 Thread Josh Kuhn
I'm writing some code to serialize some SA models to JSON, and for columns and relationships, it's convenient to tag which fields should be serialized with the info dictionary like so: class Thing(Base): id = Column(Integer, primary_key=True, info={'jsonify': False}) name = Column(String,