[sqlalchemy] Filter expression in an association proxy?

2013-01-03 Thread Chuck Bearden
Python 2.7.2 SQLAlchemy 0.8.0b2 Ubuntu 11.10 Consider the script below. The idea is that I have a medical record, and I want to store diagnoses of two kinds: referring diagnoses and post-evaluation diagnoses. I want to store them in a single table (this constraint is given by the project I

Re: [sqlalchemy] Filter expression in an association proxy?

2013-01-03 Thread Michael Bayer
On Jan 3, 2013, at 4:01 PM, Chuck Bearden wrote: Python 2.7.2 SQLAlchemy 0.8.0b2 Ubuntu 11.10 Consider the script below. The idea is that I have a medical record, and I want to store diagnoses of two kinds: referring diagnoses and post-evaluation diagnoses. I want to store them in a

Re: [sqlalchemy] Filter expression in an association proxy?

2013-01-03 Thread Chuck Bearden
On Thursday, January 3, 2013 3:13:58 PM UTC-6, Michael Bayer wrote: On Jan 3, 2013, at 4:01 PM, Chuck Bearden wrote: Python 2.7.2 SQLAlchemy 0.8.0b2 Ubuntu 11.10 Consider the script below. The idea is that I have a medical record, and I want to store diagnoses of two kinds: referring