Monkey patching seems to do the trick:
# Patch alias self_group kwargs
def patched_alias_self_group(self, target=None, **kwargs):
return original_alias_self_group(self, target=target)
original_alias_self_group = Alias.self_group
Alias.self_group = patched_alias_self_group
On Wednesday, 15
Was the underlying issue ever resolved?
Running into the same error here, but my query generation is automatic, so
taking it apart will take a little longer...
On Thursday, 17 November 2016 07:57:56 UTC-8, Mike Bayer wrote:
>
> Hi Darin -
>
> That's definitely a bug because all self_group()
that's not SQLAlchemy, you're using this:
https://github.com/aio-libs/aiopg/blob/master/aiopg/sa/result.py#L205
On 03/15/2017 04:13 AM, Christian Barra wrote:
Hello,
I am trying to fetch the result of a query after an insert.
SQLAlchemy 1.16 and PostgreSQL 9.6
This is the code:
On 03/15/2017 01:12 AM, Paul Brown wrote:
tl;dr: I'm looking for an elegant way to eager load related rows using
separate IN() queries, because MySQL is "Using temporary; Using
filesort" when I try subquery eager loading.
My first attempt used joined eager loading, but that was causing
Hello,
I am trying to fetch the result of a query after an insert.
SQLAlchemy 1.16 and PostgreSQL 9.6
This is the code:
engine = self.request.app['db']
async with engine.acquire() as conn:
query = models.User.insert().values(email=email, first_name=
first_name,