Broken ShardedSession.execute(query, shard_id=shard_id).

Issue #1072 resolved
Former user created an issue

After upgrading from 0.4.5 to 0.4.6

Session.execute(query, shard_id=shard_id),

where Session is ShardedSession, throws exception:

File '/var/lib/python-support/python2.5/sqlalchemy/orm/scoping.py',
line 98 in do
  return getattr(self.registry(), name)(*args, **kwargs)
TypeError: execute() got an unexpected keyword argument 'shard_id'

Comments (3)

  1. Mike Bayer repo owner

    fell under the radar..... task here is to add an execute() method to ShardedSession in both 0.5 and 0.4.

  2. Log in to comment