Re: [sqlalchemy] Error with polymorphic selectin and adding item to session.info: 'expanding' parameters can't be used with an empty list

2018-03-05 Thread Mike Bayer
hi Damon - this week preferably tomorrow - mike On Mon, Mar 5, 2018 at 1:50 PM, wrote: > Hey Mike, > > Noticed 1.2.5 doesn't have a release date yet on > http://docs.sqlalchemy.org/en/latest/changelog/changelog_12.html#change-1.2.2. > Was wondering if that could be

Re: [sqlalchemy] Error with polymorphic selectin and adding item to session.info: 'expanding' parameters can't be used with an empty list

2018-03-05 Thread damon
Hey Mike, Noticed 1.2.5 doesn't have a release date yet on http://docs.sqlalchemy.org/en/latest/changelog/changelog_12.html#change-1.2.2. Was wondering if that could be released sometime soon - we're blocked from switching over until it's released. Damon On Friday, February 23, 2018 at

Re: [sqlalchemy] Error with polymorphic selectin and adding item to session.info: 'expanding' parameters can't be used with an empty list

2018-02-23 Thread damon
Awesome, thanks Mike! Looking forward to the release. Damon On Friday, February 23, 2018 at 11:20:33 AM UTC-8, Mike Bayer wrote: > > On Fri, Feb 23, 2018 at 1:38 PM, Mike Bayer > wrote: > > *perfect* test case, I'll get a bug report up and can fix this quickly, >

Re: [sqlalchemy] Error with polymorphic selectin and adding item to session.info: 'expanding' parameters can't be used with an empty list

2018-02-23 Thread Mike Bayer
On Fri, Feb 23, 2018 at 1:38 PM, Mike Bayer wrote: > *perfect* test case, I'll get a bug report up and can fix this quickly, > thanks! here's the issue: https://bitbucket.org/zzzeek/sqlalchemy/issues/4199/selectin-polymorphic-hitting-expanding-in here's the patch:

Re: [sqlalchemy] Error with polymorphic selectin and adding item to session.info: 'expanding' parameters can't be used with an empty list

2018-02-23 Thread Mike Bayer
*perfect* test case, I'll get a bug report up and can fix this quickly, thanks! On Fri, Feb 23, 2018 at 1:26 PM, Damon Doucet wrote: > Hey all, > > Loving the new selectin stuff. I think we've hit a bug with > polymorphic_load=selectin. I've posted a small repro at the

[sqlalchemy] Error with polymorphic selectin and adding item to session.info: 'expanding' parameters can't be used with an empty list

2018-02-23 Thread Damon Doucet
Hey all, Loving the new selectin stuff. I think we've hit a bug with polymorphic_load=selectin. I've posted a small repro at the bottom. The crash we're seeing is: sqlalchemy.exc.StatementError: (sqlalchemy.exc.InvalidRequestError) 'expanding' parameters can't be used with an empty list [SQL: