[sqlalchemy] Exception instead of warning when uselist=False returns more than one

2011-04-18 Thread Kent
For relations that aren't fully normalized, you occasionally need uselist=False to specify one to one relationships (and maybe other reasons). Currently these issue warnings like Multiple rows returned with uselist=False for lazily-loaded attribute Would you be in favor of a setting which

Re: [sqlalchemy] Exception instead of warning when uselist=False returns more than one

2011-04-18 Thread Michael Bayer
On Apr 18, 2011, at 1:30 PM, Kent wrote: For relations that aren't fully normalized, you occasionally need uselist=False to specify one to one relationships (and maybe other reasons). Currently these issue warnings like Multiple rows returned with uselist=False for lazily-loaded